Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Spine / Rails template
gem("rspec-rails", :group => "test")
gem("cucumber-rails", :group => "test")
gem("spine-rails")
gem("eco")
gem("mongoid")
if yes?("Would you like to install Devise?")
gem("devise")
generate("devise:install")
model_name = ask("What would you like the user model to be called? [user]")
model_name = "user" if model_name.blank?
generate("devise", model_name)
end
run "rm public/index.html"
run "rails g scaffold post title:string content:string"
run "rails generate mongoid:config"
git :init
git :add => "."
git :commit => "-a -m 'Initial commit'"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.