user856358
user856358

Reputation: 593

Bundler::GemNotFound Error

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

Answers (2)

davissp14
davissp14

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

Tim Moore
Tim Moore

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

Related Questions