| Summary: | Git push failed when add railsapp quickstart | ||
|---|---|---|---|
| Product: | OpenShift Container Platform | Reporter: | nsun <nsun> |
| Component: | Containers | Assignee: | Brenton Leanhardt <bleanhar> |
| Status: | CLOSED CURRENTRELEASE | QA Contact: | libra bugs <libra-bugs> |
| Severity: | medium | Docs Contact: | |
| Priority: | high | ||
| Version: | 2.2.0 | CC: | libra-onpremise-devel, tiwillia, xtian |
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2013-11-23 14:45:40 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: | |
|
Description
nsun
2013-10-09 04:43:30 UTC
*** Bug 1019511 has been marked as a duplicate of this bug. *** The reason this is failing is because when support for postgres was added the new user_env directory is referenced. This does not exist in OSE 1.2: .openshift/action_hooks/deploy: set_env_var 'RAILS_DB' $RAILS_DB $OPENSHIFT_HOMEDIR/.env/user_vars To workaround this in the meantime you can use these steps to create a working quickstart: rhc app create -a railsapp -t ruby-1.9 rhc cartridge add -a railsapp -c mysql-5.1 cd railsapp git remote add upstream -m master git://github.com/openshift/rails-example.git git fetch upstream git merge -s recursive -X theirs b6203669830f7d06e2b96393cd04f734e52daa18 b6203 is the commit just before the recent postgres support. Michal pushed a fix today: https://github.com/openshift/rails-example/pull/30 Railsapp Quickstart verified on OSE1.2. |