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.

bundle installing fork of rails/rails on mac os x forces me to install postgressql

#6323

I forked Rails in order to submit a patch, but when I ran bundle install, the native compilation kicked off by the pg gem failed while searching for a missing C header file. The only way I could get the native compilation to complete was to install postresql and then add the postgresql binary to my PATH.

If Rails does in fact require installing this database, this is something that should be fixed.

Reported by rubyduo (at gmail) · January 21st, 2011 @ 10:53 PM

State: invalid
Milestone: none
Assigned to: nobody
Importance: Low

Activity

  1. Rohit Arondekar
    Rohit Arondekar
    • State changed from new to invalid
    • Importance changed from to Low

    Rails does need the database and related gems to run the test suite of Active Record. If you are not planning on working on Active Record then you can bundle without the db related gems. To do that try bundle install --without=db. I used to use that on an old laptop on which I couldn't install mysql and postgres. I suggest reading this for more information: http://gembundler.com/man/bundle-install.1.html

    January 26th, 2011 @ 10:18 AM