when I uninstalled bundler 1.6.2 to use 1.0.0 rails crashed. I tried this command:
gem uninstall -i /home/mayukh/.rvm/gems/ruby-1.9.2-p320@global bundler -v=1.6.2
Please note, I have uninstalled this globally
Now, when I run rails -v
or rails s
it shows error like this:
<internal:lib/rubygems/custom_require>:29:in `require': no such file to load -- rails/cli (LoadError)
from <internal:lib/rubygems/custom_require>:29:in `require'
from /usr/bin/rails:7:in `<main>'
My ruby version is ruby 1.9.2p320 (2012-04-20 revision 35421) [x86_64-linux]
- Is it the right way to use/uninstall bundler? or is there any way to switch between bundlers?
- How to fix this issue and run rails again?