Created

Embed URL

HTTPS clone URL

SSH clone URL

You can clone with HTTPS or SSH.

Download Gist
View gist:887182
1 2 3 4 5 6 7 8 9 10 11 12 13
#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.