Skip to content

Commit ade040d

Browse files
committed
enable autolibs in ruby install [fixes rails#23]
1 parent 6d07a0e commit ade040d

File tree

1 file changed

+2
-7
lines changed

1 file changed

+2
-7
lines changed

puppet/manifests/default.pp

Lines changed: 2 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -106,11 +106,6 @@
106106
ensure => installed
107107
}
108108

109-
# Required for Ruby binary install
110-
package { 'libyaml-dev':
111-
ensure => installed
112-
}
113-
114109
# Nokogiri dependencies.
115110
package { ['libxml2', 'libxml2-dev', 'libxslt1-dev']:
116111
ensure => installed
@@ -135,9 +130,9 @@
135130
# The rvm executable is more suitable for automated installs.
136131
#
137132
# Thanks to @mpapis for this tip.
138-
command => "${as_vagrant} '${home}/.rvm/bin/rvm install 1.9.3 --latest-binary && rvm --fuzzy alias create default 1.9.3'",
133+
command => "${as_vagrant} '${home}/.rvm/bin/rvm install 1.9.3 --latest-binary --autolibs=enabled && rvm --fuzzy alias create default 1.9.3'",
139134
creates => "${home}/.rvm/bin/ruby",
140-
require => [ Package['libyaml-dev'], Exec['install_rvm'] ]
135+
require => Exec['install_rvm']
141136
}
142137

143138
exec { "${as_vagrant} 'gem install bundler --no-rdoc --no-ri'":

0 commit comments

Comments
 (0)