Trying to bundle install a gem from github (The author has not updated the gem on rubygems.org for whatever reason...) in AWS Elastic Beanstalk but I receive the following error:
Command failed on instance. R
(TRUNCATED)...nd `git clone "https://github.com/Diego81/omnicontacts.git"
Here's the code in my gemfile
gem 'omnicontacts', git: "https://github.com/Diego81/omnicontacts.git"
Other things i've tried...
gem 'omnicontacts', git: "git://github.com/Diego81/omnicontacts.git"
gem 'omnicontacts', github: "Diego81/omnicontacts"
Still the same error with everything I've tried. I've also tried this with other gems and I receive the same error. I should also note, this works perfectly on my local machine, it seems to be an issue with Elastic Beanstalk.
Ok I solved this by installing git on my EC2 instance. Just ssh into your instance and run the following:
sudo yum install git
and that should fix the problem.