An empty app configured with a bunch of common gems
Ruby JavaScript
Switch branches/tags
Nothing to show
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
app
autotest
config
db
doc
features
lib/tasks
public
script
spec
vendor/plugins
.gitignore
.rspec
.rvmrc
CHEAT
DEVISE_STEPS
Gemfile
Gemfile.lock
README
Rakefile
TODO
config.ru

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 git@github.com: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"