User:Gozer/cloudfoundry setup: Difference between revisions

No edit summary
Line 28: Line 28:


== Couldfoundry Install ==
== Couldfoundry Install ==
NOTE: This needed a small patch for the ruby chef recipe to work
[https://github.com/gozer-mozilla/vcap/commit/bc71cfb1491ddab40fbb39b820ae1fd2d5c8885e.diff ruby.diff]
diff --git a/dev_setup/cookbooks/ruby/recipes/default.rb b/dev_setup/cookbooks/ruby/recipes/default.rb
index 0cbcb61..ffa950e 100644
--- a/dev_setup/cookbooks/ruby/recipes/default.rb
+++ b/dev_setup/cookbooks/ruby/recipes/default.rb
@@ -23,7 +23,7 @@
    action :create
  end
 
-bash "Install Ruby" do
+bash "Install Ruby #{ruby_version} in #{ruby_path}" do
    cwd File.join("", "tmp")
    user node[:deployment][:user]
    code <<-EOH
@@ -44,7 +44,7 @@
    not_if { ::File.exists?(File.join("", "tmp", "rubygems-#{rubygems_version}.tgz")) }
  end
 
-bash "Install RubyGems" do
+bash "Install RubyGems #{rubygems_version} for #{ruby_path}" do
    cwd File.join("", "tmp")
    user node[:deployment][:user]
    code <<-EOH


=== vcap-controller1 ===
=== vcap-controller1 ===
Administrators, MozillaWiki team
918

edits