Skip to content

Instantly share code, notes, and snippets.

@NickClark
Created May 13, 2011 01:09
Show Gist options
  • Save NickClark/969775 to your computer and use it in GitHub Desktop.
Save NickClark/969775 to your computer and use it in GitHub Desktop.
Deployment Gemfile.lock woes
You are trying to install in deployment mode after changing
your Gemfile. Run `bundle install` elsewhere and add the
updated Gemfile.lock to version control.
You have deleted from the Gemfile:
* guard-pow
* rb-fsevent
#This shows the proper way
# - Now when you deploy, it will ignore the gems in the
# development group and when you want to install the
# app on a computer that isn't a mac you can run bunlder
# as `bundle --without darwin` the first time, and then
# every following time you can just run `bundle`, as bundler
# is supposed to remember the 'without' option for subsequent runs
source 'http://rubygems.org'
gem 'rails', '3.0.7'
gem 'mysql2', '~>0.2.7'
gem 'haml', ">= 3.0.17"
gem 'compass', ">= 0.10.4"
gem "devise", '>= 1.1.2'
gem 'declarative_authorization', ">= 0.5"
gem 'formtastic', '~> 1.2.0'
gem "will_paginate", "~> 3.0.pre2"
gem "jquery-rails"
gem 'paperclip'
gem 'meta_where'
gem 'dynamic_default_scoping'
group :development, :test do
gem 'mongrel', ">= 1.2.0.pre2"
gem "rspec-rails", "~> 2.6.rc4"
gem 'shoulda-matchers'
gem "cucumber-rails"
gem 'pickle'
gem 'spork', '~> 0.9.0.rc'
gem 'launchy'
group :darwin do
gem 'rb-fsevent', :require => false
gem 'guard-pow', :require => false
end
gem 'growl'
gem 'guard-rspec', :require => false
gem 'guard-cucumber', :require => false
gem 'guard-livereload', :require => false
gem 'guard-spork', :require => false
gem 'guard-bundler', :require => false
gem "capybara-webkit"
gem 'capybara'
gem 'database_cleaner'
gem 'factory_girl', '~> 1.3.3'
end
gem 'RedCloth', '>= 4.1.1'
@interhive
Copy link

Thanks for posting. This helped me with a real head-scratcher!

@elsurudo
Copy link

Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment