简体   繁体   中英

Bundler issues in installing rails on ubuntu

I have installed ruby 1.9.3 using rvm and after doing gem install rails, it says gem successfully downloaded, but when I type rails -v it gives me the following error: Unable to activate rails-3.0.1, because bundler-1.5.1 conflicts with bundler (~> 1.0.0) (Gem::LoadError)

How do I fix this?

do this:

rvm @global do gem uninstall bundler -ax
gem install bundler -v '~>1.0.0'

this will remove the globally installed bundler (available for all gemsets on this ruby) and install compatible local version only for current gemset.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM