Created
June 30, 2013 15:58
-
-
Save mtsmfm/5895711 to your computer and use it in GitHub Desktop.
Rails application template
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
gem 'haml-rails' | |
gem 'omniauth' | |
gem_group :development, :test do | |
gem 'rspec-rails' | |
gem 'factory_girl_rails' | |
gem 'guard-rspec' | |
gem 'database_cleaner' | |
gem 'erb2haml' | |
end | |
gem_group :test do | |
gem 'capybara' | |
gem 'cucumber-rails', require: false | |
gem 'spring' | |
gem 'pry' | |
end | |
run "bundle install" | |
generate "rspec:install" | |
generate "cucumber:install" | |
run "bundle exec guard init rspec" | |
gsub_file "config/database.yml", /(username: ).*$/, '\1postgres' | |
rake 'haml:replace_erbs' | |
git :init | |
git add: "." | |
git commit: %{ -m 'Initial commit' } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
rails new . -m ../template.rb -T -d=postgresql -B