Rails 3 / Bundler gem: 'undefined method `setup' for Bundler:Module (NoMethodError)'
-
24-09-2019 - |
Question
It can be traced back to config/boot.rb, line 7:
require 'rubygems'
require 'bundler'
Bundler.setup
This is with Bundler 0.8.1 supposedly installed:
../Users/ashley$ sudo gem install bundler
Successfully installed bundler-0.8.1
1 gem installed
Installing ri documentation for bundler-0.8.1...
Installing RDoc documentation for bundler-0.8.1...
Everything I've done has followed this guide. Anyone have any clue what's wrong?
Thanks :)
Solution
Try gem install bundler --prerelease
OTHER TIPS
ursm is right. Make sure you have old bundlers removed as well.
Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow