Skip to content

Instantly share code, notes, and snippets.

@scottb
Last active August 10, 2016 20:34
Show Gist options
  • Save scottb/4bd3f4790e50d126db31 to your computer and use it in GitHub Desktop.
Save scottb/4bd3f4790e50d126db31 to your computer and use it in GitHub Desktop.
# --skip-turbolinks --skip-test --database=postresql
file '.editorconfig', <<-CODE
[*]
indent_style = space
indent_size = 2
tab_width = 8
charset = utf-8
end_of_line = lf
trim_trailing_whitespace = true
insert_final_newline = true
[*.md]
trim_trailing_whitespace = true
CODE
initializer 'aws', <<-CODE
Aws.config[:region] = 'us-east-1'
Aws.config[:credentials] = if Rails.env.development?
Aws::SharedCredentials.new
else
Aws::InstanceProfileCredentials.new
end
CODE
gem 'aws-sdk'
gem 'slim-rails'
gem_group :development, :test do
gem 'rspec-rails'
end
gem_group :test do
gem 'cucumber-rails', require: false
gem 'database_cleaner'
end
after_bundle do
run "spring stop"
generate :'rspec:install'
generate :'cucumber:install'
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment