This project is archived and is in readonly mode.

#3893 ✓wontfix

Gem file requires pg gem for all tests

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

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?

Comments and changes to this ticket

  • Mikel Lindsaar

    Mikel Lindsaar February 8th, 2010 @ 04:37 AM

    • 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 :)


Create your profile

Help contribute to this project by taking a few moments to create your personal profile. Create your profile »

<h2 style="font-size: 14px">Tickets have moved to Github</h2>

The new ticket tracker is available at <a href=""></a>

People watching this ticket