Natalie
Natalie

Reputation: 51

Could Not locate gemfile even though bundler is successfully installed

I was able to install this

~/workspace $ gem install bundler
Successfully installed bundler-1.16.2
1 gem installed

However when I put in bundle install, I keep getting

Could not locate Gemfile

I tried updating and cd to my workspace but I'm still getting the same problem

Upvotes: 2

Views: 12941

Answers (1)

radoAngelov
radoAngelov

Reputation: 714

Do you have Gemfile in your workspace directory?

  • If "yes", please make sure it is in the correct directory - > path_to_your_app/Gemfile and has no extensions - >Gemfile.rb is incorrect.

  • If "no" , please run bundle init first and after that bundle install.

Upvotes: 13

Related Questions