ruby on rails - cannot load such file -- rubygems.rb -


ok, drives me crazy! try run ruby / rails.

    macbook-pro-2:library me$ rvm list     rvm rubies        ruby-1.9.3-p194 [ x86_64 ]        ruby-2.1.0 [ x86_64 ]     # => - current     # =* - current && default     #  * - default     macbook-pro-2:library me$ rvm use 2.1.0     using /usr/local/rvm/gems/ruby-2.1.0     <internal:gem_prelude>:1:in `require': cannot load such file -- rubygems.rb    (loaderror) <internal:gem_prelude>:1:in `<compiled>'     macbook-pro-2:library me$gem list    <internal:gem_prelude>:1:in `require': cannot load such file -- rubygems.rb (loaderror)    <internal:gem_prelude>:1:in `<compiled>' 

i provide information solve problem. wrong? can't find solution far.

i recommend uninstalling ruby-2.1.0 , reinstalling seems current installation corrupted.

rvm uninstall 2.1.0 rvm install 2.1.0 

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? -