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