Skip to content

Instantly share code, notes, and snippets.

@johnsome
Created February 25, 2010 16:57
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 johnsome/314722 to your computer and use it in GitHub Desktop.
Save johnsome/314722 to your computer and use it in GitHub Desktop.
# rails testapp -m http://gist.github.com/314722.txt
file 'Gemfile', <<-CODE
source 'http://gemcutter.org'
gem "rails", :git => "git://github.com/rails/rails.git"
gem "sqlite3-ruby", :require => "sqlite3"
group :test do
gem "rspec-rails", ">= 2.0.0.a9"
end
CODE
run "bundle install"
run "script/rails g rspec:install"
git :init
git :add => "."
git :commit => "-a -m 'Initial commit'"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment