Skip to content

Commit

Permalink
Merge pull request #2913 from porridge/fix-coveralls
Browse files Browse the repository at this point in the history
Fix #2892: "rake travis" fails with can't modify frozen String
  • Loading branch information
Kyle Rames committed May 9, 2014
2 parents 8bf84b2 + 3813646 commit 996a107
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Rakefile
Original file line number Diff line number Diff line change
Expand Up @@ -214,7 +214,7 @@ require "tasks/github_release_task"
Fog::Rake::GithubReleaseTask.new

task :coveralls_push_workaround do
use_coveralls = (Gem::Version.new(RUBY_VERSION) > Gem::Version.new('1.9.2'))
use_coveralls = (Gem::Version.new(String.new(RUBY_VERSION)) > Gem::Version.new('1.9.2'))
if (ENV['COVERAGE'] != 'false') && use_coveralls
require 'coveralls/rake/task'
Coveralls::RakeTask.new
Expand Down

0 comments on commit 996a107

Please sign in to comment.