[ruby-core:84304] [Ruby trunk Bug#14189] Webrick 1.4.0. release requires unreleased ruby version 2.5.0dev

From: Greg.mpls@...
Date: 2017-12-16 15:26:14 UTC
List: ruby-core #84304
Issue #14189 has been updated by MSP-Greg (Greg L).

File webrick_uplevel.patch added

normalperson (Eric Wong) wrote:
>  The thing is, ruby 2.4 and earlier do not have webrick installed as a
>  gem by default; it wasn't a default gem until 2.5.  So "gem update"
>  for a 2.4 user should still never see this unless they willingly
>  had an ancient 1.3.1 installed.

You're correct.  Considering that I have Travis & Appveyor pages that show that info, I should have checked.

I tried the attached patch to remove the :uplevel parameter for ruby < 2.5, and it passed on Appveyor & Travis for Ruby 2.4.  Assumes 2.10 never exists.  Most Ruby 2.3 versions had one failure.

Thanks, Greg

----------------------------------------
Bug #14189: Webrick 1.4.0. release requires unreleased ruby version 2.5.0dev
https://bugs.ruby-lang.org/issues/14189#change-68461

* Author: tb@panorama9.com (Thomas Balsl淡v)
* Status: Open
* Priority: Normal
* Assignee: 
* Target version: 
* ruby -v: 
* Backport: 2.3: UNKNOWN, 2.4: UNKNOWN
----------------------------------------
Hi Team!

We have just encountered a blocking bug in the Webrick gem version 1.4.0.
The gemspec is requiring an as yet unreleased version of ruby:

Gem::InstallError: webrick requires Ruby version >= 2.5.0dev.
An error occurred while installing webrick (1.4.0), and Bundler cannot continue.
Make sure that `gem install webrick -v '1.4.0'` succeeds before bundling.

https://github.com/ruby/ruby/blob/9cbb3bd1f2b05d59b6dd315ebdec295c2ced6c01/lib/webrick/webrick.gemspec#L13

It seems like a mixup happened between the branches with the 1.4.0 release.

Please fix ASAP.

Thanks!

Best regards, Thomas Balsl淡v.



---Files--------------------------------
webrick_uplevel.patch (1.23 KB)


-- 
https://bugs.ruby-lang.org/

Unsubscribe: <mailto:ruby-core-request@ruby-lang.org?subject=unsubscribe>
<http://lists.ruby-lang.org/cgi-bin/mailman/options/ruby-core>

In This Thread

Prev Next