Bug 982535

Summary: GMP native library not included in the server stack image
Product: OpenShift Online Reporter: boussac <pierre.75011>
Component: ContainersAssignee: Mrunal Patel <mpatel>
Status: CLOSED CURRENTRELEASE QA Contact: libra bugs <libra-bugs>
Severity: medium Docs Contact:
Priority: medium    
Version: 2.xCC: bmeng, mpatel, yadu
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: All   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2013-07-22 15:23:06 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description boussac 2013-07-09 09:04:48 UTC
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):


How reproducible:
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:
1.
2.
3.

Actual results:


Expected results:


Additional info:

Comment 2 Meng Bo 2013-07-10 09:56:45 UTC
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: ....................
remote: ..
remote: 
remote: Using bundler (1.1.4) 
remote: Your bundle is complete! It was installed into ./vendor/bundle
remote: Starting Ruby cart
To ssh://51dd2f2a02597e085e000006.rhcloud.com/~/git/ruby19.git/
   081c772..ac145a4  master -> master