ruby on rails - can I undo $rvm gemset use global? -


i cannot rails console anymore after issuing in (osx) terminal:

$gem install pry pry-doc $rvm gemset use global $gem install pry pry-doc 

i following along http://railscasts.com/episodes/280-pry-with-rails?view=asciicast pry tutorial of railscasts.

my actual error when typing $rails console:

rails console /users/johncurry/.rvm/rubies/ruby-2.0.0-p247/lib/ruby/site_ruby/2.0.0/rubygems/dependency.rb:298:in `to_specs': not find 'railties' (>= 0) among 15 total gem(s) (gem::loaderror) 

but in honesty, since seemed work fine (with exception of pry in particular project) undo command. possible??

after 3 commands, things seem broken in multiple projects.

type

$ rvm gemset list 

to see gemsets, type:

$rvm gemset use <insert gemset name here> 

you must have switched different gemset doesn't have required gems. might need $bundle install


Comments

Popular posts from this blog

php - SPIP: From Tag directly to an article -

jquery - isAjaxRequest always return false -

ruby on rails - In a controller spec, how to find a specific tag in the generated view? -