diff options
Diffstat (limited to 'dev-ruby/serverengine')
-rw-r--r-- | dev-ruby/serverengine/serverengine-2.3.0.ebuild | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/dev-ruby/serverengine/serverengine-2.3.0.ebuild b/dev-ruby/serverengine/serverengine-2.3.0.ebuild index a93443157f38..5ca4aae1ebae 100644 --- a/dev-ruby/serverengine/serverengine-2.3.0.ebuild +++ b/dev-ruby/serverengine/serverengine-2.3.0.ebuild @@ -24,11 +24,15 @@ ruby_add_bdepend "test? ( dev-ruby/bundler dev-ruby/timecop )" all_ruby_prepare() { sed -i -e '/rake/ s/~>/>=/' \ - -e '/rspec/ s/2.13.0/2.13/' \ + -e '/rspec/ s/2.13.0/3.0/' \ -e '/rake-compiler/ s:^:#:' serverengine.gemspec || die + + sed -i -e '/color_enabled/ s:^:#:' -e '1irequire "fileutils"' spec/spec_helper.rb || die + + sed -i -e '/raises SystemExit/askip "Exits rspec 3"' spec/multi_process_server_spec.rb || die } each_ruby_test() { # The specs spawn ruby processes with bundler support - ${RUBY} -S bundle exec rspec-2 spec || die + ${RUBY} -S bundle exec rspec-3 spec || die } |