This project is archived and is in readonly mode.

#6323 ✓invalid
rubyduo (at gmail)

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

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

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.

Comments and changes to this ticket

  • Rohit Arondekar

    Rohit Arondekar January 26th, 2011 @ 10:18 AM

    • 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

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="https://github.com/rails/rails/issues">https://github.com/rails/rails/issues</a>

Pages