我安装红宝石1.9.3-preview1发挥出色,通过下面的步骤来更新我的RVM后:然后我创建了一个RVM似乎并不红宝石-1.9.3-preview1
» rvm get head
» rvm reload
» rvm install ruby-1.9.3-preview1
宝石为我的项目设置,并尝试使用它。
» rvm --create [email protected]
» rvm use [email protected]
我测试出来的:
» ruby -v
ruby 1.9.3dev (2011-07-31 revision 32789) [x86_64-darwin11.1.0]
但后来当我尝试使用它:
» bundle exec rails server
/Users/<home>/.rvm/gems/[email protected]/gems/activesupport-3.0.7/lib/active_support/dependencies.rb:239:in `block in require': iconv will be deprecated in the future, use String#encode instead.
=> Booting WEBrick
它似乎仍然使用Ruby的旧版本。有没有其他人面对这个问题,或者我做错了什么?
编辑
我本来打算安装最新的Ruby-1.9.3-RC1。我转而使用它,按照上面的相同步骤,仍然有相同的问题。