0

While creating a Rails application:

user$ rails new App

All the other files get created, i.e. app, config, db, doc, script, test, Gemfile, etc I find that the Gemfile.lock fails to be created. Any particular reason why this could be happening? I am facing errors in bundling gems, though I do not know whether the absence of the Gemfile.lock file is causing this. Please help!

Subal Charla
  • 159
  • 2
  • 11

1 Answers1

3

you dont get a lock until after you do your bundle, and whenever there is a well form group of gems built (with all dependancies available..)

if you run:

bundle install

I think one should get created for you.

or

bundle update

if you have a lock file and have an updated gemset

raddrick
  • 4,274
  • 2
  • 27
  • 33