Skip to content

Instantly share code, notes, and snippets.

@piotrze
Created November 9, 2012 16:16
Show Gist options
  • Save piotrze/4046593 to your computer and use it in GitHub Desktop.
Save piotrze/4046593 to your computer and use it in GitHub Desktop.
Rails application template with mongo, rspec, jasmine
#installing rails
rails new app_name --skip-active-record
#generators
rails g rspec:install
rails g mongoid:config
rails g jasmine:install
rake db:create
#cleanup
rm -rf test/
rm public/index.html
mv app/views/layouts/application.html.erb app/views/layouts/application.html.haml
#spec.css
/*
*= require application
*/
#spec/javascripts/spec.js
//= require application
//= require_tree ./helpers/.
//= require_tree .
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment