Skip to content
Sample code used in The Rails 3 Way
Ruby JavaScript
Find file
Latest commit 4d6a7c0 Jul 14, 2010 @delitescere delitescere committed with Pairing Workstation Sears Markdown it
Failed to load latest commit information.
app Make stuff work with Rails 3 beta4 and RSpec 2 Jul 14, 2010
autotest Make stuff work with Rails 3 beta4 and RSpec 2 Jul 14, 2010
config
db
doc Begin updating for Rails 3 Jan 23, 2010
lib
public
script
spec Make stuff work with Rails 3 beta4 and RSpec 2 Jul 14, 2010
test Make stuff work with Rails 3 beta4 and RSpec 2 Jul 14, 2010
vendor/plugins
.gitignore
.rspec Make stuff work with Rails 3 beta4 and RSpec 2 Jul 14, 2010
.rvmrc Make stuff work with Rails 3 beta4 and RSpec 2 Jul 14, 2010
Gemfile Make stuff work with Rails 3 beta4 and RSpec 2 Jul 14, 2010
Gemfile.lock Make stuff work with Rails 3 beta4 and RSpec 2 Jul 14, 2010
README.md Markdown it Jul 14, 2010
Rakefile Make stuff work with Rails 3 beta4 and RSpec 2 Jul 14, 2010
config.ru Fix application name in rack config Jan 23, 2010

README.md

Welcome to The Rails 3 Way

This is a sample application that will help you follow along in the book.

Issues

  • Assuming OS X 10.6.4
  • Lots of Rails, RSpec, and Bundler things are in flux, as well as Ruby 1.9.
  • This app should work under Ruby 1.8.7-p299 and Ruby 1.9.2.rc1
  • You need mysql 5.1.41 if running Ruby 1.9.2.rc1 (to avoid seg faults)

Setup

For now:

  • gem install bundler --pre
  • gem install rails --pre
  • gem install rspec-rails --pre
  • gem install ruby-debug#19 #remove the comment before '19' if on Ruby 1.9
  • bundle install
  • rake test && rake spec #to run the tests
Something went wrong with that request. Please try again.