Reputation: 593
I'm using Ubuntu. I tried installing bundler via 'gem install bundler', and it seems to have worked. In terminal, if I type 'gem list', I see bundler 1.3.5 in the list. However, if I run 'bundle install', I get the error 'Bundler::GemfileNotFound'... I'm not sure why
Upvotes: 1
Views: 693
Reputation: 775
It's likely the bundle binary is not in your path.
You can check this by executing the following:
echo $PATH
which bundle
If your bundle path is: /Users/xxx/.rbenv/shims/bundle
Your PATH needs to include: /Users/xxx/.rbenv/shims
https://askubuntu.com/questions/60218/how-to-add-a-directory-to-my-path
Upvotes: 1
Reputation: 9492
Bundler is looking for a file called Gemfile
in your current directory. The error means that it isn't there. Are you sure you're in the right directory?
Upvotes: 0