Created
November 15, 2009 17:39
-
-
Save stephencelis/235342 to your computer and use it in GitHub Desktop.
Rails 3.0.pre Gemfile
This file contains 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
#!/bin/sh | |
# | |
# An easier way to Rails 3.0.pre. | |
# | |
# Prerequisites: | |
# | |
# gem install gemcutter | |
# gem install bundler | |
[ -z $1 ] && echo "Usage: $0 path/to/your/app [options]" && exit 1 | |
mkdir -p $1 | |
pushd $1 | |
shift | |
curl -O http://gist.github.com/raw/235342/9179c8b0b37927147073cfd4348d705d7ab373b0/Gemfile | |
gem bundle | |
bin/rails . -s $* | |
popd |
This file contains 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
# Bare bones Gemfile for Rails 3.0.pre. | |
# | |
# Throw in a directory for a new application, `gem bundle && bin/rails . -s`. | |
gem "rails", "3.0.pre", :git => "git://github.com/rails/rails.git" | |
gem "arel", :git => "git://github.com/rails/arel.git" | |
gem "rack-mount", :git => "git://github.com/rails/rack-mount.git" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment