Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

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

like image 711
Ashley Williams Avatar asked Feb 01 '10 14:02

Ashley Williams


1 Answers

Try gem install bundler --prerelease

like image 62
ursm Avatar answered Sep 21 '22 11:09

ursm