0

I am working on a project in which Gemfile is not present. That project is working fine on production server having Apache with passenger. But, Bundle install and bundle update does not work when I try try to start project in development environment. How to get that project working in development environment?

Abhi
  • 4,123
  • 6
  • 45
  • 77
vidur punj
  • 5,019
  • 4
  • 46
  • 65

1 Answers1

0

Unless someone from systems engineering can tell you, where the Gems were defined, You can reverse engineer a Gemfile from the contents of Gemfile.lock.

Or you can try to run your project by using this command, after you copied the Gemfile.lock from production, also put an empty Gemfile, as the bundler requires it.

bundle install --deployment 

see this answer, but sooner or later you will need the Gemfile.

Roland Studer
  • 4,315
  • 3
  • 27
  • 43