An open API service indexing awesome lists of open source software.

https://github.com/andyw8/new_rails_3_app

An empty app configured with a bunch of common gems
https://github.com/andyw8/new_rails_3_app

Last synced: 3 months ago
JSON representation

An empty app configured with a bunch of common gems

Awesome Lists containing this project

README

        

This is an empty Rails 3 project. It's intended to be a starting point for new apps to get quickly up and running. It includes RSpec, Cucumber and many other useful gems.

Requirements:

- Bundler
- rvm
- Mac OS X >= 10.5 and Xcode if using autotest-fsevent

Getting started

$ git clone [email protected]:andyw8/new_rails_3_app.git
$ cp database.yml.example database.yml

Change bundle name in .rvmrc

Even though no tests are defined yet, run rake as sanity check that the app can start:

$ gemset create 'mybundle'
$ rake

Optional steps

Search through the project and change all instance of MyApp and my_app to whatever you want to call your app.

Autotest

Change 'someverylongandveryhardtoguesspreferablyrandomstring'

The project is configured to use autotest. Some of the gems are Mac-specific:

http://www.bitcetera.com/en/techblog/2009/05/27/mac-friendly-autotest/

Add the following lines to your ~/.autotest

require 'autotest/fsevent'
require 'autotest/growl'

http://github.com/svoop/autotest-growl

Heroku

heroku config:add BUNDLE_WITHOUT="development test"