Created
January 13, 2010 23:21
-
-
Save benders/276678 to your computer and use it in GitHub Desktop.
Very, very, very quick guide to using gem bundler
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#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 ..." |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
gem "rails", "2.3.5" | |
gem "sqlite3-ruby" | |
clear_sources | |
source "http://gemcutter.org" | |
disable_system_gems | |
bundle_path 'gems' |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
require "#{RAILS_ROOT}/gems/environment" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment