Permalink
Browse files

[fixes #44347205] Install libyaml to prevent verbose warnings and pos…

…sibly breakage in psych / yaml gems
  • Loading branch information...
1 parent 9b10efd commit 62da1799308697f44248aa40d2950004b6f29de7 Bleicke and Matthew Boedicker committed Feb 14, 2013
Showing with 22 additions and 5 deletions.
  1. +4 −0 config/blobs.yml
  2. +8 −0 packages/libyaml/packaging
  3. +4 −0 packages/libyaml/spec
  4. +1 −2 packages/ruby_next/packaging
  5. +5 −3 packages/ruby_next/spec
View
@@ -691,3 +691,7 @@ mysql/client-5.5.29-rel29.4-401.Linux.x86_64.tar.gz:
object_id: eyJvaWQiOiI0ZTRlNzhiY2E0MWUxMjEwMDRlNGU3ZDUxNzYxOGYwNTEwYjIx%0AZDI4YTJiYiIsInNpZyI6InJocVhmTUFMZEpTbHNERG5OTWczZVJOenlCWT0i%0AfQ==%0A
sha: 8dad5b2d9fee7b0a98e419949c6f7d94c39443f2
size: 4564276
+libyaml/yaml-0.1.4.tgz:
+ object_id: eyJvaWQiOiI0ZTRlNzhiY2E1MWUxMjIwMDRlNGU4ZWM2ODQwNzcwNTExZDM1%0AZmZjOTFiZCIsInNpZyI6IlIwQk51U2ZSTVQ1czgzVHpPQkZBVVFxYjJWaz0i%0AfQ==%0A
+ sha: e0e5e09192ab10a607e3da2970db492118f560f2
+ size: 471759
@@ -0,0 +1,8 @@
+# abort script on any command that exit with a non zero value
+set -e
+
+tar xzf libyaml/yaml-0.1.4.tgz
+cd yaml-0.1.4
+./configure --prefix=${BOSH_INSTALL_TARGET}
+make
+make install
View
@@ -0,0 +1,4 @@
+---
+name: libyaml
+files:
+ - libyaml/yaml-0.1.4.tgz
@@ -4,13 +4,12 @@ set -e
tar xzf ruby/ruby-1.9.3-p194.tar.gz
(
cd ruby-1.9.3-p194
- ./configure --prefix=${BOSH_INSTALL_TARGET} --disable-install-doc
+ ./configure --prefix=${BOSH_INSTALL_TARGET} --disable-install-doc --with-opt-dir=/var/vcap/packages/libyaml
make
make install
)
tar zxvf ruby/rubygems-1.8.24.tgz
-
(
cd rubygems-1.8.24
View
@@ -1,6 +1,8 @@
---
name: ruby_next
+dependency:
+ - libyaml
files:
-- ruby/ruby-1.9.3-p194.tar.gz
-- ruby/rubygems-1.8.24.tgz
-- ruby/bundler-1.2.1.gem
+ - ruby/ruby-1.9.3-p194.tar.gz
+ - ruby/rubygems-1.8.24.tgz
+ - ruby/bundler-1.2.1.gem

0 comments on commit 62da179

Please sign in to comment.