Skip to content

Instantly share code, notes, and snippets.

@jfreeze
Created September 8, 2011 23:22
Show Gist options
  • Save jfreeze/1205076 to your computer and use it in GitHub Desktop.
Save jfreeze/1205076 to your computer and use it in GitHub Desktop.
RVM 'use' issue
[~]# rvm list
rvm rubies
ruby-1.9.2-p290 [ i386 ]
ruby-1.8.7-p352 [ i386 ]
[~]# rvm use 1.9.2
Using /usr/local/rvm/gems/ruby-1.9.2-p290
[~]# rvm gemset create runtime
ERROR: Missing RVM environment file: '/usr/local/rvm/environments/ruby-1.9.2-head'
ERROR: Can not create gemset before using a ruby. Try 'rvm use <some ruby>'.
[~]# rvm use ruby-1.9.2-p290
Using /usr/local/rvm/gems/ruby-1.9.2-p290
[~]# rvm gemset create runtime
ERROR: Missing RVM environment file: '/usr/local/rvm/environments/ruby-1.9.2-head'
ERROR: Can not create gemset before using a ruby. Try 'rvm use <some ruby>'.
@jfreeze
Copy link
Author

jfreeze commented Sep 8, 2011

[~]# rvm info
ERROR: Missing RVM environment file: '/usr/local/rvm/environments/ruby-1.9.2-head'

system:

system:
uname: "Linux PractiSafe-SR 2.6.37.5.RNx86_64.2.1 #1 SMP Tue Mar 29 16:38:58 PDT 2011 x86_64 GNU/Linux"
bash: "/bin/bash => GNU bash, version 3.1.17(1)-release (i486-pc-linux-gnu)"
zsh: " => not installed"

rvm:
version: "rvm 1.8.2 by Wayne E. Seguin (wayneeseguin@gmail.com) [https://rvm.beginrescueend.com/]"

homes:
gem: "not set"
ruby: "not set"

binaries:
ruby: "/usr/local/bin/ruby"
irb: "/usr/local/bin/irb"
gem: "/usr/local/bin/gem"
rake: "/usr/local/bin/rake"

environment:
PATH: "/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/root/cbd/bin:/usr/local/rvm/bin:/usr/local/rvm/bin"
GEM_HOME: ""
GEM_PATH: ""
MY_RUBY_HOME: ""
IRBRC: ""
RUBYOPT: ""
gemset: ""

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment