Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
# Install gems
gem "haml-rails"
gem "decent_exposure"
gem "jquery-rails"
gem "sass-rails"
gem "uglifier"
gem_group :development do
gem "better_errors"
gem "binding_of_caller"
end
gem_group :test do
gem "launchy"
end
gem_group :development, :test do
gem "database_cleaner"
gem "fabrication"
gem "rspec-rails"
gem "cucumber-rails"
gem "ffaker"
gem "pry-rails"
end
run "bundle"
file '.ruby-version', <<-CODE
2.0.0-p247
CODE
# Create .rspec defaults
file '.rspec', <<-CODE
--color
CODE
# Create database
rake "db:create:all"
rake "db:migrate"
# Run the Rails Generator on whatever
generate "rspec:install"
generate "cucumber:install"
generate "fabrication:cucumber_steps"
git :init
git :add => "."
git :commit => "-a -m 'Initial'"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment