Skip to content

Commit

Permalink
Merge pull request rubygems#1196 from quix/amend-rake-0.9-support
Browse files Browse the repository at this point in the history
amend Rake 0.9 support
  • Loading branch information
Andre Arko committed May 27, 2011
2 parents 5bb22fc + c4fd529 commit 55694ba
Showing 1 changed file with 2 additions and 7 deletions.
9 changes: 2 additions & 7 deletions lib/bundler/gem_helper.rb
Expand Up @@ -2,15 +2,10 @@
require 'thor'
require 'bundler'

begin
# Support Rake > 0.8.7
require 'rake/dsl_definition'
include Rake::DSL
rescue LoadError
end

module Bundler
class GemHelper
include Rake::DSL if defined? Rake::DSL

def self.install_tasks(opts = {})
dir = opts[:dir] || Dir.pwd
self.new(dir, opts[:name]).install
Expand Down

0 comments on commit 55694ba

Please sign in to comment.