Ruby on Rails Friday, September 30, 2011

2011/9/30 zver <otobrglez@gmail.com>:
> Hi!
>
> Look at mine Gemfile. Perhapse you find some idea how to set "pg" gem.
>
> https://github.com/otobrglez/mauto/blob/master/Gemfile

As far as I understand the working of heroku deploy, it does not look
at your Gemfile, but at your Gemfile.lock, so if you "bundle install
--without production" (or what ever the command was), pg will not be
in your Gemfile.lock, so heroku does not see it! Same point is for
your rubyracer-gem... So you should make them visible even for your
dev-env.

Its possible that I am wrong, but even then I would prefer to use
postgres in development, so stumble over problems with pg already
locally and dont have to debug with remote when there are any problems
in the pg-implemention.

> - Oto

HTH
Norbert

--
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To post to this group, send email to rubyonrails-talk@googlegroups.com.
To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.

No comments:

Post a Comment