Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Ruby Other
Branch: master

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
app
config
db
doc
features
lib/tasks
public
script
spec
vendor
.gitignore
.gitmodules
.rvmrc
Gemfile
Gemfile.lock
README.md
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.