Lighthouse has a new layout. Prefer the old one? Return to the old layout, and switch back any time from the link at the top of each page.

This project is archived and is in readonly mode.

Gem file requires pg gem for all tests

#3893

In Gemfile there is the following lines:

group :test do
gem "pg", ">= 0.8.0" gem "mysql", ">= 2.8.1" end

When running rake test_sqlite3 in /activerecord/ I get an error due to the pg gem missing.

Should it be possible to run the sqlite3 and mysql tests without installing postgres?

Reported by Eadz · February 8th, 2010 @ 01:00 AM

State: wontfix
Milestone: none
Assigned to: Mikel Lindsaar Mikel Lindsaar
Importance: Low

Activity

  1. Mikel Lindsaar
    Mikel Lindsaar
    • State changed from new to wontfix
    • Assigned user set to Mikel Lindsaar

    Not really. Rails ships with all three databases, MySQL, Sqlite3 and Postgres. If you are developing on ActiveRecord or testing ActiveRecord itself, you should have all three installed to test any changes on.

    If you are not developing on ActiveRecord, don't run the tests :)

    Mikel

    February 8th, 2010 @ 04:37 AM