Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
branch: master

Fetching latest commit…

Octocat-spinner-32-eaf2f5

Cannot retrieve the latest commit at this time

Octocat-spinner-32 app
Octocat-spinner-32 config
Octocat-spinner-32 db
Octocat-spinner-32 doc
Octocat-spinner-32 features
Octocat-spinner-32 lib
Octocat-spinner-32 public
Octocat-spinner-32 script
Octocat-spinner-32 spec
Octocat-spinner-32 vendor
Octocat-spinner-32 .gitignore
Octocat-spinner-32 .gitmodules
Octocat-spinner-32 .rvmrc
Octocat-spinner-32 Gemfile
Octocat-spinner-32 Gemfile.lock
Octocat-spinner-32 README.md
Octocat-spinner-32 Rakefile
README.md

Legacy App

This is an example rails 2.3 project to use as an exercise in upgrading to ruby 1.9 and rails 3. It was derived from an existing project so hopefully represents things found in a typical 2.3 app.

Installation

To run the project you will need to have the following installed on your development machine:

  • ImageMagick
  • MySQL (or access to a MySQL server)
  • ruby 1.8.6 or 1.8.7
    • With the bundler gem installed.

Then,

  • Clone the repo (including submodules)
    • git clone --recursive https://github.com/tricycle/legacy_app.git
  • cd into repo
  • run bundle install
  • rake db:create db:schema:load
  • RAILS_ENV=test rake db:create

Testing

Run the tests with:

  • rake spec cucumber
Something went wrong with that request. Please try again.