Skip to content

Instantly share code, notes, and snippets.

@mjason
Created August 6, 2013 05:01
Show Gist options
  • Save mjason/6162136 to your computer and use it in GitHub Desktop.
Save mjason/6162136 to your computer and use it in GitHub Desktop.
# coding: utf-8
gsub_file "Gemfile", /https:/, "http:"
gem 'devise'
gem "cancan", "~> 1.6.10"
gem "mongoid", git: "https://github.com/mongoid/mongoid.git", ref: "85e146637503522939b3a6b942c84d1bbc55c00a"
gem 'carrierwave', '0.6.2'
gem 'mini_magick','3.3', require: false
gem_group :development, :test do
gem 'rspec-rails', '~> 2.13.2'
gem 'factory_girl_rails'
gem "capybara", "~> 0.4.1"
end
run("bundle install")
generate("mongoid:config")
generate("rspec:install")
generate("devise:install")
run("torquebox rails")
inject_into_file '.gitignore', after: "/tmp" do <<-EOF
\n
.DS_Store
*.log
EOF
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment