Ubuntu rvm 1.10.1罐和x27;t将gemset设置为默认值
我有三颗宝石Ubuntu rvm 1.10.1罐和x27;t将gemset设置为默认值,ubuntu,rvm,Ubuntu,Rvm,我有三颗宝石 $rvm gemset list gemsets for ruby-1.9.2-p290 (found in /home/railsu/.rvm/gems/ruby-1.9.2-p290) global rails31 rails311 然后我就跑 $rvm use 1.9.2@rails311 --default Using /home/railsu/.rvm/gems/ruby-1.9.2-p290 with gemset rails311 $rv
$rvm gemset list
gemsets for ruby-1.9.2-p290 (found in /home/railsu/.rvm/gems/ruby-1.9.2-p290)
global
rails31
rails311
然后我就跑
$rvm use 1.9.2@rails311 --default
Using /home/railsu/.rvm/gems/ruby-1.9.2-p290 with gemset rails311
$rvm current
ruby-1.9.2-p290@rails311
$rails -v
rails 3.1.1
看起来不错,但是:
$rvm default
$rvm current
ruby-1.9.2-p290
默认情况下没有rails311 gemset。
我在另一个用户身上尝试了这个,rvm的版本是1.8.6,它可以工作。我得到了
$rvm default
$rvm current
ruby-1.9.2-p290@rails311
有什么问题吗?好的,我知道答案了。当我安装rvm时
bash -s stable < <(curl -s https://raw.github.com/wayneeseguin/rvm/master/binscripts/rvm-installer)
bash-s稳定<
bash < <(curl -s https://raw.github.com/wayneeseguin/rvm/master/binscripts/rvm-installer)