I am using the application_ruby libraries to install a rails app. My chef
environment name is different from the RAILS_ENV variable I want the "bundler"
and “precompile_assets” actions to run as.
When I write
The bundler and precompile_assets do not run as RAILS_ENV=stage but run as the
chef environment name.
Even "environment ‘RAILS_ENV’ => ‘stage’ " doesn’t work.
This works perfectly fine for the application libraries and the deploy resource
of chef,but not for the application_ruby library which is based off of the
deploy and application resources.
Anyone knows how I can make this work. I don’t want to set the ruby environment
name to stage for various different reasons, so that solution isn’t going to
work for me.