[#76442] [Ruby trunk Feature#11741] Migrate Ruby to Git from Subversion — naruse@...
Issue #11741 has been updated by Yui NARUSE.
3 messages
2016/07/19
[#76515] [Ruby trunk Bug#12610] webrick: protect from httpoxy — nagachika00@...
Issue #12610 has been updated by Tomoyuki Chikanaga.
3 messages
2016/07/22
[ruby-core:76485] [Ruby trunk Bug#12601][Third Party's Issue] Ruby 2.3 Gem.datadir returns wrong directory when referring to gem data directory
From:
nobu@...
Date:
2016-07-21 01:18:49 UTC
List:
ruby-core #76485
Issue #12601 has been updated by Nobuyoshi Nakada. Status changed from Open to Third Party's Issue Please report to the upstream of rubygems. ---------------------------------------- Bug #12601: Ruby 2.3 Gem.datadir returns wrong directory when referring to gem data directory https://bugs.ruby-lang.org/issues/12601#change-59725 * Author: David Siaw * Status: Third Party's Issue * Priority: Normal * Assignee: * ruby -v: ruby 2.3.1p112 (2016-04-26 revision 54768) [x86_64-darwin14] * Backport: 2.1: UNKNOWN, 2.2: UNKNOWN, 2.3: UNKNOWN ---------------------------------------- In Ruby 2.2.2 I used to be able to refer to a gem's source directory in Gemfile, for example "/Users/david/programs/weaver", and Gem.datadir would return the data directory in that dir "/Users/david/programs/weaver/data/weaver". However that changed in Ruby 2.3, after changing to Ruby 2.3, all of a sudden it started returning a different directory: "/Users/david/programs/gems/weaver-0.3.4/data/weaver" The "gems" directory does not (and should not) even exist, and I never created one, and the output of `pwd` when checking Gem.datadir is "/Users/david/programs/weaver-doc-source" I have checked the changelogs and could not find any mention of changes to the Gem class that should affect this This seems like a piece of debug code has made it into the Gem class. This is not apparently a bundler issue since it does not happen with either the version of bundler I used or the latest version of bundler. The Ruby version is the only variable of consequence here. -- 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>