Red Hat Bugzilla – Bug 982535
GMP native library not included in the server stack image
Last modified: 2015-05-14 19:23:24 EDT
Description of problem:
When trying to deploy (git push) a Ruby on Rails app with the GMP gem, the production environment fails to bundle the gem due to lack of native support of GMP in the Openshift server stack.
The app works fine in development because GMP is installed in my development environment.
Version-Release number of selected component (if applicable):
Simply push a RoR app with a line "gem gmp" in its Gemfile. All versions of the gem will fail to bundle install on the Openshift server.
Steps to Reproduce:
Checked on devenv_3473, gmp can be installed for ruby app.
remote: Stopping Ruby cart
remote: Waiting for stop to finish
remote: Running build on Ruby cart
remote: Bundling RubyGems based on Gemfile/Gemfile.lock to repo/vendor/bundle with 'bundle install --deployment'
remote: Fetching gem metadata from https://rubygems.org/..
remote: Installing gmp (0.6.31) with native extensions .
remote: Using bundler (1.1.4)
remote: Your bundle is complete! It was installed into ./vendor/bundle
remote: Starting Ruby cart
081c772..ac145a4 master -> master