From 4bb355eb9a711816d775dea2b89f3e9d9437a803 Mon Sep 17 00:00:00 2001 From: Henrik Lissner Date: Thu, 21 Aug 2014 03:29:03 -0400 Subject: [PATCH] Simpler rbenv rakefile --- rake/pkg/rbenv.rake | 32 +------------------------------- 1 file changed, 1 insertion(+), 31 deletions(-) diff --git a/rake/pkg/rbenv.rake b/rake/pkg/rbenv.rake index 5f363df8..1f3a757c 100644 --- a/rake/pkg/rbenv.rake +++ b/rake/pkg/rbenv.rake @@ -5,8 +5,6 @@ task :rbenv => 'rbenv:update' namespace :rbenv do - GLOBAL_GEMS = %w{bundler pry rspec rake bluecloth} - task :install do unless Rbenv.is_installed? echo "Installing rbenv" @@ -14,22 +12,6 @@ namespace :rbenv do end end - task :v2_0 => "rbenv:install" do - v = "2.0.0-p451" - unless Rbenv.is_version_installed?(v) - echo "Building ruby #{v}" - Rbenv.install v, GLOBAL_GEMS - end - end - - task :v1_9 => "rbenv:install" do - v = "1.9.3-p545" - unless Rbenv.is_version_installed?(v) - echo "Building ruby #{v}" - Rbenv.install v, GLOBAL_GEMS - end - end - task :remove do if Rbenv.is_installed? echo "rbenv isn't installed!" @@ -40,22 +22,10 @@ namespace :rbenv do end task :update => "rbenv:install" do - Rbenv.installed_versions.each do |v| + Rbenv.installed_versions.each do |v| echo "Updating ruby #{v}" Rbenv.update v end end - namespace :gem do - - task :install, [:gem, :all_rubies] do |t, args| - - end - - task :remove, [:gem, :all_rubies] do |t, args| - - end - - end - end