Permalink
Browse files

Bump stager for assets precompilation

- Add node runtime to ruby path for JavaScript compilation

stager shortlog 206b107..e39a094
Jennifer Hickey and Matthew Kocher (1):
  Bump vcap-staging

Maria Shaldybina (1):
  Assets precompilation for rails3 and fixes

Pieter Noordhuis (1):
  Bump vcap-staging

Change-Id: I5610c7364c10fc96fbf13a97ab2dd5624838b203
  • Loading branch information...
mariash committed Dec 5, 2012
1 parent 731e1df commit cb7ba19f4c03aedec04c34b065e279f639da60c5
View
@@ -83,6 +83,7 @@ end
if vcap_components["components"].include?("stager")
ENV["PLATFORM_CONFIG"]=File.join(deployment_config_path, "platform.yml")
+ ENV["PATH"] = "#{deployment_info["node_bin_dir"]}:#{ENV["PATH"]}"
end
if vcap_components["components"].include?("uaa")
@@ -55,6 +55,7 @@
variables({
:name => node[:deployment][:name],
:ruby_bin_dir => File.join(node[:ruby][:path], "bin"),
+ :node_bin_dir => File.join(node[:node08][:path], "bin"),
:maven_bin_dir => File.join(node[:maven][:path], "bin"),
:cloudfoundry_home => node[:cloudfoundry][:home],
:cloudfoundry_path => node[:cloudfoundry][:path],
@@ -1,6 +1,7 @@
{
"name": "<%= @name %>",
"ruby_bin_dir": "<%= @ruby_bin_dir %>",
+ "node_bin_dir": "<%= @node_bin_dir %>",
"maven_bin_dir": "<%= @maven_bin_dir %>",
"cloudfoundry_home": "<%= @cloudfoundry_home %>",
"cloudfoundry_path": "<%= @cloudfoundry_path %>",
2 stager

0 comments on commit cb7ba19

Please sign in to comment.