How to use rails 2.0.2 without a database
April 9th, 2008
Step 1
Run the rake task to freeze rails 2.0.2 into the project so your not reading from gems:
rake rails:freeze:gems
Step 2
Remove the database.yml file from RAILS_ROOT/config/
Step 3
Change line 21 in RAILS_ROOT/config/enviroment.rb to:
config.frameworks -= [ :active_record ]
Bobs your uncle, that should be it!
Sorry, comments are closed for this article.