Skip to content

Instantly share code, notes, and snippets.

@axilleas
Created August 2, 2014 17:04
Show Gist options
  • Select an option

  • Save axilleas/e6789c6e4687fceba692 to your computer and use it in GitHub Desktop.

Select an option

Save axilleas/e6789c6e4687fceba692 to your computer and use it in GitHub Desktop.
Notes on Redhat's OpenShift with Ruby on Rails

Example

https://github.com/openshift/rails4-example

Tips

  1. NOTE: To disable assets compilation use disable_asset_compilation marker.
  2. NOTE: You can prevent installing certain Gemfile group using: rhc env set BUNDLE_WITHOUT=groupname
  3. NOTE: You can commit .openshift/markers/force_clean_build to force a clean bundle. Just touch the file.

Behind the scenes

Install behind the scenes

  1. bundle install --deployment --path ./app-root/repo/vendor/bundle
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment