Skip to content

Instantly share code, notes, and snippets.

@rentalcustard
Created October 17, 2011 17:56
Show Gist options
  • Save rentalcustard/1293275 to your computer and use it in GitHub Desktop.
Save rentalcustard/1293275 to your computer and use it in GitHub Desktop.
Bundler woes
#given this Gemfile...
source :rubygems
gem 'rake'
gem 'sinatra', "1.3.0"
gem 'haml'
gem 'sass'
gem 'coffee-script'
gem 'pg'
gem 'activerecord'
gem 'sinatra-activerecord'
gem 'omniauth'
gem 'capistrano'
gem 'capify-ec2'
gem "capistrano-ec2-selfdeploy-tag", "1.0.2.pre"
gem "zerigo-designate", "0.0.6"
group :test do
gem 'rspec'
gem 'guard-rspec'
end
group :development do
source "http://some.inaccessible.host/gems"
gem "some-internal-gem"
end
#when we bundle install --without-development, bundler still tries to
# fetch the source index from http://some.inaccessible.host/gems. Which
# results in an error and hence deployments failing.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment