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

Gemfile.lock is corrupt, gem missing from the DEPENDENCIES section

It says that my Gemfile.lock is corrupt. The exact message is "Your Gemfile.lock is corrupt. The following gem is missing from the DEPENDENCIES section: 'mini_portile2'" How would I go about fixing this? This is also my Gemfile.lock: GEM …
0
votes
1 answer

Git error: command `git reset --hard 742425ade4bb66db573dc13bf436a8f3c87b733b`

recently I've tryed to clone the repository of my agency, and I got this error on ActiveAdmin and Ransack. I tryed to clean the cache, change activeadmin version on Gemfile, delete the revision... and I can't found a solution to this problem: ➜…
0
votes
1 answer

Rails app - Heroku push rejected - Seeming Gemfile and Gemfile.lock issue

When I try to push my master branch to Heroku, I get the following output in console. I've tried running bundle install, but that does not resolve. I have Gemfile.lock checked into version control but am not sure if there are discrepancies between…
mike9182
  • 269
  • 1
  • 3
  • 17
0
votes
0 answers

Bundler: `initialize': Read-only file system Gemfile.lock

I'm running bundle install in a VM for an application in Ruby 1.9.3, Rails 3.0.20, Bundler 1.6.2, but it gives me this error about the gemfile.lock I guess that Bundler is using the global gems, but I need it to use strictly the versions from the…
0
votes
0 answers

Uncaught Exception: Could not find aws-sdk-core-2.6.49 in any of the source

I am setting up a rails application with Camaleon CMS and i have been at it for 10 hours. The gemfile has been giving me so many problems. I can not start-up the server because of dependency issues. /home/daniel/.rbenv/versions/2.2.4/bin/ruby -e…
danielbker
  • 392
  • 1
  • 3
  • 21
0
votes
1 answer

Your Ruby version is 2.2.5, but your Gemfile specified 2.2.6, except my Gemfile specifies 2.2.5

I've looked all over SO; if I missed a dupe question I'm sorry I'm trying to deploy a rails app using capistrano. It's giving me the error "Your Ruby version is 2.2.5, but your Gemfile specified 2.2.6" Yes, this was true at one point, but I've since…
jes
  • 331
  • 1
  • 14
0
votes
1 answer

Not able to include 'git' gem in ruby Gemfile

I am new to ruby and created a script which is using Git gem. (require 'git'). I have to execute this script to jenkins and for which I have added a Gemfile and Gemfile.lock and the entries are as below: Gemfile source 'https://rubygems.org' gem…
Ashish
  • 23
  • 2
0
votes
1 answer

Merge conflict Gemfile.lock

I have a merge conflict and know the conflict but confuse as to how to fix it. <<<<<<< HEAD orm_adapter (0.5.0) ======= arser (2.3.1.4) ast (~> 2.2) >>>>>>> master <<<<<<< HEAD warden (1.2.6) rack (>= 1.0)…
codda
  • 1
  • 6
0
votes
1 answer

Error with corrupt Gemfile.lock Capistrano

I got some error with my Gemfile.lock using comand 'cap production deploy'. How can i fix it? Terminal: cap aborted! SSHKit::Runner::ExecuteError: Exception while executing as deployer@34.63.11.212: bundle exit status: 20 bundle stdout: Your…
0
votes
0 answers

Bundle install wants to install different gem version

I am trying to run a bundle install in my Ruby project. But it tries to install rake -v 11.1.2 which requires Ruby 1.9.3. (I am using 1.8.7-p374 - please don't kill me!) None of my Gemfiles have this version specified and I already have rake…
JunaidKirkire
  • 878
  • 1
  • 7
  • 17
0
votes
1 answer

rails application not deploying to heroku (application error message)

I am trying to deploy a simple hello world Rails application to Heroku but am getting an application error. The weird thing is it worked fine for my other Rails application but it doesn't work for this one even though I made the same changes to…
user3226932
  • 2,042
  • 6
  • 39
  • 76
0
votes
1 answer

Git bundler conflicts in gemlock with aptana

How can I resolve conflicts like -BUNDLED WITH - 1.10.6 In my gemlock file everytime when I take pull and merging into some other branch. It also abort stash applying before that.
Jaswinder
  • 1,455
  • 14
  • 27
0
votes
1 answer

How to manage Gemfile.lock with git in rails

I am trying to get rid of my "Changes not staged for commit", and my Gemfile.lock keeps re-appearing as an unstaged file. I believe this is because I updated bundler, because the changes are: - - BUNDLED WITH - 1.10.5 First, these did not work,…
0
votes
2 answers

Running rails git cloned repo locally: How to handle gem errors?

All the time when I do a git clone https://github.com/[REPO_NAME] and then cd into the repo and run bundle install I get Gem::Ext::BuildError: ERROR: Failed to build gem native extension. /Users/name/.rvm/rubies/ruby-2.1.3/bin/ruby extconf.rb *…
Antoine
  • 559
  • 8
  • 21
0
votes
1 answer

Git repositories in Gemfile.lock each time in different order

I have some gems from git repositories in my rails project Gemfile. When I do "bundle install" they saved in some order in Gemfile.lock. Example: GIT remote: git://github.com/wr0ngway/graylog2_exceptions.git revision:…