Skip to content

Commit

Permalink
updates ruby and ruby-install
Browse files Browse the repository at this point in the history
  • Loading branch information
Callum Pease committed Jan 26, 2021
1 parent 70b90fc commit c2d1f4d
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion cookbooks/ey-lib/libraries/ey-environment.rb
Original file line number Diff line number Diff line change
Expand Up @@ -138,7 +138,7 @@ def default_ruby_version(ruby_archtype)
:ruby_240 => "2.4.10",
:ruby_250 => "2.5.8",
:ruby_260 => "2.6.6",
:ruby_270 => "2.7.1"
:ruby_270 => "2.7.2"
}
if versions.has_key?(ruby_archtype.to_sym)
version = versions[ruby_archtype.to_sym]
Expand Down
6 changes: 3 additions & 3 deletions cookbooks/ruby/recipes/default.rb
Original file line number Diff line number Diff line change
Expand Up @@ -14,13 +14,13 @@
end

execute "extract-ruby-install" do
command "tar xzf /tmp/src/ruby-install-0.7.0.1.tar.gz && cd ruby-install-0.7.0.1 && make install"
command "tar xzf /tmp/src/ruby-install-0.8.1.1.tar.gz && cd ruby-install-0.8.1.1 && make install"
cwd "/tmp/src"
action :nothing
end

remote_file "/tmp/src/ruby-install-0.7.0.1.tar.gz" do
source "https://github.com/engineyard/ruby-install/archive/v0.7.0.1.tar.gz"
remote_file "/tmp/src/ruby-install-0.8.1.1.tar.gz" do
source "https://github.com/engineyard/ruby-install/archive/v0.8.1.1.tar.gz"
owner "root"
group "root"
mode '0755'
Expand Down

0 comments on commit c2d1f4d

Please sign in to comment.