Reputation: 3764
I am using ruby 1.9.3 and rails version 3.0.0. and i have bundler version 1.2.3. but while running bundle install its showing "This Gemfile requires a different version of Bundler".. I am trying to uninstall this 1.2.3 but its showing "INFO: gem "bundler" is not installed". Please help me to solve this problem..
Upvotes: 1
Views: 2070
Reputation: 1815
Try the following.
type $ gem list | grep bundler # it will list all the bundler version
then $ rvmsudo gem uninstall bundler # it will list all the version to uninstall. we have to choose all versions.
thats it. Then we can install our required version as follows.
rvmsudo gem install bundler -v=1.0.21
Upvotes: 1