Skip to content

Instantly share code, notes, and snippets.

@surreymagpie
Created December 3, 2015 08:31
Show Gist options
  • Select an option

  • Save surreymagpie/e3361c1bd7b46aa02727 to your computer and use it in GitHub Desktop.

Select an option

Save surreymagpie/e3361c1bd7b46aa02727 to your computer and use it in GitHub Desktop.
run "mv README.rdoc README.md"
gsub_file("README.md", "== README", "# #{app_name.titleize}")
gem 'haml'
gem_group :development, :test do
gem 'annotate'
gem 'better_errors'
gem 'capybara'
gem 'quiet_assets'
gem 'rspec-rails', require: false
gem 'factory_girl_rails'
end
# remove commented lines
gsub_file("Gemfile", /#.*\n/, '')
# remove double newlines
gsub_file("Gemfile", /^\n\n/, '')
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment