Questions tagged [gemfile.lock]

The Gemfile.lock is the snapshot file keeping the installed gem names, and versions.

The Gemfile.lock is the snapshot file, where , after installing any needed gems to your system, bundler writes a snapshot of all of the gems and versions of the installed gems. The Gemfile.lock makes your application a single package of both your own code and the third-party code it ran the last time you know for sure that everything worked.

See also

82 questions
0
votes
1 answer

Can't resolve Gemfile.lock merge error

I tried to run bundle install and this happens, and I can't see to fix it. I don't think there are any merge conflicts in my gem file that I haven't fixed.. but I still can't get rid of this error. How can I do so? Your Gemfile.lock contains merge…
Zach Smith
  • 8,458
  • 13
  • 59
  • 133
0
votes
1 answer

Gemfile.lock Error while trying to deploy RoR application on server

I am getting the following error on the server while deploying my application The --deployment flag requires a Gemfile.lock. Please make sure you have checked your Gemfile.lock into version control before deploying. I have already checked in the…
Alex Sean
  • 31
  • 4
0
votes
2 answers

How do I include a commit in a ruby library that hasn't been added to the gem yet?

Specifically, this commit has been merged into mongomapper master to fix a bug that is causing my application to crash: https://github.com/mongomapper/mongomapper/pull/572 However, it hasn't been released in a new gem. Is it possible to include it…
Kareem
  • 844
  • 2
  • 8
  • 15
0
votes
2 answers

How to push to Heroku with Gemfile.lock included into .gitignore

Gemfile.lock is included into .gitignore. It is an agreement between developers, and it should remain so. Is there a way to push code to Heroku? Or may be you suggest some Ruby hosting which does not use Git to deploy an app?
Paul
  • 25,812
  • 38
  • 124
  • 247
0
votes
1 answer

How to specify Gemfile so that it won't install a specific version of a gem

I'm new to ruby, and I'm trying to specify a specific version number to rack. I want 1.4.5 installed and 1.5.2 removed, and I did gem uninstall rack --version 1.5.2, and specified the version number of rack to 1.4.5 in file Gemfile.lock. But after…
albusshin
  • 3,930
  • 3
  • 29
  • 57
0
votes
1 answer

Rails Gemfile.lock

I added a section for development in my Gemfile group :development do gem 'thin' end and then ran bundle install on my local machine. This created a Gemfile.lock which contained thin. I checked in this file into the repo and pushed to Heroku.…
-1
votes
1 answer

Github Pages does not display pages like local machine

I create a site with jekyll using the theme minima. The site displays everything well in my local machine(localhost:4000). But it appears strangely on Github Pages. It looks like this.This is the source hosted on github. I tried to modify the files…
user1651758
  • 145
  • 12
1 2 3 4 5
6