Skip to content

Instantly share code, notes, and snippets.

@stephencelis
Created November 15, 2009 17:39
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save stephencelis/235342 to your computer and use it in GitHub Desktop.
Save stephencelis/235342 to your computer and use it in GitHub Desktop.
Rails 3.0.pre Gemfile
#!/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
# 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