Skip to content

Instantly share code, notes, and snippets.

@l0gicpath
Created October 15, 2009 12:02
Show Gist options
  • Save l0gicpath/210909 to your computer and use it in GitHub Desktop.
Save l0gicpath/210909 to your computer and use it in GitHub Desktop.
Rails template test
# Some cleaning up ;)
run "rm public/index.html"
# Installing required plugins
plugin 'Authentasaurus', :git => 'git://github.com/logicpath/Authentasaurus.git'
plugin 'flash_message_conductor', :git => 'git://github.com/planetargon/flash-message-conductor.git'
plugin 'acts_as_taggable_on_steroids', :git => 'git://github.com/jviney/acts_as_taggable_on_steroids.git'
plugin 'paperclip', :git => 'git://github.com/thoughtbot/paperclip.git'
plugin 'rspec', :git => 'git://github.com/dchelimsky/rspec.git'
plugin 'rspec-rails', :git => 'git://github.com/dchelimsky/rspec-rails.git'
plugin 'liquid', :git => 'git://github.com/tobi/liquid.git'
# Adding required Gems
gem 'RedCloth', :lib => 'RedCloth'
gem 'mislav-will_paginate', :version => '~> 2.3.11', :lib => 'will_paginate', :source => 'http://gems.github.com'
# Now let's install them
# If you are not on a *nix based system you'll need to remove the :sudo option
rake "gems:install", :sudo => true
generate("rspec")
generate("acts_as_taggable_migration")
generate("authentasaurus", "user", "--skip-validation")
rake "db:sessions:create"
# If you are not on a *nix based system you'll need to remove the :sudo option
rake "db:migrate"
rake "authentasaurus:load_defaults", :sudo => true
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment