mirror of
https://github.com/fog/fog.git
synced 2022-11-09 13:51:43 -05:00
Fix #2892: "rake travis" fails with can't modify frozen String
Make an unfrozen copy of RUBY_VERSION so that rubygems version can strip! it.
This commit is contained in:
parent
86edde28e1
commit
381364637a
1 changed files with 1 additions and 1 deletions
2
Rakefile
2
Rakefile
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue