Skip to content
winton edited this page Jan 10, 2011 · 5 revisions

Contributions are always welcome.

Install gems

gem install externals
gem install rspec -v '<2'
gem install rails -v '<3'
gem install rails -v '<4'
gem install sinatra -v '<2'

Database adapters

Sorry, I've only tested with MySQL. PostgreSQL help would be much appreciated.

gem install mysql
gem install mysql2

Fork the project

Fork the project.

git clone git@github.com:YOUR_NAME/acts_as_archive.git
cd acts_as_archive

Vendor supporting gems

externals un

This will vendor the following gems:

Feel free to send pull requests for any of these projects.

Create the test db

cd spec
rake db:drop db:create
cd ../

Run the specs

spec/run

This essentially runs the following:

ACTIVERECORD=3 spec spec
ACTIVERECORD=2 spec spec/acts_as_archive_spec.rb
RAILS=2 spec spec/acts_as_archive_spec.rb
RAILS=3 spec spec/acts_as_archive_spec.rb
SINATRA=1 spec spec/acts_as_archive_spec.rb
Clone this wiki locally