Actions
Refactor #17011
closedAllow override of BUNDLER_CMD in foreman-rake
Description
Allow BUNDLER_CMD in foreman-rake script to be set from a build script, then not overridden when a Gemfile is present. Currently this line overrides it:
[ -f Gemfile ] && && BUNDLER_CMD="bundle exec"
but for some OSes (i.e. Ubuntu 14.04) it should be overridden during build to use a particular Ruby binary.
A user on IRC did hit this:
foreman-rake uses the wrong ruby: Notice: /Stage[main]/Foreman::Database/Foreman::Rake[db:seed]/Exec[foreman-rake-db:seed]/returns: /opt/puppetlabs/puppet/lib/ruby/2.1.0/rubygems/core_ext/kernel_require.rb:55:in `require': cannot load such file -- bundler (LoadError)
Updated by Dominic Cleal about 8 years ago
- Copied from Bug #15834: foreman-rake doesn't use foreman-ruby added
Updated by Dominic Cleal about 8 years ago
- Status changed from Assigned to Ready For Testing
Updated by Anonymous about 8 years ago
- Status changed from Ready For Testing to Closed
- % Done changed from 0 to 100
Applied in changeset 91cfc0ca500080108adc52148d719d971bc6d368.
Updated by Dominic Cleal about 8 years ago
- Translation missing: en.field_release set to 189
Actions