File tree Expand file tree Collapse file tree 1 file changed +5
-1
lines changed Expand file tree Collapse file tree 1 file changed +5
-1
lines changed Original file line number Diff line number Diff line change 2
2
$as_vagrant = ' sudo -u vagrant -H bash -l -c'
3
3
$home = ' /home/vagrant'
4
4
5
+ # Pick one modern enough, supported in recent Rails versions, and for which RVM
6
+ # provides binaries.
7
+ $ruby_version = ' 2.0.0-p353'
8
+
5
9
Exec {
6
10
path => [' /usr/sbin' , ' /usr/bin' , ' /sbin' , ' /bin' ]
7
11
}
135
139
# The rvm executable is more suitable for automated installs.
136
140
#
137
141
# use a ruby patch level known to have a binary
138
- command => " ${as_vagrant} '${home} /.rvm/bin/rvm install ruby-2.0.0-p353 --binary --autolibs=enabled && rvm alias create default 2.0 '" ,
142
+ command => " ${as_vagrant} '${home} /.rvm/bin/rvm install ruby-${ruby_version} --binary --autolibs=enabled && rvm alias create default ${ruby_version} '" ,
139
143
creates => " ${home} /.rvm/bin/ruby" ,
140
144
require => Exec[' install_rvm' ]
141
145
}
You can’t perform that action at this time.
0 commit comments