Skip to content

@saimonmoore /gist:887182
Created

Embed URL

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
#from:
#chef deploy resource callback
before_symlink do
rails_env = node["environment"]["framework_env"]
run ". /etc/profile; cd #{release_path} && bundle exec rails runner 'Sprocket.configurations.each { |c| Sprocket.new(c).install_script }' RAILS_ENV=#{rails_env}"
end
#to:
before_symlink do
rails_env = node["environment"]["framework_env"]
run "bash -l -c\" cd #{release_path} && bundle exec rails runner 'Sprocket.configurations.each { |c| Sprocket.new(c).install_script }' RAILS_ENV=#{rails_env}\""
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.