We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 9bf9052 commit 83ac30cCopy full SHA for 83ac30c
2 files changed
cookbooks/ruby/attributes/default.rb
@@ -15,4 +15,5 @@
15
# limitations under the License.
16
#
17
18
+default['ruby']['folder'] = '2.0'
19
default['ruby']['version'] = '2.0.0-p481'
cookbooks/ruby/recipes/default.rb
@@ -23,7 +23,7 @@
23
24
bash "install ruby v.#{node['ruby']['version']}" do
25
code <<-EOH
26
- wget http://cache.ruby-lang.org/pub/ruby/2.0/ruby-#{node['ruby']['version']}.tar.gz
+ wget http://cache.ruby-lang.org/pub/ruby/#{node['ruby']['folder']}/ruby-#{node['ruby']['version']}.tar.gz
27
tar -xzvf ruby-#{node['ruby']['version']}.tar.gz
28
cd ruby-#{node['ruby']['version']}
29
./configure
0 commit comments