Since OSX 10.9, I'm not able any more to push my rails app zu heroku.
Heroku gives the following error:
Failed to install gems via Bundler. Push rejected, failed to compile Ruby app
When I "bundle install", then I get the error:
Installing pg (0.17.0)
Errno::EACCES: Permission denied - /Users/USERNAME/.rvm/gems/ruby-1.9.3-p385/gems/pg-0.17.0/.gemtest
An error occurred while installing pg (0.17.0), and Bundler cannot continue.
Make sure that `gem install pg -v '0.17.0'` succeeds before bundling.
And gem install pg -v '0.17.0':
ERROR: While executing gem ... (Errno::EACCES)
Permission denied - /Users/USERNAME/.rvm/gems/ruby-1.9.3-p385/gems/pg-0.17.0/.gemtest
I tried to install pg via brew, but this doesn't work, too.
Can anyone help me?