Skip to content

Instantly share code, notes, and snippets.

@eiel
Created August 1, 2013 15:59
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 eiel/6132727 to your computer and use it in GitHub Desktop.
Save eiel/6132727 to your computer and use it in GitHub Desktop.
--templateの実験。 rails new --template rspec_and_pry_template.rb
gem_group :development, :test do
gem 'rspec-rails', '~> 2.0'
gem 'pry-rails'
gem 'pry-byebug'
end
run_bundle
git :init
git add: '.'
git commit: "-m 'initial commit'"
generate 'rspec:install'
git add: '.'
git commit: "-m 'rspec install'"
generate :scaffold, 'user name:string'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment