You might run into this problem if you are bringing a Rails 2.3 app onto Bundler, specifically, when you try and run “rake cucumber” or just “rake” for RSpec you get an error about uninitialized constant Rails::Boot::Bundler.

The situation is most likely that (like me) you put the preinitializer.rb file into the config/initializers directory instead of just in the config/ directory.

So double check the location as per the bundler guide

blogLater

Mikel

  1. yedomlais Says:

    Same here.. Thanks a lot!

  2. ben Says:

    Thanks! Saved me time.

  3. Will Says:

    Same here.. Thanks a lot!

  4. Santa Monica Electrician Says:

    I really enjoy reading your articles. thanks for sharing information …I found it quiet interesting, hopefully youSanta Monica Electrician

  5. Eduardo Says:

    Thanks, saved me, even thou it was written boldly in http://gembundler.com/rails23.html

Leave a Reply