Ruby – Could not locate Gemfile

bundlergemruby

I'm certainly no Ruby developer but I have an application on my server using Ruby, Gems, and Bundler. I am trying to install another Ruby on under a different user account but on the same VPS. When I go to run

bundle install

I get the following error:

Could not locate Gemfile

I could remove the contents of the ./bundle directory so that all Gems are re-fetched to clear the error but will this have an impact on my other application using the same Gems and Bundler? I don't want to risk taking the other app down.

Best Answer

You do not have Gemfile in a directory where you run that command. Gemfile is a file containing your gem settings for a current program.