Skip to content

Commit

Permalink
Merge pull request #397 from AmirMingaliev/rake-11-compatibility
Browse files Browse the repository at this point in the history
Fix rake_version method
  • Loading branch information
jondeandres committed Mar 10, 2016
2 parents 7845606 + 5a0485f commit f7de69f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/rollbar/rake.rb
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,8 @@ def self.patch?
def self.rake_version
if Object.const_defined?('RAKEVERSION')
return RAKEVERSION
elsif Rake.const_defined?('VERSION')
return Rake::VERSION
elsif ::Rake.const_defined?('VERSION')
return ::Rake::VERSION
end
end
end
Expand Down

0 comments on commit f7de69f

Please sign in to comment.