Skip to content

Commit

Permalink
enable autolibs in ruby install [fixes #23]
Browse files Browse the repository at this point in the history
  • Loading branch information
fxn committed Mar 27, 2013
1 parent 6d07a0e commit ade040d
Showing 1 changed file with 2 additions and 7 deletions.
9 changes: 2 additions & 7 deletions puppet/manifests/default.pp
Original file line number Diff line number Diff line change
Expand Up @@ -106,11 +106,6 @@
ensure => installed
}

# Required for Ruby binary install
package { 'libyaml-dev':
ensure => installed
}

# Nokogiri dependencies.
package { ['libxml2', 'libxml2-dev', 'libxslt1-dev']:
ensure => installed
Expand All @@ -135,9 +130,9 @@
# The rvm executable is more suitable for automated installs.
#
# Thanks to @mpapis for this tip.
command => "${as_vagrant} '${home}/.rvm/bin/rvm install 1.9.3 --latest-binary && rvm --fuzzy alias create default 1.9.3'",
command => "${as_vagrant} '${home}/.rvm/bin/rvm install 1.9.3 --latest-binary --autolibs=enabled && rvm --fuzzy alias create default 1.9.3'",
creates => "${home}/.rvm/bin/ruby",
require => [ Package['libyaml-dev'], Exec['install_rvm'] ]
require => Exec['install_rvm']
}

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

0 comments on commit ade040d

Please sign in to comment.