Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
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...
commit cb7ba19f4c03aedec04c34b065e279f639da60c5 1 parent 731e1df
@mariash mariash authored
View
1  dev_setup/bin/vcap_dev
@@ -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")
View
1  dev_setup/cookbooks/deployment/recipes/default.rb
@@ -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],
View
1  dev_setup/cookbooks/deployment/templates/default/deployment_info.json.erb
@@ -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
@@ -1 +1 @@
-Subproject commit 206b1071298dc25dcfb8ca4f0004a2edbc3b0b7e
+Subproject commit e39a0943b54ae2cc8527c7de5ed764a486176c17
Please sign in to comment.
Something went wrong with that request. Please try again.