Mitch simpson
Mitch simpson

Reputation: 3

Running 'bundle install' ruby

I've been trying to run a bundle install and I always seem to get the same error 'Could not locate Gemfile or .bundle/ directory'

If someone could explain a possibility of why I may be getting this it would be very helpful

Thanks :)

Upvotes: 0

Views: 81

Answers (1)

CraigM
CraigM

Reputation: 194

To confirm which file bundler is trying to use as its Gemfile, try this:

bundle exec ruby -e "puts ENV['BUNDLE_GEMFILE']"

To make sure you don't have a setting that's causing bundler not to use the Gemfile in your current (or a parent) directory, try this:

bundle config Gemfile

Upvotes: 2

Related Questions