rubyonjets / jets

Ruby on Jets
http://rubyonjets.com
MIT License
2.6k stars 181 forks source link

gem install jets not working without postgresql installed locally #33

Closed stefangomez closed 6 years ago

stefangomez commented 6 years ago

looks like I needed to have postgresql installed locally on my mac (High Sierra 10.13.6 w/Xcode 9.4.1 w/devtools installed) in order to install the jets gem. should probably note this (and other possible dependencies) in the installation docs. I see this note in your gemspec, but having this in the quick start could be helpful until this req is removed :)

https://github.com/tongueroo/jets/blob/master/jets.gemspec#L53

This issue is about http://rubyonjets.com/docs/install/ (source file: https://github.com/tongueroo/jets/blob/master/docs/_docs/install.md)

tongueroo commented 6 years ago

Thanks for the bug report 👍 Fixed in PR #35

Docs have been updated to mention the PostgreSQL dependency: http://rubyonjets.com/docs/install/

The gem install jets will work with or without postgresql being installed on the system now.

The pg gem is still inserted into the Gemfile with jets new though. So, also added a --no-database option that tells jets new to not insert the pg gem to the generated Gemfile.

Released in v0.8.15 https://github.com/tongueroo/jets/blob/master/CHANGELOG.md