Created
April 3, 2015 14:42
-
-
Save andrew-carroll/b0becfc6739bf73e261a to your computer and use it in GitHub Desktop.
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
gsub_file "Gemfile", /^\#.*\n/, '' | |
gsub_file "Gemfile", /^\n/, '' | |
gem_group :development, :test do | |
gem 'rspec-rails' | |
gem 'capybara' | |
gem 'factory_girl_rails' | |
end | |
gem 'slim-rails' | |
gem 'bootstrap-sass' | |
after_bundle do | |
generate :'rspec:install' | |
insert_into_file 'spec/rails_helper.rb', "require 'capybara/rspec'\n", | |
after: "# Add additional requires below this line. Rails is not loaded until this point!\n" | |
remove_dir "test" | |
git :init | |
git add: '.' | |
git commit: %Q{ -m 'Initial Commit' } | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment