News for hackers. Stuff that matters.

Ask HN: Checklist for starting a new Rails application?

It's easy to create a new Rails application using "rails new myapp" (or using an application template). But after that, what do you do? What gems do you always add? What decisions do you make before beginning development? What important items are often overlooked before deploying an app? I'd like to put together a reference checklist to share. Any suggestions?

For example:

- Create a new RVM gemset - Modify the .gitignore file - Switch from TestUnit to RSpec - Set up Guard to run tests in the background during development - Add the viewport metatag to the default application layout - Don't forget to create a sitemap.xml file - Add a Google Analytics snippet

What else?

( 5 comments | 11 points | on HN )
Re:Ask HN: Checklist for starting a new Rails application? by clyfe on Tuesday November 08, 2011 @05:07AM (#3210160)
Some from my stack (vary based on project):

    Devise, CanCan, sentient_user, CarrierWave
    rails_config, rails-settings
    ActiveScaffold
    Rspec, Capybara, Spork, Guard, factory_girl, faker
    capistrano
Re:Ask HN: Checklist for starting a new Rails application? by rpwilcox on Monday November 07, 2011 @08:52PM (#3209116)
I always add Cucumber, Machinist, Omniauth + devise, formtastic, show_for, foreman, and (lately) the twitter-bootstrap-rails gem
Re:Ask HN: Checklist for starting a new Rails application? by goshakkk on Wednesday November 09, 2011 @04:28PM (#3217495)
If you love Cucumber, you definitely should take a look at Spinach: http://codegram.github.com/spinach/
Re:Ask HN: Checklist for starting a new Rails application? by aliukani on Monday November 07, 2011 @10:42PM (#3209413)
I'd like to hear more about your setup. Why do you consider these essential?
Re:Ask HN: Checklist for starting a new Rails application? by dholowiski on Tuesday November 08, 2011 @10:30AM (#3211071)
I definitely second Omniauth+devise - my go-to for Authentication.