Skip to content

Instantly share code, notes, and snippets.

@benders
Created January 13, 2010 23:21
Show Gist options
  • Save benders/276678 to your computer and use it in GitHub Desktop.
Save benders/276678 to your computer and use it in GitHub Desktop.
Very, very, very quick guide to using gem bundler
#0 - "gem install bundler"
#1 - Create an empty directory to put your app in, cd into it
#2 - Put the Gemfile in it
#3 - "gem bundle"
#4 - "gem exec rails ."
#5 - Put the config/preinitializer.rb file in place, so you don't need "gem exec ..."
gem "rails", "2.3.5"
gem "sqlite3-ruby"
clear_sources
source "http://gemcutter.org"
disable_system_gems
bundle_path 'gems'
require "#{RAILS_ROOT}/gems/environment"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment