Ashley Williams
Ashley Williams

Reputation: 6840

Rails 3 / Bundler gem: 'undefined method `setup' for Bundler:Module (NoMethodError)'

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 :)

Upvotes: 7

Views: 5551

Answers (2)

Jack Dempsey
Jack Dempsey

Reputation: 2044

ursm is right. Make sure you have old bundlers removed as well.

Upvotes: 2

ursm
ursm

Reputation: 163

Try gem install bundler --prerelease

Upvotes: 9

Related Questions