Skip to content
This repository has been archived by the owner on Apr 14, 2021. It is now read-only.

Bundler gem needs to be in the Gemfile to boot a Rails app #293

Closed
brynary opened this issue Apr 19, 2010 · 2 comments
Closed

Bundler gem needs to be in the Gemfile to boot a Rails app #293

brynary opened this issue Apr 19, 2010 · 2 comments

Comments

@brynary
Copy link

brynary commented Apr 19, 2010

In our Gemfile:

gem 'actionpack', '3.0.0.beta3'
gem 'railties', '3.0.0.beta3'

Note we're not depending on the "rails" gem as we don't want AR and AM. Here's what we get:

$ bundle exec rake --trace spec
(in /Users/bhelmkamp/p/active/gilt)
rake aborted!
no such file to load -- bundler
/Users/bhelmkamp/p/active/gilt/config/boot.rb:4:in require' /Users/bhelmkamp/p/active/gilt/config/boot.rb:4 /Users/bhelmkamp/p/active/gilt/config/application.rb:1:inrequire'
/Users/bhelmkamp/p/active/gilt/config/application.rb:1
/Users/bhelmkamp/p/active/gilt/Rakefile:4:in `require'
/Users/bhelmkamp/p/active/gilt/Rakefile:4

This is fixed by adding Bundler itself to the Gemfile, but consensus with Yehuda and Carl is that shouldn't be required.

@indirect
Copy link
Member

I can't reproduce this while using bundle exec. What do you get if you run bundle exec 'echo $RUBYOPT'?

@indirect
Copy link
Member

Add Bundler to the bundle exec $LOAD_PATH, even while locked

Closed by 133462d

joevandyk pushed a commit to joevandyk/bundler that referenced this issue May 16, 2011
joevandyk pushed a commit to joevandyk/bundler that referenced this issue May 16, 2011
This issue was closed.
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants