Hey all -- using Cedar with Rails 3.2.2 and getting an interesting
error when deploying (pasted below). My gemfile is also included
below. Basically I'm installing a gem from a git url (gem 'amazon-
ecs', git: 'git://github.com/kylebragger/amazon-ecs.git') that has a
dependency on ruby-hmac. Even when trying to require that gem first,
bundler barfs when running on Heroku. I do -not- have this issue
locally, and my environments are seemingly identical. I'm using rvm
gemsets and never manually install gems via cmdline, only using
bundler.
Error message when trying to deploy:
-----> Heroku receiving push
-----> Ruby/Rails app detected
-----> Installing dependencies using Bundler version 1.1.2
Running: bundle install --without development:test --path
vendor/bundle --binstubs bin/ --deployment
Fetching gem metadata from https://rubygems.org/.......
Fetching gem metadata from https://rubygems.org/..
Fetching git://github.com/kylebragger/amazon-ecs.git
There was a LoadError while evaluating amazon-ecs.gemspec:
no such file to load -- hmac-sha2 from
/tmp/build_1u2wfie65e34c/vendor/bundle/ruby/1.9.1/bundler/gems/
amazon-ecs-1a5bd8b327af/amazon-ecs.gemspec:3:in `<main>'
Does it try to require a relative path? That doesn't work in
Ruby 1.9.
!
! Failed to install gems via Bundler.
!
! Heroku push rejected, failed to compile Ruby/rails app
Relevant bits of gemfile:
gem "ruby-hmac", "~> 0.3"
gem 'httparty'
gem 'itunes-search', git: 'git://github.com/kylebragger/itunes-
search.git'
gem 'amazon-ecs', git: 'git://github.com/kylebragger/amazon-ecs.git'
--
You received this message because you are subscribed to the Google
Groups "Heroku" group.
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/heroku?hl=en_US?hl=en