Bug 984991
Summary: | ruby 1.9 cartridge defaults to "'bundle exec rake assets:precompile'" | ||
---|---|---|---|
Product: | OpenShift Container Platform | Reporter: | Brenton Leanhardt <bleanhar> |
Component: | Containers | Assignee: | Brenton Leanhardt <bleanhar> |
Status: | CLOSED ERRATA | QA Contact: | libra bugs <libra-bugs> |
Severity: | medium | Docs Contact: | |
Priority: | medium | ||
Version: | 1.2.0 | CC: | adellape, bmeng, ejacobs, gpei, libra-onpremise-devel, xtian, yanpzhan |
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | openshift-origin-cartridge-ruby-0.4.10.1-1 | Doc Type: | Bug Fix |
Doc Text: |
Due to logic in the Ruby cartridge expecting a Rails application layout, users of Sinatra and other popular Ruby web frameworks experienced confusing error messages about asset precompilation. With this fix, precompilation is only attempted if the Ruby application Rakefile supports it and the error messages no longer occur.
|
Story Points: | --- |
Clone Of: | 970658 | Environment: | |
Last Closed: | 2013-08-05 17:19:29 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: | |||
Bug Depends On: | 970658 | ||
Bug Blocks: |
Description
Brenton Leanhardt
2013-07-16 14:13:51 UTC
Verify this bug on puddle 1.2/2013-07-18.4 Steps: 1. Create ruby-1.8 and ruby-1.9 app 2. cd app2 touch Rakefile curl -O https://gist.github.com/BanzaiMan/71d71d884937848d3184/raw/4824c4815eb785de278e356b9b8a22a347520a2f/Gemfile bundle install 3. git add Rakefile Gemfile* && git commit -m 'empty Rakefile and Gemfile with "rake"' && git push [root@dhcp-8-133 app2]# git push Counting objects: 5, done. Delta compression using up to 8 threads. Compressing objects: 100% (3/3), done. Writing objects: 100% (4/4), 490 bytes, done. Total 4 (delta 1), reused 0 (delta 0) remote: Stopping Ruby cart remote: httpd: Could not reliably determine the server's fully qualified domain name, using node1.osetestv2auto.com for ServerName 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 rake (10.1.0) remote: Using bundler (1.1.4) remote: Your bundle is complete! It was installed into ./vendor/bundle remote: Starting Ruby cart remote: httpd: Could not reliably determine the server's fully qualified domain name, using node1.osetestv2auto.com for ServerName To ssh://51e8aca66088674521000018.com/~/git/app2.git/ 0c01c80..78713be master -> master Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. http://rhn.redhat.com/errata/RHBA-2013-1138.html |