From noreply at rubyforge.org Wed Mar 3 03:42:09 2010 From: noreply at rubyforge.org (noreply at rubyforge.org) Date: Wed, 3 Mar 2010 03:42:09 -0500 (EST) Subject: [Rubygems-developers] [ rubygems-Bugs-27917 ] A warning occurs when I run gem update --system (Ruby 1.9.1) Message-ID: <20100303084209.E5E0418582FA@rubyforge.org> Bugs item #27917, was opened at 2010-03-03 08:42 You can respond by visiting: http://rubyforge.org/tracker/?func=detail&atid=575&aid=27917&group_id=126 Category: None Group: None Status: Open Resolution: None Priority: 3 Submitted By: katherine pe (bridgeutopia) Assigned to: Nobody (None) Summary: A warning occurs when I run gem update --system (Ruby 1.9.1) Initial Comment: $ gem update --system WARNING: /usr/lib/ruby/gems/1.8/specifications/archive-tar-minitar-0.5.1.gemspec:12: invalid multibyte char (UTF-8) /usr/lib/ruby/gems/1.8/specifications/archive-tar-minitar-0.5.1.gemspec:12: syntax error, unexpected tIDENTIFIER, expecting keyword_end ...d heavily on Mauricio Fern?ndez's implementation in rpa-base... ... ^ /usr/lib/ruby/gems/1.8/specifications/archive-tar-minitar-0.5.1.gemspec:31: syntax error, unexpected tFLOAT, expecting keyword_end ...rsion) >= Gem::Version.new('1.2.0') then ... ^ /usr/lib/ruby/gems/1.8/specifications/archive-tar-minitar-0.5.1.gemspec:31: no . floating literal anymore; put 0 before dot ...sion) >= Gem::Version.new('1.2.0') then ... ^ /usr/lib/ruby/gems/1.8/specifications/archive-tar-minitar-0.5.1.gemspec:31: unterminated string meets end of file WARNING: # -*- encoding: utf-8 -*- Gem::Specification.new do |s| s.name = %q{archive-tar-minitar} s.version = "0.5.1" s.required_rubygems_version = nil if s.respond_to? :required_rubygems_version= s.autorequire = %q{archive/tar/minitar} s.cert_chain = nil s.date = %q{2004-09-27} s.default_executable = %q{minitar} s.description = %q{Archive::Tar::Minitar is a pure-Ruby library and command-line utility that provides the ability to deal with POSIX tar(1) archive files. The implementation is based heavily on Mauricio Fern?ndez's implementation in rpa-base, but has been reorganised to promote reuse in other projects.} s.email = %q{minitar at halostatue.ca} s.executables = ["minitar"] s.extra_rdoc_files = ["README", "ChangeLog", "Install"] s.files = ["bin", "ChangeLog", "Install", "lib", "Rakefile", "README", "tests", "bin/minitar", "lib/archive", "lib/archive/tar", "lib/archive/tar/minitar", "lib/archive/tar/minitar.rb", "lib/archive/tar/minitar/command.rb", "tests/tc_tar.rb", "tests/testall.rb"] s.has_rdoc = true s.homepage = %q{http://rubyforge.org/projects/ruwiki/} s.rdoc_options = ["--title", "Archive::Tar::MiniTar -- A POSIX tarchive library", "--main", "README", "--line-numbers"] s.require_paths = ["lib"] s.required_ruby_version = Gem::Requirement.new(">= 1.8.1") s.rubyforge_project = %q{ruwiki} s.rubygems_version = %q{1.3.1} s.summary = %q{Provides POSIX tarchive management from Ruby programs.} s.test_files = ["tests/testall.rb"] if s.respond_to? :specification_version then current_version = Gem::Specification::CURRENT_SPECIFICATION_VERSION s.specification_version = 1 if Gem::Version.new(Gem::RubyGemsVersion) >= Gem::Version.new('1.2.0') then else end else end end WARNING: /usr/lib/ruby/gems/1.8/specifications/archive-tar-minitar-0.5.1.gemspec:12: invalid multibyte char (UTF-8) /usr/lib/ruby/gems/1.8/specifications/archive-tar-minitar-0.5.1.gemspec:12: syntax error, unexpected tIDENTIFIER, expecting keyword_end ...d heavily on Mauricio Fern?ndez's implementation in rpa-base... ... ^ /usr/lib/ruby/gems/1.8/specifications/archive-tar-minitar-0.5.1.gemspec:31: syntax error, unexpected tFLOAT, expecting keyword_end ...rsion) >= Gem::Version.new('1.2.0') then ... ^ /usr/lib/ruby/gems/1.8/specifications/archive-tar-minitar-0.5.1.gemspec:31: no . floating literal anymore; put 0 before dot ...sion) >= Gem::Version.new('1.2.0') then ... ^ /usr/lib/ruby/gems/1.8/specifications/archive-tar-minitar-0.5.1.gemspec:31: unterminated string meets end of file WARNING: # -*- encoding: utf-8 -*- Gem::Specification.new do |s| s.name = %q{archive-tar-minitar} s.version = "0.5.1" s.required_rubygems_version = nil if s.respond_to? :required_rubygems_version= s.autorequire = %q{archive/tar/minitar} s.cert_chain = nil s.date = %q{2004-09-27} s.default_executable = %q{minitar} s.description = %q{Archive::Tar::Minitar is a pure-Ruby library and command-line utility that provides the ability to deal with POSIX tar(1) archive files. The implementation is based heavily on Mauricio Fern?ndez's implementation in rpa-base, but has been reorganised to promote reuse in other projects.} s.email = %q{minitar at halostatue.ca} s.executables = ["minitar"] s.extra_rdoc_files = ["README", "ChangeLog", "Install"] s.files = ["bin", "ChangeLog", "Install", "lib", "Rakefile", "README", "tests", "bin/minitar", "lib/archive", "lib/archive/tar", "lib/archive/tar/minitar", "lib/archive/tar/minitar.rb", "lib/archive/tar/minitar/command.rb", "tests/tc_tar.rb", "tests/testall.rb"] s.has_rdoc = true s.homepage = %q{http://rubyforge.org/projects/ruwiki/} s.rdoc_options = ["--title", "Archive::Tar::MiniTar -- A POSIX tarchive library", "--main", "README", "--line-numbers"] s.require_paths = ["lib"] s.required_ruby_version = Gem::Requirement.new(">= 1.8.1") s.rubyforge_project = %q{ruwiki} s.rubygems_version = %q{1.3.1} s.summary = %q{Provides POSIX tarchive management from Ruby programs.} s.test_files = ["tests/testall.rb"] if s.respond_to? :specification_version then current_version = Gem::Specification::CURRENT_SPECIFICATION_VERSION s.specification_version = 1 if Gem::Version.new(Gem::RubyGemsVersion) >= Gem::Version.new('1.2.0') then else end else end end ---------------------------------------------------------------------- You can respond by visiting: http://rubyforge.org/tracker/?func=detail&atid=575&aid=27917&group_id=126 From noreply at rubyforge.org Wed Mar 3 04:12:48 2010 From: noreply at rubyforge.org (noreply at rubyforge.org) Date: Wed, 3 Mar 2010 04:12:48 -0500 (EST) Subject: [Rubygems-developers] [ rubygems-Patches-27918 ] Rake builder fails to quote path to rake Message-ID: <20100303091248.7FCB118582FA@rubyforge.org> Patches item #27918, was opened at 2010-03-03 11:12 You can respond by visiting: http://rubyforge.org/tracker/?func=detail&atid=577&aid=27918&group_id=126 Category: `gem install` (extensions) Group: None Status: Open Resolution: None Priority: 3 Submitted By: Stephen Sykes (sdsykes) Assigned to: Nobody (None) Summary: Rake builder fails to quote path to rake Initial Comment: The rake builder fails when there are spaces in the path to rake. This patch adds quotes to the path if needed. ---------------------------------------------------------------------- You can respond by visiting: http://rubyforge.org/tracker/?func=detail&atid=577&aid=27918&group_id=126 From noreply at rubyforge.org Wed Mar 3 14:55:10 2010 From: noreply at rubyforge.org (noreply at rubyforge.org) Date: Wed, 3 Mar 2010 14:55:10 -0500 (EST) Subject: [Rubygems-developers] [ rubygems-Bugs-27872 ] 1.3.6 " gem unpack" fails with " You don't have write permissions" error Message-ID: <20100303195510.A080218582FA@rubyforge.org> Bugs item #27872, was opened at 2010-02-22 18:07 You can respond by visiting: http://rubyforge.org/tracker/?func=detail&atid=575&aid=27872&group_id=126 Category: None Group: v1.3.x Status: Closed Resolution: Accepted Priority: 3 Submitted By: Timothy Jones (tjones) Assigned to: Eric Hodel (drbrain) >Summary: 1.3.6 "gem unpack" fails with "You don't have write permissions" error Initial Comment: Running "gem unpack" version 1.3.6 as a non-root user (without write permissions into the system gem repository) fails with a permissions error, even though the target directory IS writable. This appears to be a 1.3.6 regression as it worked properly before. ---------------------------------------------------------------------- >Comment By: Timothy Jones (tjones) Date: 2010-03-03 19:55 Message: I think a patch release should be issued for this ASAP. It is highly annoying. ---------------------------------------------------------------------- Comment By: Eric Hodel (drbrain) Date: 2010-02-24 06:00 Message: Fixed in r2458 ---------------------------------------------------------------------- You can respond by visiting: http://rubyforge.org/tracker/?func=detail&atid=575&aid=27872&group_id=126 From noreply at rubyforge.org Wed Mar 3 15:22:48 2010 From: noreply at rubyforge.org (noreply at rubyforge.org) Date: Wed, 3 Mar 2010 15:22:48 -0500 (EST) Subject: [Rubygems-developers] [ rubygems-Bugs-27872 ] 1.3.6 " gem unpack" fails with " You don't have write permissions" error Message-ID: <20100303202248.7EAA518582DF@rubyforge.org> Bugs item #27872, was opened at 2010-02-22 15:07 You can respond by visiting: http://rubyforge.org/tracker/?func=detail&atid=575&aid=27872&group_id=126 Category: None Group: v1.3.x Status: Closed Resolution: Accepted Priority: 3 Submitted By: Timothy Jones (tjones) Assigned to: Eric Hodel (drbrain) Summary: 1.3.6 "gem unpack" fails with "You don't have write permissions" error Initial Comment: Running "gem unpack" version 1.3.6 as a non-root user (without write permissions into the system gem repository) fails with a permissions error, even though the target directory IS writable. This appears to be a 1.3.6 regression as it worked properly before. ---------------------------------------------------------------------- >Comment By: Luis Lavena (luislavena) Date: 2010-03-03 17:22 Message: I think this issue is less critical than others like actual gem loading. At any time you can checkout the code from the repository and install yourself (ruby setup.rb) Each project has it's own release process, your annoyance level is not the priority, the whole project integrity is. ---------------------------------------------------------------------- Comment By: Timothy Jones (tjones) Date: 2010-03-03 16:55 Message: I think a patch release should be issued for this ASAP. It is highly annoying. ---------------------------------------------------------------------- Comment By: Eric Hodel (drbrain) Date: 2010-02-24 03:00 Message: Fixed in r2458 ---------------------------------------------------------------------- You can respond by visiting: http://rubyforge.org/tracker/?func=detail&atid=575&aid=27872&group_id=126 From noreply at rubyforge.org Wed Mar 3 15:31:19 2010 From: noreply at rubyforge.org (noreply at rubyforge.org) Date: Wed, 3 Mar 2010 15:31:19 -0500 (EST) Subject: [Rubygems-developers] [ rubygems-Bugs-27872 ] 1.3.6 & quot; gem unpack& quot; fails with & quot; You don't have write permissions& quot; error Message-ID: <20100303203119.DA3EE18582E4@rubyforge.org> Bugs item #27872, was opened at 2010-02-22 18:07 You can respond by visiting: http://rubyforge.org/tracker/?func=detail&atid=575&aid=27872&group_id=126 Category: None Group: v1.3.x Status: Closed Resolution: Accepted Priority: 3 Submitted By: Timothy Jones (tjones) Assigned to: Eric Hodel (drbrain) >Summary: 1.3.6 &quot;gem unpack&quot; fails with &quot;You don't have write permissions&quot; error Initial Comment: Running "gem unpack" version 1.3.6 as a non-root user (without write permissions into the system gem repository) fails with a permissions error, even though the target directory IS writable. This appears to be a 1.3.6 regression as it worked properly before. ---------------------------------------------------------------------- >Comment By: Timothy Jones (tjones) Date: 2010-03-03 20:31 Message: Understood. Perhaps you might consider automated testing in the future to prevent such regressions and maintain the integrity of the project. ---------------------------------------------------------------------- Comment By: Luis Lavena (luislavena) Date: 2010-03-03 20:22 Message: I think this issue is less critical than others like actual gem loading. At any time you can checkout the code from the repository and install yourself (ruby setup.rb) Each project has it's own release process, your annoyance level is not the priority, the whole project integrity is. ---------------------------------------------------------------------- Comment By: Timothy Jones (tjones) Date: 2010-03-03 19:55 Message: I think a patch release should be issued for this ASAP. It is highly annoying. ---------------------------------------------------------------------- Comment By: Eric Hodel (drbrain) Date: 2010-02-24 06:00 Message: Fixed in r2458 ---------------------------------------------------------------------- You can respond by visiting: http://rubyforge.org/tracker/?func=detail&atid=575&aid=27872&group_id=126 From noreply at rubyforge.org Thu Mar 4 02:20:15 2010 From: noreply at rubyforge.org (noreply at rubyforge.org) Date: Thu, 4 Mar 2010 02:20:15 -0500 (EST) Subject: [Rubygems-developers] [ rubygems-Bugs-27872 ] 1.3.6 & quot; gem unpack& quot; fails with & quot; You don't have write permissions& quot; error Message-ID: <20100304072016.6E58818582D4@rubyforge.org> Bugs item #27872, was opened at 2010-02-22 10:07 You can respond by visiting: http://rubyforge.org/tracker/?func=detail&atid=575&aid=27872&group_id=126 Category: None Group: v1.3.x Status: Closed Resolution: Accepted Priority: 3 Submitted By: Timothy Jones (tjones) Assigned to: Eric Hodel (drbrain) Summary: 1.3.6 &quot;gem unpack&quot; fails with &quot;You don't have write permissions&quot; error Initial Comment: Running "gem unpack" version 1.3.6 as a non-root user (without write permissions into the system gem repository) fails with a permissions error, even though the target directory IS writable. This appears to be a 1.3.6 regression as it worked properly before. ---------------------------------------------------------------------- >Comment By: Eric Hodel (drbrain) Date: 2010-03-03 23:20 Message: http://rubyforge.org/tracker/index.php?func=detail&aid=27868&group_id=126&atid=575 is more important, but I have no confirmation of a fix. You mean RubyGems should have a test suite like the one in the test directory? ---------------------------------------------------------------------- Comment By: Timothy Jones (tjones) Date: 2010-03-03 12:31 Message: Understood. Perhaps you might consider automated testing in the future to prevent such regressions and maintain the integrity of the project. ---------------------------------------------------------------------- Comment By: Luis Lavena (luislavena) Date: 2010-03-03 12:22 Message: I think this issue is less critical than others like actual gem loading. At any time you can checkout the code from the repository and install yourself (ruby setup.rb) Each project has it's own release process, your annoyance level is not the priority, the whole project integrity is. ---------------------------------------------------------------------- Comment By: Timothy Jones (tjones) Date: 2010-03-03 11:55 Message: I think a patch release should be issued for this ASAP. It is highly annoying. ---------------------------------------------------------------------- Comment By: Eric Hodel (drbrain) Date: 2010-02-23 22:00 Message: Fixed in r2458 ---------------------------------------------------------------------- You can respond by visiting: http://rubyforge.org/tracker/?func=detail&atid=575&aid=27872&group_id=126 From noreply at rubyforge.org Thu Mar 4 02:28:35 2010 From: noreply at rubyforge.org (noreply at rubyforge.org) Date: Thu, 4 Mar 2010 02:28:35 -0500 (EST) Subject: [Rubygems-developers] [ rubygems-Bugs-27917 ] A warning occurs when I run gem update --system (Ruby 1.9.1) Message-ID: <20100304072835.1361A18582D8@rubyforge.org> Bugs item #27917, was opened at 2010-03-03 00:42 You can respond by visiting: http://rubyforge.org/tracker/?func=detail&atid=575&aid=27917&group_id=126 Category: None Group: None Status: Open Resolution: None Priority: 3 Submitted By: katherine pe (bridgeutopia) Assigned to: Nobody (None) Summary: A warning occurs when I run gem update --system (Ruby 1.9.1) Initial Comment: $ gem update --system WARNING: /usr/lib/ruby/gems/1.8/specifications/archive-tar-minitar-0.5.1.gemspec:12: invalid multibyte char (UTF-8) /usr/lib/ruby/gems/1.8/specifications/archive-tar-minitar-0.5.1.gemspec:12: syntax error, unexpected tIDENTIFIER, expecting keyword_end ...d heavily on Mauricio Fern?ndez's implementation in rpa-base... ... ^ /usr/lib/ruby/gems/1.8/specifications/archive-tar-minitar-0.5.1.gemspec:31: syntax error, unexpected tFLOAT, expecting keyword_end ...rsion) >= Gem::Version.new('1.2.0') then ... ^ /usr/lib/ruby/gems/1.8/specifications/archive-tar-minitar-0.5.1.gemspec:31: no . floating literal anymore; put 0 before dot ...sion) >= Gem::Version.new('1.2.0') then ... ^ /usr/lib/ruby/gems/1.8/specifications/archive-tar-minitar-0.5.1.gemspec:31: unterminated string meets end of file WARNING: # -*- encoding: utf-8 -*- Gem::Specification.new do |s| s.name = %q{archive-tar-minitar} s.version = "0.5.1" s.required_rubygems_version = nil if s.respond_to? :required_rubygems_version= s.autorequire = %q{archive/tar/minitar} s.cert_chain = nil s.date = %q{2004-09-27} s.default_executable = %q{minitar} s.description = %q{Archive::Tar::Minitar is a pure-Ruby library and command-line utility that provides the ability to deal with POSIX tar(1) archive files. The implementation is based heavily on Mauricio Fern?ndez's implementation in rpa-base, but has been reorganised to promote reuse in other projects.} s.email = %q{minitar at halostatue.ca} s.executables = ["minitar"] s.extra_rdoc_files = ["README", "ChangeLog", "Install"] s.files = ["bin", "ChangeLog", "Install", "lib", "Rakefile", "README", "tests", "bin/minitar", "lib/archive", "lib/archive/tar", "lib/archive/tar/minitar", "lib/archive/tar/minitar.rb", "lib/archive/tar/minitar/command.rb", "tests/tc_tar.rb", "tests/testall.rb"] s.has_rdoc = true s.homepage = %q{http://rubyforge.org/projects/ruwiki/} s.rdoc_options = ["--title", "Archive::Tar::MiniTar -- A POSIX tarchive library", "--main", "README", "--line-numbers"] s.require_paths = ["lib"] s.required_ruby_version = Gem::Requirement.new(">= 1.8.1") s.rubyforge_project = %q{ruwiki} s.rubygems_version = %q{1.3.1} s.summary = %q{Provides POSIX tarchive management from Ruby programs.} s.test_files = ["tests/testall.rb"] if s.respond_to? :specification_version then current_version = Gem::Specification::CURRENT_SPECIFICATION_VERSION s.specification_version = 1 if Gem::Version.new(Gem::RubyGemsVersion) >= Gem::Version.new('1.2.0') then else end else end end WARNING: /usr/lib/ruby/gems/1.8/specifications/archive-tar-minitar-0.5.1.gemspec:12: invalid multibyte char (UTF-8) /usr/lib/ruby/gems/1.8/specifications/archive-tar-minitar-0.5.1.gemspec:12: syntax error, unexpected tIDENTIFIER, expecting keyword_end ...d heavily on Mauricio Fern?ndez's implementation in rpa-base... ... ^ /usr/lib/ruby/gems/1.8/specifications/archive-tar-minitar-0.5.1.gemspec:31: syntax error, unexpected tFLOAT, expecting keyword_end ...rsion) >= Gem::Version.new('1.2.0') then ... ^ /usr/lib/ruby/gems/1.8/specifications/archive-tar-minitar-0.5.1.gemspec:31: no . floating literal anymore; put 0 before dot ...sion) >= Gem::Version.new('1.2.0') then ... ^ /usr/lib/ruby/gems/1.8/specifications/archive-tar-minitar-0.5.1.gemspec:31: unterminated string meets end of file WARNING: # -*- encoding: utf-8 -*- Gem::Specification.new do |s| s.name = %q{archive-tar-minitar} s.version = "0.5.1" s.required_rubygems_version = nil if s.respond_to? :required_rubygems_version= s.autorequire = %q{archive/tar/minitar} s.cert_chain = nil s.date = %q{2004-09-27} s.default_executable = %q{minitar} s.description = %q{Archive::Tar::Minitar is a pure-Ruby library and command-line utility that provides the ability to deal with POSIX tar(1) archive files. The implementation is based heavily on Mauricio Fern?ndez's implementation in rpa-base, but has been reorganised to promote reuse in other projects.} s.email = %q{minitar at halostatue.ca} s.executables = ["minitar"] s.extra_rdoc_files = ["README", "ChangeLog", "Install"] s.files = ["bin", "ChangeLog", "Install", "lib", "Rakefile", "README", "tests", "bin/minitar", "lib/archive", "lib/archive/tar", "lib/archive/tar/minitar", "lib/archive/tar/minitar.rb", "lib/archive/tar/minitar/command.rb", "tests/tc_tar.rb", "tests/testall.rb"] s.has_rdoc = true s.homepage = %q{http://rubyforge.org/projects/ruwiki/} s.rdoc_options = ["--title", "Archive::Tar::MiniTar -- A POSIX tarchive library", "--main", "README", "--line-numbers"] s.require_paths = ["lib"] s.required_ruby_version = Gem::Requirement.new(">= 1.8.1") s.rubyforge_project = %q{ruwiki} s.rubygems_version = %q{1.3.1} s.summary = %q{Provides POSIX tarchive management from Ruby programs.} s.test_files = ["tests/testall.rb"] if s.respond_to? :specification_version then current_version = Gem::Specification::CURRENT_SPECIFICATION_VERSION s.specification_version = 1 if Gem::Version.new(Gem::RubyGemsVersion) >= Gem::Version.new('1.2.0') then else end else end end ---------------------------------------------------------------------- >Comment By: Eric Hodel (drbrain) Date: 2010-03-03 23:28 Message: If this is ruby 1.9 why does the directory say 1.8? Did you install this gem with ruby 1.9? ---------------------------------------------------------------------- You can respond by visiting: http://rubyforge.org/tracker/?func=detail&atid=575&aid=27917&group_id=126 From noreply at rubyforge.org Thu Mar 4 03:14:35 2010 From: noreply at rubyforge.org (noreply at rubyforge.org) Date: Thu, 4 Mar 2010 03:14:35 -0500 (EST) Subject: [Rubygems-developers] [ rubygems-Bugs-27872 ] 1.3.6 & quot; gem unpack& quot; fails with & quot; You don't have write permissions& quot; error Message-ID: <20100304081435.82CDD18582D2@rubyforge.org> Bugs item #27872, was opened at 2010-02-22 11:07 You can respond by visiting: http://rubyforge.org/tracker/?func=detail&atid=575&aid=27872&group_id=126 Category: None Group: v1.3.x Status: Closed Resolution: Accepted Priority: 3 Submitted By: Timothy Jones (tjones) Assigned to: Eric Hodel (drbrain) Summary: 1.3.6 &quot;gem unpack&quot; fails with &quot;You don't have write permissions&quot; error Initial Comment: Running "gem unpack" version 1.3.6 as a non-root user (without write permissions into the system gem repository) fails with a permissions error, even though the target directory IS writable. This appears to be a 1.3.6 regression as it worked properly before. ---------------------------------------------------------------------- >Comment By: Chad Woolley (thewoolleyman) Date: 2010-03-04 01:14 Message: The RubyGems test suite runs under Continuous Integration here: http://ci.pivotallabs.com:3333/builds/RubyGems If a particular feature is not covered by the test suite, patches to the test suite are welcome. ---------------------------------------------------------------------- Comment By: Eric Hodel (drbrain) Date: 2010-03-04 00:20 Message: http://rubyforge.org/tracker/index.php?func=detail&aid=27868&group_id=126&atid=575 is more important, but I have no confirmation of a fix. You mean RubyGems should have a test suite like the one in the test directory? ---------------------------------------------------------------------- Comment By: Timothy Jones (tjones) Date: 2010-03-03 13:31 Message: Understood. Perhaps you might consider automated testing in the future to prevent such regressions and maintain the integrity of the project. ---------------------------------------------------------------------- Comment By: Luis Lavena (luislavena) Date: 2010-03-03 13:22 Message: I think this issue is less critical than others like actual gem loading. At any time you can checkout the code from the repository and install yourself (ruby setup.rb) Each project has it's own release process, your annoyance level is not the priority, the whole project integrity is. ---------------------------------------------------------------------- Comment By: Timothy Jones (tjones) Date: 2010-03-03 12:55 Message: I think a patch release should be issued for this ASAP. It is highly annoying. ---------------------------------------------------------------------- Comment By: Eric Hodel (drbrain) Date: 2010-02-23 23:00 Message: Fixed in r2458 ---------------------------------------------------------------------- You can respond by visiting: http://rubyforge.org/tracker/?func=detail&atid=575&aid=27872&group_id=126 From noreply at rubyforge.org Fri Mar 5 04:29:04 2010 From: noreply at rubyforge.org (noreply at rubyforge.org) Date: Fri, 5 Mar 2010 04:29:04 -0500 (EST) Subject: [Rubygems-developers] [ rubygems-Bugs-27868 ] rubygems 1.3.6 isn't compatible with rails 2.2.2 Message-ID: <20100305092906.1A51118582DF@rubyforge.org> Bugs item #27868, was opened at 2010-02-22 05:08 You can respond by visiting: http://rubyforge.org/tracker/?func=detail&atid=575&aid=27868&group_id=126 Category: other Group: v1.3.x Status: Open Resolution: Accepted Priority: 3 Submitted By: Wei Jen Lu (weijenlu) Assigned to: Eric Hodel (drbrain) Summary: rubygems 1.3.6 isn't compatible with rails 2.2.2 Initial Comment: I updated rubygems to 1.3.6 and run my app which using rails 2.2.2. My app has exception: /Users/weijen/.gem/ruby/1.8/gems/rails-2.2.2/lib/rails/gem_dependency.rb:224:in `specification': undefined method `version_requirements=' for # (NoMethodError) from /Users/weijen/.gem/ruby/1.8/gems/rails-2.2.2/lib/rails/plugin/locator.rb:81:in `plugins' from /Library/Ruby/Site/1.8/rubygems/custom_require.rb:31:in `inject' from /Users/weijen/.gem/ruby/1.8/gems/rails-2.2.2/lib/rails/plugin/locator.rb:81:in `each' from /Users/weijen/.gem/ruby/1.8/gems/rails-2.2.2/lib/rails/plugin/locator.rb:81:in `inject' from /Users/weijen/.gem/ruby/1.8/gems/rails-2.2.2/lib/rails/plugin/locator.rb:81:in `plugins' from /Users/weijen/.gem/ruby/1.8/gems/rails-2.2.2/lib/rails/plugin/loader.rb:63:in `locate_plugins' from /Users/weijen/.gem/ruby/1.8/gems/rails-2.2.2/lib/rails/plugin/loader.rb:62:in `map' from /Users/weijen/.gem/ruby/1.8/gems/rails-2.2.2/lib/rails/plugin/loader.rb:62:in `locate_plugins' ... 34 levels... from /Users/weijen/.gem/ruby/1.8/gems/rails-2.2.2/lib/commands/server.rb:49 from /Library/Ruby/Site/1.8/rubygems/custom_require.rb:31:in `gem_original_require' from /Library/Ruby/Site/1.8/rubygems/custom_require.rb:31:in `require' from script/server:3 If I rollback to 1.3.5, then everything is fine. Please help me. thanks. My platform: OS: Mac OS X 10.5.8 Ruby: ruby 1.8.6 (2008-08-11 patchlevel 287) [universal-darwin9.0] Wei Jen ---------------------------------------------------------------------- Comment By: Robert Berger (rberger) Date: 2010-03-05 01:29 Message: Eric: I svn checked out trunk, and from the top dir of the checkout did sudo ruby setup.rb and then I did a ./script/console from within my 2.2.2 app and it looks like it fixes this problem. I now get a deprecated warning. It looks like the rake commands work in general. ---------------------------------------------------------------------- Comment By: Dylan Fogarty-MacDonald (dylanfm) Date: 2010-02-24 18:51 Message: I'm experiencing the exact same issue. Rubygems 1.3.6 Ruby 1.8.6 (2008-08-08 patchlevel 286) [x86_64-linux] ---------------------------------------------------------------------- Comment By: Wei Jen Lu (weijenlu) Date: 2010-02-24 00:19 Message: I found out this issue is caused by gemcutter be removed. For my system, I use authlogic 1.3.8 and it depend on gemcutter 0.3.0. When I update rubygems, the update process removed gemcutter, then this problem happened. I fixed this problem after reinstall gemcutter. ---------------------------------------------------------------------- Comment By: Eric Hodel (drbrain) Date: 2010-02-23 23:03 Message: I think I have this fixed in trunk, but I can't replicate it with an empty rails 2.2.2 app. Can one of you test it out? Check out RubyGems then run: ruby -I/path/to/rubygems/lib script/server or: ruby -I/path/to/rubygems/lib -S rake ---------------------------------------------------------------------- Comment By: Florent Vaucelle (florent) Date: 2010-02-23 02:44 Message: Hi, having the same issue on Fedora 9 with REE 1.8.7, rails 2.2.2 installed. undefined method `version_requirements=' for # ../vendor/rails/railties/lib/rails/gem_dependency.rb:224:in `specification' ../vendor/rails/railties/lib/rails/plugin/locator.rb:81:in `plugins' /opt/ruby-ee-1.8.7/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in `inject' ../vendor/rails/railties/lib/rails/plugin/locator.rb:81:in `each' ../vendor/rails/railties/lib/rails/plugin/locator.rb:81:in `inject' ../vendor/rails/railties/lib/rails/plugin/locator.rb:81:in `plugins' ../vendor/rails/railties/lib/rails/plugin/loader.rb:63:in `locate_plugins' ../vendor/rails/railties/lib/rails/plugin/loader.rb:62:in `map' ../vendor/rails/railties/lib/rails/plugin/loader.rb:62:in `locate_plugins' ../vendor/rails/railties/lib/rails/plugin/loader.rb:27:in `all_plugins' ../vendor/rails/railties/lib/rails/plugin/loader.rb:22:in `plugins' ../vendor/rails/railties/lib/rails/plugin/loader.rb:45:in `add_plugin_load_paths' ../vendor/rails/railties/lib/initializer.rb:269:in `add_plugin_load_paths' ../vendor/rails/railties/lib/initializer.rb:135:in `process' ../vendor/rails/railties/lib/initializer.rb:112:in `send' ../vendor/rails/railties/lib/initializer.rb:112:in `run' environment.rb:13 /opt/ruby-ee-1.8.7/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in `gem_original_require' /opt/ruby-ee-1.8.7/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in `require' vendor/rails/activesupport/lib/active_support/dependencies.rb:153:in `require' vendor/rails/activesupport/lib/active_support/dependencies.rb:521:in `new_constants_in' vendor/rails/activesupport/lib/active_support/dependencies.rb:153:in `require' vendor/rails/railties/lib/tasks/misc.rake:3 /opt/ruby-ee-1.8.7/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:636:in `call' /opt/ruby-ee-1.8.7/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:636:in `execute' /opt/ruby-ee-1.8.7/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:631:in `each' /opt/ruby-ee-1.8.7/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:631:in `execute' /opt/ruby-ee-1.8.7/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:597:in `invoke_with_call_chain' /opt/ruby-ee-1.8.7/lib/ruby/1.8/monitor.rb:242:in `synchronize' /opt/ruby-ee-1.8.7/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:590:in `invoke_with_call_chain' /opt/ruby-ee-1.8.7/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:607:in `invoke_prerequisites' /opt/ruby-ee-1.8.7/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:604:in `each' /opt/ruby-ee-1.8.7/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:604:in `invoke_prerequisites' /opt/ruby-ee-1.8.7/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:596:in `invoke_with_call_chain' /opt/ruby-ee-1.8.7/lib/ruby/1.8/monitor.rb:242:in `synchronize' /opt/ruby-ee-1.8.7/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:590:in `invoke_with_call_chain' /opt/ruby-ee-1.8.7/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:583:in `invoke' /opt/ruby-ee-1.8.7/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:2051:in `invoke_task' /opt/ruby-ee-1.8.7/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:2029:in `top_level' /opt/ruby-ee-1.8.7/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:2029:in `each' /opt/ruby-ee-1.8.7/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:2029:in `top_level' /opt/ruby-ee-1.8.7/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:2068:in `standard_exception_handling' /opt/ruby-ee-1.8.7/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:2023:in `top_level' /opt/ruby-ee-1.8.7/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:2001:in `run' /opt/ruby-ee-1.8.7/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:2068:in `standard_exception_handling' /opt/ruby-ee-1.8.7/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:1998:in `run' /opt/ruby-ee-1.8.7/lib/ruby/gems/1.8/gems/rake-0.8.7/bin/rake:31 /opt/ruby-ee-1.8.7/bin/rake:19:in `load' /opt/ruby-ee-1.8.7/bin/rake:19 ---------------------------------------------------------------------- Comment By: Charles Ju (charlesju) Date: 2010-02-22 18:50 Message: I just updated to rubygems 1.3.6 and my app is on rails 2.2.2. My platform is OSX 10.6.2 and ruby at ruby 1.8.7 (2008-08-11 patchlevel 72) [universal-darwin10.0]. 1.3.5 is fine undefined method `version_requirements=' for :Gem::Dependency /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/gems/1.8/gems/rails-2.2.2/lib/rails/gem_dependency.rb:224:in `specification' /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/gems/1.8/gems/rails-2.2.2/lib/rails/plugin/locator.rb:81:in `plugins' /Library/Ruby/Site/1.8/rubygems/custom_require.rb:31:in `inject' /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/gems/1.8/gems/rails-2.2.2/lib/rails/plugin/locator.rb:81:in `each' /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/gems/1.8/gems/rails-2.2.2/lib/rails/plugin/locator.rb:81:in `inject' /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/gems/1.8/gems/rails-2.2.2/lib/rails/plugin/locator.rb:81:in `plugins' /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/gems/1.8/gems/rails-2.2.2/lib/rails/plugin/loader.rb:63:in `locate_plugins' /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/gems/1.8/gems/rails-2.2.2/lib/rails/plugin/loader.rb:62:in `map' /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/gems/1.8/gems/rails-2.2.2/lib/rails/plugin/loader.rb:62:in `locate_plugins' /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/gems/1.8/gems/rails-2.2.2/lib/rails/plugin/loader.rb:27:in `all_plugins' /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/gems/1.8/gems/rails-2.2.2/lib/rails/plugin/loader.rb:22:in `plugins' /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/gems/1.8/gems/rails-2.2.2/lib/rails/plugin/loader.rb:45:in `add_plugin_load_paths' /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/gems/1.8/gems/rails-2.2.2/lib/initializer.rb:269:in `add_plugin_load_paths' /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/gems/1.8/gems/rails-2.2.2/lib/initializer.rb:135:in `process' /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/gems/1.8/gems/rails-2.2.2/lib/initializer.rb:112:in `send' /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/gems/1.8/gems/rails-2.2.2/lib/initializer.rb:112:in `run' /Users/charlesju/work/SyncManager/config/environment.rb:16 /Library/Ruby/Site/1.8/rubygems/custom_require.rb:31:in `gem_original_require' /Library/Ruby/Site/1.8/rubygems/custom_require.rb:31:in `require' Charles ---------------------------------------------------------------------- Comment By: Daniel Berger (djberg96) Date: 2010-02-22 18:04 Message: Time to vendor in rubygems? Can that be done? Dan ---------------------------------------------------------------------- Comment By: Vidal Graupera (vgraupera) Date: 2010-02-22 17:40 Message: I hit the exact same problem. My platform is OS X 10.6.2 and ruby 1.8.7 (2008-08-11 patchlevel 72) [universal-darwin10.0] ---------------------------------------------------------------------- You can respond by visiting: http://rubyforge.org/tracker/?func=detail&atid=575&aid=27868&group_id=126 From noreply at rubyforge.org Mon Mar 8 20:50:04 2010 From: noreply at rubyforge.org (noreply at rubyforge.org) Date: Mon, 8 Mar 2010 20:50:04 -0500 (EST) Subject: [Rubygems-developers] [ rubygems-Bugs-27944 ] require does not populate Gem.loaded_specs under Ruby 1.9.1. Message-ID: <20100309015005.387C018582EC@rubyforge.org> Bugs item #27944, was opened at 2010-03-09 01:50 You can respond by visiting: http://rubyforge.org/tracker/?func=detail&atid=575&aid=27944&group_id=126 Category: #gem and #require methods Group: v1.3.x Status: Open Resolution: None Priority: 3 Submitted By: postmodern (postmodern) Assigned to: Nobody (None) Summary: require does not populate Gem.loaded_specs under Ruby 1.9.1. Initial Comment: I recently upgraded to RubyGems 1.3.6 under Ruby 1.8.7 and 1.9.1. I noticed that *only* under Ruby 1.9.1, the 'require' method would not populate Gem.loaded_specs: >> RUBY_VERSION # => "1.9.1" >> Gem.loaded_specs # => {} >> require 'rack' # => true >> Gem.loaded_specs # => {} ---------------------------------------------------------------------- You can respond by visiting: http://rubyforge.org/tracker/?func=detail&atid=575&aid=27944&group_id=126 From noreply at rubyforge.org Mon Mar 8 20:50:30 2010 From: noreply at rubyforge.org (noreply at rubyforge.org) Date: Mon, 8 Mar 2010 20:50:30 -0500 (EST) Subject: [Rubygems-developers] [ rubygems-Bugs-27944 ] require does not populate Gem.loaded_specs under Ruby 1.9.1. Message-ID: <20100309015030.5FFCD1588062@rubyforge.org> Bugs item #27944, was opened at 2010-03-09 01:50 You can respond by visiting: http://rubyforge.org/tracker/?func=detail&atid=575&aid=27944&group_id=126 Category: #gem and #require methods Group: v1.3.x Status: Open Resolution: None Priority: 3 Submitted By: postmodern (postmodern) >Assigned to: Eric Hodel (drbrain) Summary: require does not populate Gem.loaded_specs under Ruby 1.9.1. Initial Comment: I recently upgraded to RubyGems 1.3.6 under Ruby 1.8.7 and 1.9.1. I noticed that *only* under Ruby 1.9.1, the 'require' method would not populate Gem.loaded_specs: >> RUBY_VERSION # => "1.9.1" >> Gem.loaded_specs # => {} >> require 'rack' # => true >> Gem.loaded_specs # => {} ---------------------------------------------------------------------- You can respond by visiting: http://rubyforge.org/tracker/?func=detail&atid=575&aid=27944&group_id=126 From noreply at rubyforge.org Tue Mar 9 03:53:17 2010 From: noreply at rubyforge.org (noreply at rubyforge.org) Date: Tue, 9 Mar 2010 03:53:17 -0500 (EST) Subject: [Rubygems-developers] [ rubygems-Bugs-27944 ] require does not populate Gem.loaded_specs under Ruby 1.9.1. Message-ID: <20100309085317.A5FF218582EC@rubyforge.org> Bugs item #27944, was opened at 2010-03-08 17:50 You can respond by visiting: http://rubyforge.org/tracker/?func=detail&atid=575&aid=27944&group_id=126 Category: #gem and #require methods Group: v1.3.x Status: Open Resolution: None Priority: 3 Submitted By: postmodern (postmodern) Assigned to: Eric Hodel (drbrain) Summary: require does not populate Gem.loaded_specs under Ruby 1.9.1. Initial Comment: I recently upgraded to RubyGems 1.3.6 under Ruby 1.8.7 and 1.9.1. I noticed that *only* under Ruby 1.9.1, the 'require' method would not populate Gem.loaded_specs: >> RUBY_VERSION # => "1.9.1" >> Gem.loaded_specs # => {} >> require 'rack' # => true >> Gem.loaded_specs # => {} ---------------------------------------------------------------------- >Comment By: Ryan Davis (zenspider) Date: 2010-03-09 00:53 Message: That is because the spec isn't loaded under ruby 1.9.x. That is because ruby 1.9 bypasses rubygems and uses the gem prelude to populate the load path. Inspect $: to see. I don't like gem-prelude, personally, but I don't think it is going to change in ruby 1.9.x. ---------------------------------------------------------------------- You can respond by visiting: http://rubyforge.org/tracker/?func=detail&atid=575&aid=27944&group_id=126 From noreply at rubyforge.org Tue Mar 9 06:59:16 2010 From: noreply at rubyforge.org (noreply at rubyforge.org) Date: Tue, 9 Mar 2010 06:59:16 -0500 (EST) Subject: [Rubygems-developers] [ rubygems-Bugs-27946 ] gem install hangs indefinitely on a NAT-ed machine Message-ID: <20100309115916.E1EB9159809F@rubyforge.org> Bugs item #27946, was opened at 2010-03-09 11:59 You can respond by visiting: http://rubyforge.org/tracker/?func=detail&atid=575&aid=27946&group_id=126 Category: `gem install` command Group: None Status: Open Resolution: None Priority: 3 Submitted By: Bret Weinraub (bretweinraub) Assigned to: Nobody (None) Summary: gem install hangs indefinitely on a NAT-ed machine Initial Comment: As described in this thread from ruby forum: http://www.ruby-forum.com/topic/204146 ---------------------------------------------------------------------- You can respond by visiting: http://rubyforge.org/tracker/?func=detail&atid=575&aid=27946&group_id=126 From noreply at rubyforge.org Wed Mar 10 00:52:36 2010 From: noreply at rubyforge.org (noreply at rubyforge.org) Date: Wed, 10 Mar 2010 00:52:36 -0500 (EST) Subject: [Rubygems-developers] [ rubygems-Patches-27951 ] Add support for IronRuby-specific gems Message-ID: <20100310055237.0DC4A18582DF@rubyforge.org> Patches item #27951, was opened at 2010-03-10 00:52 You can respond by visiting: http://rubyforge.org/tracker/?func=detail&atid=577&aid=27951&group_id=126 Category: `gem install` Group: v1.3.x Status: Open Resolution: None Priority: 3 Submitted By: Will Green (hotgazpacho) Assigned to: Nobody (None) Summary: Add support for IronRuby-specific gems Initial Comment: This patch adds support for IronRuby-specific gems (gems that have C# extensions, or that otherwise make use of .Net libraries), so that IronRuby can install them from remote sources. For 1.0, IronRuby will support 3 targets: * universal-.net = The version of the CLR does not matter * universal-.net-2.0 = Version 2.0 of the CLR is required * universal-.net-4.0 = The forthcoming Version 4.0 of the CLR is required The platform tests have been updated to reflect these 3 cases, but the regex implemented for version detection is flexible enough to allow for arbitrary major.minor versions. ---------------------------------------------------------------------- You can respond by visiting: http://rubyforge.org/tracker/?func=detail&atid=577&aid=27951&group_id=126 From noreply at rubyforge.org Thu Mar 11 05:45:02 2010 From: noreply at rubyforge.org (noreply at rubyforge.org) Date: Thu, 11 Mar 2010 05:45:02 -0500 (EST) Subject: [Rubygems-developers] [ rubygems-Bugs-27946 ] gem install hangs indefinitely on a NAT-ed machine Message-ID: <20100311104506.47F5A18582DD@rubyforge.org> Bugs item #27946, was opened at 2010-03-09 11:59 You can respond by visiting: http://rubyforge.org/tracker/?func=detail&atid=575&aid=27946&group_id=126 Category: `gem install` command Group: None Status: Open Resolution: None Priority: 3 Submitted By: Bret Weinraub (bretweinraub) Assigned to: Nobody (None) Summary: gem install hangs indefinitely on a NAT-ed machine Initial Comment: As described in this thread from ruby forum: http://www.ruby-forum.com/topic/204146 ---------------------------------------------------------------------- >Comment By: James Tucker (raggi) Date: 2010-03-11 10:45 Message: It seems to not be "NAT'd machines", being that every developer behind a router / on wireless is generally NAT'd. That being said, the multiple layers of NAT can introduce more problems. We do need to get to the bottom of this issue, however, it very much seems that this is a problem on a lower layer than our app layer. It's possible that read(2) is causing some kind of blocking issue in some connection teardown / nat mapping release. On that note, it's worth mentioning that a lot (but far from all) of the complaints are linux in a VM on win32. My first question, given the seemingly repeatable failure caused by using NAT rather than bridged mode, is what class of NAT is actually being used, is it symmetric / asymmetric, full / partial cone, etc? Also, are you running any ipv6? ---------------------------------------------------------------------- You can respond by visiting: http://rubyforge.org/tracker/?func=detail&atid=575&aid=27946&group_id=126 From noreply at rubyforge.org Fri Mar 12 13:21:27 2010 From: noreply at rubyforge.org (noreply at rubyforge.org) Date: Fri, 12 Mar 2010 13:21:27 -0500 (EST) Subject: [Rubygems-developers] [ rubygems-Bugs-27960 ] rubygems 1.3.6 can't fetch a gem with a version other than the newest version Message-ID: <20100312182127.70AE7158806E@rubyforge.org> Bugs item #27960, was opened at 2010-03-12 12:21 You can respond by visiting: http://rubyforge.org/tracker/?func=detail&atid=575&aid=27960&group_id=126 Category: `gem` commands (remote behavior) Group: v1.3.x Status: Open Resolution: None Priority: 3 Submitted By: Eric Hankins (stormsilver) Assigned to: Nobody (None) Summary: rubygems 1.3.6 can't fetch a gem with a version other than the newest version Initial Comment: It seems that with the newest version of rubygems, gem fetch can only fetch the newest version of a gem. If you specify any version other than the newest one in a given repo, it tells you that it cannot find the gem. Here is an example session showing the problem with activesupport, but it happens with any gem. # gem -v 1.3.6 # ruby -v ruby 1.8.6 (2008-08-11 patchlevel 287) [x86_64-linux] # gem sources *** CURRENT SOURCES *** http://rubygems.org # gem list -r -a activesupport *** REMOTE GEMS *** activesupport (2.3.5, 2.3.4, 2.3.3, 2.3.2, 2.2.3, 2.2.2, 2.1.2, 2.1.1, 2.1.0, 2.0.5, 2.0.4, 2.0.2, 2.0.1, 2.0.0, 1.4.4, 1.4.3, 1.4.2, 1.4.1, 1.4.0, 1.3.1, 1.3.0, 1.2.5, 1.2.4, 1.2.3, 1.2.2, 1.2.1, 1.1.1, 1.1.0, 1.0.4, 1.0.3, 1.0.2, 1.0.1, 1.0.0) activesupport-jcache (0.1.0) # gem fetch activesupport -v 2.3.2 ERROR: Could not find activesupport in any repository # gem fetch activesupport -v "=2.3.2" ERROR: Could not find activesupport in any repository # gem fetch activesupport -v "=2.3.4" ERROR: Could not find activesupport in any repository # gem fetch activesupport -v "=2.3.5" Downloaded activesupport-2.3.5 ---------------------------------------------------------------------- You can respond by visiting: http://rubyforge.org/tracker/?func=detail&atid=575&aid=27960&group_id=126 From noreply at rubyforge.org Mon Mar 15 19:18:41 2010 From: noreply at rubyforge.org (noreply at rubyforge.org) Date: Mon, 15 Mar 2010 19:18:41 -0400 (EDT) Subject: [Rubygems-developers] [ rubygems-Bugs-27946 ] gem install hangs indefinitely on a NAT-ed machine Message-ID: <20100315231841.8C64518582DE@rubyforge.org> Bugs item #27946, was opened at 2010-03-09 03:59 You can respond by visiting: http://rubyforge.org/tracker/?func=detail&atid=575&aid=27946&group_id=126 Category: `gem install` command Group: None Status: Open Resolution: None Priority: 3 Submitted By: Bret Weinraub (bretweinraub) Assigned to: Nobody (None) Summary: gem install hangs indefinitely on a NAT-ed machine Initial Comment: As described in this thread from ruby forum: http://www.ruby-forum.com/topic/204146 ---------------------------------------------------------------------- Comment By: Bradly Feeley (bradly) Date: 2010-03-15 16:18 Message: I've started seeing this today on an ec2 instance running Ubuntu. ---------------------------------------------------------------------- Comment By: James Tucker (raggi) Date: 2010-03-11 02:45 Message: It seems to not be "NAT'd machines", being that every developer behind a router / on wireless is generally NAT'd. That being said, the multiple layers of NAT can introduce more problems. We do need to get to the bottom of this issue, however, it very much seems that this is a problem on a lower layer than our app layer. It's possible that read(2) is causing some kind of blocking issue in some connection teardown / nat mapping release. On that note, it's worth mentioning that a lot (but far from all) of the complaints are linux in a VM on win32. My first question, given the seemingly repeatable failure caused by using NAT rather than bridged mode, is what class of NAT is actually being used, is it symmetric / asymmetric, full / partial cone, etc? Also, are you running any ipv6? ---------------------------------------------------------------------- You can respond by visiting: http://rubyforge.org/tracker/?func=detail&atid=575&aid=27946&group_id=126 From noreply at rubyforge.org Tue Mar 16 12:49:54 2010 From: noreply at rubyforge.org (noreply at rubyforge.org) Date: Tue, 16 Mar 2010 12:49:54 -0400 (EDT) Subject: [Rubygems-developers] [ rubygems-Bugs-27975 ] "gemspec is valid" has different meaning locally versus at submit time. Message-ID: <20100316164954.AE34518582D5@rubyforge.org> Bugs item #27975, was opened at 2010-03-16 16:49 You can respond by visiting: http://rubyforge.org/tracker/?func=detail&atid=575&aid=27975&group_id=126 Category: None Group: None Status: Open Resolution: None Priority: 3 Submitted By: Roger Pack (rogerdpack) Assigned to: Nobody (None) Summary: "gemspec is valid" has different meaning locally versus at submit time. Initial Comment: Currently the gemspec validity check doesn't check for a valid url (if there is one), however gemcutter does, so there's some surprisingness when your gemspec "is valid" but then later "is no longer valid" when you go to submit it. suggestion: have the validity check check for valid url to avoid this surprisingness. Thanks. -r ---------------------------------------------------------------------- You can respond by visiting: http://rubyforge.org/tracker/?func=detail&atid=575&aid=27975&group_id=126 From noreply at rubyforge.org Thu Mar 18 02:55:51 2010 From: noreply at rubyforge.org (noreply at rubyforge.org) Date: Thu, 18 Mar 2010 02:55:51 -0400 (EDT) Subject: [Rubygems-developers] [ rubygems-Patches-27982 ] Gem::Dependency#=~ is slow because it creates a Regexp everytime Message-ID: <20100318065551.2B37818582EE@rubyforge.org> Patches item #27982, was opened at 2010-03-17 23:55 You can respond by visiting: http://rubyforge.org/tracker/?func=detail&atid=577&aid=27982&group_id=126 Category: `gem install` Group: None Status: Open Resolution: None Priority: 3 Submitted By: Shri Borde (shrib) Assigned to: Nobody (None) Summary: Gem::Dependency#=~ is slow because it creates a Regexp everytime Initial Comment: Gem::SpecFetcher#find_matching calls Gem::Dependency#=~ more than 10000 times in real-world scenarios when executing "gem install". Hence, Gem::Dependency#=~ needs to be fast. However, it sets and uses the "pattern" local variable as such: pattern = @name pattern = /\A#{Regexp.escape @name}\Z/ unless Regexp === pattern return false unless pattern =~ other.name This is slower than it needs to be. Changing it to the following reduced execution time of a "gem install" command from about 60 seconds down to 40 seconds. if not @pattern @pattern = @name @pattern = /\A#{Regexp.escape @name}\Z/ unless Regexp === @pattern end return false unless @pattern =~ other.name All the RubyGems tests pass with this change. ---------------------------------------------------------------------- You can respond by visiting: http://rubyforge.org/tracker/?func=detail&atid=577&aid=27982&group_id=126 From noreply at rubyforge.org Thu Mar 18 17:29:40 2010 From: noreply at rubyforge.org (noreply at rubyforge.org) Date: Thu, 18 Mar 2010 17:29:40 -0400 (EDT) Subject: [Rubygems-developers] [ rubygems-Patches-27987 ] Add metadata-attribute to Gem::Specification Message-ID: <20100318212940.A369518582DA@rubyforge.org> Patches item #27987, was opened at 2010-03-18 22:29 You can respond by visiting: http://rubyforge.org/tracker/?func=detail&atid=577&aid=27987&group_id=126 Category: other Group: None Status: Open Resolution: None Priority: 3 Submitted By: Magnus Holm (judofyr) Assigned to: Nobody (None) Summary: Add metadata-attribute to Gem::Specification Initial Comment: I'm currently working on a gemspec editor (Gemify) which attempts to make it easier to update your gemspec. One of the feature is that you can specify a manifest (use files checked in in a VCS; use a MANIFEST file etc.) and when you run `gemify -b` it will update the files attribute. Since I want to keep all the information inside the gemspec I simply append this line to #to_ruby: Gemify.last_specification.manifest = %q{manifest-type} if defined?(Gemify) This works, both for Gemify and when other library loads the gemspec. However, if someone calls #to_ruby on the loaded gemspec, the information is lost. By providing a metadata-attribute (a hash) we can make it possible for tools that works with gemspec to (a) store information not (yet) supported by RubyGems and (b) ensure that the information is preserved when other tools loads/writes it. It's a tiny patch with no test. Please let me know if you need a test in order to commit, and I'll write one (but I suspect the tests for #attribute should be enough). ---------------------------------------------------------------------- You can respond by visiting: http://rubyforge.org/tracker/?func=detail&atid=577&aid=27987&group_id=126 From noreply at rubyforge.org Sat Mar 20 14:11:36 2010 From: noreply at rubyforge.org (noreply at rubyforge.org) Date: Sat, 20 Mar 2010 14:11:36 -0400 (EDT) Subject: [Rubygems-developers] [ rubygems-Bugs-27872 ] 1.3.6 & quot; gem unpack& quot; fails with & quot; You don't have write permissions& quot; error Message-ID: <20100320181136.87CB918582DA@rubyforge.org> Bugs item #27872, was opened at 2010-02-22 10:07 You can respond by visiting: http://rubyforge.org/tracker/?func=detail&atid=575&aid=27872&group_id=126 Category: None Group: v1.3.x Status: Closed Resolution: Accepted Priority: 3 Submitted By: Timothy Jones (tjones) Assigned to: Eric Hodel (drbrain) Summary: 1.3.6 &quot;gem unpack&quot; fails with &quot;You don't have write permissions&quot; error Initial Comment: Running "gem unpack" version 1.3.6 as a non-root user (without write permissions into the system gem repository) fails with a permissions error, even though the target directory IS writable. This appears to be a 1.3.6 regression as it worked properly before. ---------------------------------------------------------------------- Comment By: Kurt Werle (kwerle) Date: 2010-03-20 11:11 Message: This is much more than "highly annoying". It means that I can't install gems unless I have root. Installing gems should almost never require root. ---------------------------------------------------------------------- Comment By: Chad Woolley (thewoolleyman) Date: 2010-03-04 00:14 Message: The RubyGems test suite runs under Continuous Integration here: http://ci.pivotallabs.com:3333/builds/RubyGems If a particular feature is not covered by the test suite, patches to the test suite are welcome. ---------------------------------------------------------------------- Comment By: Eric Hodel (drbrain) Date: 2010-03-03 23:20 Message: http://rubyforge.org/tracker/index.php?func=detail&aid=27868&group_id=126&atid=575 is more important, but I have no confirmation of a fix. You mean RubyGems should have a test suite like the one in the test directory? ---------------------------------------------------------------------- Comment By: Timothy Jones (tjones) Date: 2010-03-03 12:31 Message: Understood. Perhaps you might consider automated testing in the future to prevent such regressions and maintain the integrity of the project. ---------------------------------------------------------------------- Comment By: Luis Lavena (luislavena) Date: 2010-03-03 12:22 Message: I think this issue is less critical than others like actual gem loading. At any time you can checkout the code from the repository and install yourself (ruby setup.rb) Each project has it's own release process, your annoyance level is not the priority, the whole project integrity is. ---------------------------------------------------------------------- Comment By: Timothy Jones (tjones) Date: 2010-03-03 11:55 Message: I think a patch release should be issued for this ASAP. It is highly annoying. ---------------------------------------------------------------------- Comment By: Eric Hodel (drbrain) Date: 2010-02-23 22:00 Message: Fixed in r2458 ---------------------------------------------------------------------- You can respond by visiting: http://rubyforge.org/tracker/?func=detail&atid=575&aid=27872&group_id=126 From noreply at rubyforge.org Sun Mar 21 17:06:48 2010 From: noreply at rubyforge.org (noreply at rubyforge.org) Date: Sun, 21 Mar 2010 17:06:48 -0400 (EDT) Subject: [Rubygems-developers] [ rubygems-Bugs-27868 ] rubygems 1.3.6 isn't compatible with rails 2.2.2 Message-ID: <20100321210648.3C50A159802A@rubyforge.org> Bugs item #27868, was opened at 2010-02-23 02:08 You can respond by visiting: http://rubyforge.org/tracker/?func=detail&atid=575&aid=27868&group_id=126 Category: other Group: v1.3.x Status: Open Resolution: Accepted Priority: 3 Submitted By: Wei Jen Lu (weijenlu) Assigned to: Eric Hodel (drbrain) Summary: rubygems 1.3.6 isn't compatible with rails 2.2.2 Initial Comment: I updated rubygems to 1.3.6 and run my app which using rails 2.2.2. My app has exception: /Users/weijen/.gem/ruby/1.8/gems/rails-2.2.2/lib/rails/gem_dependency.rb:224:in `specification': undefined method `version_requirements=' for # (NoMethodError) from /Users/weijen/.gem/ruby/1.8/gems/rails-2.2.2/lib/rails/plugin/locator.rb:81:in `plugins' from /Library/Ruby/Site/1.8/rubygems/custom_require.rb:31:in `inject' from /Users/weijen/.gem/ruby/1.8/gems/rails-2.2.2/lib/rails/plugin/locator.rb:81:in `each' from /Users/weijen/.gem/ruby/1.8/gems/rails-2.2.2/lib/rails/plugin/locator.rb:81:in `inject' from /Users/weijen/.gem/ruby/1.8/gems/rails-2.2.2/lib/rails/plugin/locator.rb:81:in `plugins' from /Users/weijen/.gem/ruby/1.8/gems/rails-2.2.2/lib/rails/plugin/loader.rb:63:in `locate_plugins' from /Users/weijen/.gem/ruby/1.8/gems/rails-2.2.2/lib/rails/plugin/loader.rb:62:in `map' from /Users/weijen/.gem/ruby/1.8/gems/rails-2.2.2/lib/rails/plugin/loader.rb:62:in `locate_plugins' ... 34 levels... from /Users/weijen/.gem/ruby/1.8/gems/rails-2.2.2/lib/commands/server.rb:49 from /Library/Ruby/Site/1.8/rubygems/custom_require.rb:31:in `gem_original_require' from /Library/Ruby/Site/1.8/rubygems/custom_require.rb:31:in `require' from script/server:3 If I rollback to 1.3.5, then everything is fine. Please help me. thanks. My platform: OS: Mac OS X 10.5.8 Ruby: ruby 1.8.6 (2008-08-11 patchlevel 287) [universal-darwin9.0] Wei Jen ---------------------------------------------------------------------- Comment By: Thong Kuah (kuahyeow) Date: 2010-03-22 09:06 Message: I had the exact same problem where version_requirement= was broken. After getting rubygems trunk, I now get a deprecation warning "Gem::Dependency#version_requirements= is deprecated and will be removed on or after August 2010. Use Gem::Dependency.new". So that seems to have fixed it. ---------------------------------------------------------------------- Comment By: Robert Berger (rberger) Date: 2010-03-05 22:29 Message: Eric: I svn checked out trunk, and from the top dir of the checkout did sudo ruby setup.rb and then I did a ./script/console from within my 2.2.2 app and it looks like it fixes this problem. I now get a deprecated warning. It looks like the rake commands work in general. ---------------------------------------------------------------------- Comment By: Dylan Fogarty-MacDonald (dylanfm) Date: 2010-02-25 15:51 Message: I'm experiencing the exact same issue. Rubygems 1.3.6 Ruby 1.8.6 (2008-08-08 patchlevel 286) [x86_64-linux] ---------------------------------------------------------------------- Comment By: Wei Jen Lu (weijenlu) Date: 2010-02-24 21:19 Message: I found out this issue is caused by gemcutter be removed. For my system, I use authlogic 1.3.8 and it depend on gemcutter 0.3.0. When I update rubygems, the update process removed gemcutter, then this problem happened. I fixed this problem after reinstall gemcutter. ---------------------------------------------------------------------- Comment By: Eric Hodel (drbrain) Date: 2010-02-24 20:03 Message: I think I have this fixed in trunk, but I can't replicate it with an empty rails 2.2.2 app. Can one of you test it out? Check out RubyGems then run: ruby -I/path/to/rubygems/lib script/server or: ruby -I/path/to/rubygems/lib -S rake ---------------------------------------------------------------------- Comment By: Florent Vaucelle (florent) Date: 2010-02-23 23:44 Message: Hi, having the same issue on Fedora 9 with REE 1.8.7, rails 2.2.2 installed. undefined method `version_requirements=' for # ../vendor/rails/railties/lib/rails/gem_dependency.rb:224:in `specification' ../vendor/rails/railties/lib/rails/plugin/locator.rb:81:in `plugins' /opt/ruby-ee-1.8.7/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in `inject' ../vendor/rails/railties/lib/rails/plugin/locator.rb:81:in `each' ../vendor/rails/railties/lib/rails/plugin/locator.rb:81:in `inject' ../vendor/rails/railties/lib/rails/plugin/locator.rb:81:in `plugins' ../vendor/rails/railties/lib/rails/plugin/loader.rb:63:in `locate_plugins' ../vendor/rails/railties/lib/rails/plugin/loader.rb:62:in `map' ../vendor/rails/railties/lib/rails/plugin/loader.rb:62:in `locate_plugins' ../vendor/rails/railties/lib/rails/plugin/loader.rb:27:in `all_plugins' ../vendor/rails/railties/lib/rails/plugin/loader.rb:22:in `plugins' ../vendor/rails/railties/lib/rails/plugin/loader.rb:45:in `add_plugin_load_paths' ../vendor/rails/railties/lib/initializer.rb:269:in `add_plugin_load_paths' ../vendor/rails/railties/lib/initializer.rb:135:in `process' ../vendor/rails/railties/lib/initializer.rb:112:in `send' ../vendor/rails/railties/lib/initializer.rb:112:in `run' environment.rb:13 /opt/ruby-ee-1.8.7/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in `gem_original_require' /opt/ruby-ee-1.8.7/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in `require' vendor/rails/activesupport/lib/active_support/dependencies.rb:153:in `require' vendor/rails/activesupport/lib/active_support/dependencies.rb:521:in `new_constants_in' vendor/rails/activesupport/lib/active_support/dependencies.rb:153:in `require' vendor/rails/railties/lib/tasks/misc.rake:3 /opt/ruby-ee-1.8.7/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:636:in `call' /opt/ruby-ee-1.8.7/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:636:in `execute' /opt/ruby-ee-1.8.7/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:631:in `each' /opt/ruby-ee-1.8.7/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:631:in `execute' /opt/ruby-ee-1.8.7/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:597:in `invoke_with_call_chain' /opt/ruby-ee-1.8.7/lib/ruby/1.8/monitor.rb:242:in `synchronize' /opt/ruby-ee-1.8.7/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:590:in `invoke_with_call_chain' /opt/ruby-ee-1.8.7/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:607:in `invoke_prerequisites' /opt/ruby-ee-1.8.7/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:604:in `each' /opt/ruby-ee-1.8.7/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:604:in `invoke_prerequisites' /opt/ruby-ee-1.8.7/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:596:in `invoke_with_call_chain' /opt/ruby-ee-1.8.7/lib/ruby/1.8/monitor.rb:242:in `synchronize' /opt/ruby-ee-1.8.7/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:590:in `invoke_with_call_chain' /opt/ruby-ee-1.8.7/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:583:in `invoke' /opt/ruby-ee-1.8.7/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:2051:in `invoke_task' /opt/ruby-ee-1.8.7/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:2029:in `top_level' /opt/ruby-ee-1.8.7/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:2029:in `each' /opt/ruby-ee-1.8.7/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:2029:in `top_level' /opt/ruby-ee-1.8.7/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:2068:in `standard_exception_handling' /opt/ruby-ee-1.8.7/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:2023:in `top_level' /opt/ruby-ee-1.8.7/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:2001:in `run' /opt/ruby-ee-1.8.7/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:2068:in `standard_exception_handling' /opt/ruby-ee-1.8.7/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:1998:in `run' /opt/ruby-ee-1.8.7/lib/ruby/gems/1.8/gems/rake-0.8.7/bin/rake:31 /opt/ruby-ee-1.8.7/bin/rake:19:in `load' /opt/ruby-ee-1.8.7/bin/rake:19 ---------------------------------------------------------------------- Comment By: Charles Ju (charlesju) Date: 2010-02-23 15:50 Message: I just updated to rubygems 1.3.6 and my app is on rails 2.2.2. My platform is OSX 10.6.2 and ruby at ruby 1.8.7 (2008-08-11 patchlevel 72) [universal-darwin10.0]. 1.3.5 is fine undefined method `version_requirements=' for :Gem::Dependency /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/gems/1.8/gems/rails-2.2.2/lib/rails/gem_dependency.rb:224:in `specification' /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/gems/1.8/gems/rails-2.2.2/lib/rails/plugin/locator.rb:81:in `plugins' /Library/Ruby/Site/1.8/rubygems/custom_require.rb:31:in `inject' /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/gems/1.8/gems/rails-2.2.2/lib/rails/plugin/locator.rb:81:in `each' /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/gems/1.8/gems/rails-2.2.2/lib/rails/plugin/locator.rb:81:in `inject' /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/gems/1.8/gems/rails-2.2.2/lib/rails/plugin/locator.rb:81:in `plugins' /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/gems/1.8/gems/rails-2.2.2/lib/rails/plugin/loader.rb:63:in `locate_plugins' /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/gems/1.8/gems/rails-2.2.2/lib/rails/plugin/loader.rb:62:in `map' /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/gems/1.8/gems/rails-2.2.2/lib/rails/plugin/loader.rb:62:in `locate_plugins' /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/gems/1.8/gems/rails-2.2.2/lib/rails/plugin/loader.rb:27:in `all_plugins' /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/gems/1.8/gems/rails-2.2.2/lib/rails/plugin/loader.rb:22:in `plugins' /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/gems/1.8/gems/rails-2.2.2/lib/rails/plugin/loader.rb:45:in `add_plugin_load_paths' /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/gems/1.8/gems/rails-2.2.2/lib/initializer.rb:269:in `add_plugin_load_paths' /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/gems/1.8/gems/rails-2.2.2/lib/initializer.rb:135:in `process' /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/gems/1.8/gems/rails-2.2.2/lib/initializer.rb:112:in `send' /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/gems/1.8/gems/rails-2.2.2/lib/initializer.rb:112:in `run' /Users/charlesju/work/SyncManager/config/environment.rb:16 /Library/Ruby/Site/1.8/rubygems/custom_require.rb:31:in `gem_original_require' /Library/Ruby/Site/1.8/rubygems/custom_require.rb:31:in `require' Charles ---------------------------------------------------------------------- Comment By: Daniel Berger (djberg96) Date: 2010-02-23 15:04 Message: Time to vendor in rubygems? Can that be done? Dan ---------------------------------------------------------------------- Comment By: Vidal Graupera (vgraupera) Date: 2010-02-23 14:40 Message: I hit the exact same problem. My platform is OS X 10.6.2 and ruby 1.8.7 (2008-08-11 patchlevel 72) [universal-darwin10.0] ---------------------------------------------------------------------- You can respond by visiting: http://rubyforge.org/tracker/?func=detail&atid=575&aid=27868&group_id=126 From noreply at rubyforge.org Sun Mar 21 19:11:09 2010 From: noreply at rubyforge.org (noreply at rubyforge.org) Date: Sun, 21 Mar 2010 19:11:09 -0400 (EDT) Subject: [Rubygems-developers] [ rubygems-Bugs-27868 ] rubygems 1.3.6 isn't compatible with rails 2.2.2 Message-ID: <20100321231109.3A3C918582C7@rubyforge.org> Bugs item #27868, was opened at 2010-02-22 07:08 You can respond by visiting: http://rubyforge.org/tracker/?func=detail&atid=575&aid=27868&group_id=126 Category: other Group: v1.3.x Status: Open Resolution: Accepted Priority: 3 Submitted By: Wei Jen Lu (weijenlu) Assigned to: Eric Hodel (drbrain) Summary: rubygems 1.3.6 isn't compatible with rails 2.2.2 Initial Comment: I updated rubygems to 1.3.6 and run my app which using rails 2.2.2. My app has exception: /Users/weijen/.gem/ruby/1.8/gems/rails-2.2.2/lib/rails/gem_dependency.rb:224:in `specification': undefined method `version_requirements=' for # (NoMethodError) from /Users/weijen/.gem/ruby/1.8/gems/rails-2.2.2/lib/rails/plugin/locator.rb:81:in `plugins' from /Library/Ruby/Site/1.8/rubygems/custom_require.rb:31:in `inject' from /Users/weijen/.gem/ruby/1.8/gems/rails-2.2.2/lib/rails/plugin/locator.rb:81:in `each' from /Users/weijen/.gem/ruby/1.8/gems/rails-2.2.2/lib/rails/plugin/locator.rb:81:in `inject' from /Users/weijen/.gem/ruby/1.8/gems/rails-2.2.2/lib/rails/plugin/locator.rb:81:in `plugins' from /Users/weijen/.gem/ruby/1.8/gems/rails-2.2.2/lib/rails/plugin/loader.rb:63:in `locate_plugins' from /Users/weijen/.gem/ruby/1.8/gems/rails-2.2.2/lib/rails/plugin/loader.rb:62:in `map' from /Users/weijen/.gem/ruby/1.8/gems/rails-2.2.2/lib/rails/plugin/loader.rb:62:in `locate_plugins' ... 34 levels... from /Users/weijen/.gem/ruby/1.8/gems/rails-2.2.2/lib/commands/server.rb:49 from /Library/Ruby/Site/1.8/rubygems/custom_require.rb:31:in `gem_original_require' from /Library/Ruby/Site/1.8/rubygems/custom_require.rb:31:in `require' from script/server:3 If I rollback to 1.3.5, then everything is fine. Please help me. thanks. My platform: OS: Mac OS X 10.5.8 Ruby: ruby 1.8.6 (2008-08-11 patchlevel 287) [universal-darwin9.0] Wei Jen ---------------------------------------------------------------------- Comment By: Martin Fencl (arta) Date: 2010-03-21 18:11 Message: I am facing a similar problem, getting this error when running ar_sendmail: ? ~/.c (master)? $ ar_sendmail Unhandled exception undefined method `version_requirements=' for #(NoMethodError): /usr/local/lib/ruby/gems/1.8/gems/rails-2.2.2/lib/rails/gem_dependency.rb:224:in `specification' /usr/local/lib/ruby/gems/1.8/gems/rails-2.2.2/lib/rails/plugin/locator.rb:81:in `plugins' /usr/local/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in `inject' /usr/local/lib/ruby/gems/1.8/gems/rails-2.2.2/lib/rails/plugin/locator.rb:81:in `each' /usr/local/lib/ruby/gems/1.8/gems/rails-2.2.2/lib/rails/plugin/locator.rb:81:in `inject' /usr/local/lib/ruby/gems/1.8/gems/rails-2.2.2/lib/rails/plugin/locator.rb:81:in `plugins' /usr/local/lib/ruby/gems/1.8/gems/rails-2.2.2/lib/rails/plugin/loader.rb:63:in `locate_plugins' /usr/local/lib/ruby/gems/1.8/gems/rails-2.2.2/lib/rails/plugin/loader.rb:62:in `map' /usr/local/lib/ruby/gems/1.8/gems/rails-2.2.2/lib/rails/plugin/loader.rb:62:in `locate_plugins' /usr/local/lib/ruby/gems/1.8/gems/rails-2.2.2/lib/rails/plugin/loader.rb:27:in `all_plugins' /usr/local/lib/ruby/gems/1.8/gems/rails-2.2.2/lib/rails/plugin/loader.rb:22:in `plugins' /usr/local/lib/ruby/gems/1.8/gems/rails-2.2.2/lib/rails/plugin/loader.rb:45:in `add_plugin_load_paths' /usr/local/lib/ruby/gems/1.8/gems/rails-2.2.2/lib/initializer.rb:269:in `add_plugin_load_paths' /usr/local/lib/ruby/gems/1.8/gems/rails-2.2.2/lib/initializer.rb:135:in `process' /usr/local/lib/ruby/gems/1.8/gems/rails-2.2.2/lib/initializer.rb:112:in `send' /usr/local/lib/ruby/gems/1.8/gems/rails-2.2.2/lib/initializer.rb:112:in `run' ./config/environment.rb:19 /usr/local/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in `gem_original_require' /usr/local/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in `require' /usr/local/lib/ruby/gems/1.8/gems/adzap-ar_mailer-2.1.6/lib/action_mailer/ar_sendmail.rb:252:in `process_args' /usr/local/lib/ruby/gems/1.8/gems/adzap-ar_mailer-2.1.6/lib/action_mailer/ar_sendmail.rb:250:in `chdir' /usr/local/lib/ruby/gems/1.8/gems/adzap-ar_mailer-2.1.6/lib/action_mailer/ar_sendmail.rb:250:in `process_args' /usr/local/lib/ruby/gems/1.8/gems/adzap-ar_mailer-2.1.6/lib/action_mailer/ar_sendmail.rb:269:in `run' /usr/local/lib/ruby/gems/1.8/gems/adzap-ar_mailer-2.1.6/bin/ar_sendmail:5 /usr/local/bin/ar_sendmail:19:in `load' /usr/local/bin/ar_sendmail:19 Rolling back to rubygems 1.3.5 doesn't help, gemcutter is installed .... My setup: OSX SL, Ruby 1.8.7p174, Rails 2.2.2. I didn't have any issues with ar_sendmail before. Thanks for any help, martin ---------------------------------------------------------------------- Comment By: Thong Kuah (kuahyeow) Date: 2010-03-21 16:06 Message: I had the exact same problem where version_requirement= was broken. After getting rubygems trunk, I now get a deprecation warning "Gem::Dependency#version_requirements= is deprecated and will be removed on or after August 2010. Use Gem::Dependency.new". So that seems to have fixed it. ---------------------------------------------------------------------- Comment By: Robert Berger (rberger) Date: 2010-03-05 03:29 Message: Eric: I svn checked out trunk, and from the top dir of the checkout did sudo ruby setup.rb and then I did a ./script/console from within my 2.2.2 app and it looks like it fixes this problem. I now get a deprecated warning. It looks like the rake commands work in general. ---------------------------------------------------------------------- Comment By: Dylan Fogarty-MacDonald (dylanfm) Date: 2010-02-24 20:51 Message: I'm experiencing the exact same issue. Rubygems 1.3.6 Ruby 1.8.6 (2008-08-08 patchlevel 286) [x86_64-linux] ---------------------------------------------------------------------- Comment By: Wei Jen Lu (weijenlu) Date: 2010-02-24 02:19 Message: I found out this issue is caused by gemcutter be removed. For my system, I use authlogic 1.3.8 and it depend on gemcutter 0.3.0. When I update rubygems, the update process removed gemcutter, then this problem happened. I fixed this problem after reinstall gemcutter. ---------------------------------------------------------------------- Comment By: Eric Hodel (drbrain) Date: 2010-02-24 01:03 Message: I think I have this fixed in trunk, but I can't replicate it with an empty rails 2.2.2 app. Can one of you test it out? Check out RubyGems then run: ruby -I/path/to/rubygems/lib script/server or: ruby -I/path/to/rubygems/lib -S rake ---------------------------------------------------------------------- Comment By: Florent Vaucelle (florent) Date: 2010-02-23 04:44 Message: Hi, having the same issue on Fedora 9 with REE 1.8.7, rails 2.2.2 installed. undefined method `version_requirements=' for # ../vendor/rails/railties/lib/rails/gem_dependency.rb:224:in `specification' ../vendor/rails/railties/lib/rails/plugin/locator.rb:81:in `plugins' /opt/ruby-ee-1.8.7/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in `inject' ../vendor/rails/railties/lib/rails/plugin/locator.rb:81:in `each' ../vendor/rails/railties/lib/rails/plugin/locator.rb:81:in `inject' ../vendor/rails/railties/lib/rails/plugin/locator.rb:81:in `plugins' ../vendor/rails/railties/lib/rails/plugin/loader.rb:63:in `locate_plugins' ../vendor/rails/railties/lib/rails/plugin/loader.rb:62:in `map' ../vendor/rails/railties/lib/rails/plugin/loader.rb:62:in `locate_plugins' ../vendor/rails/railties/lib/rails/plugin/loader.rb:27:in `all_plugins' ../vendor/rails/railties/lib/rails/plugin/loader.rb:22:in `plugins' ../vendor/rails/railties/lib/rails/plugin/loader.rb:45:in `add_plugin_load_paths' ../vendor/rails/railties/lib/initializer.rb:269:in `add_plugin_load_paths' ../vendor/rails/railties/lib/initializer.rb:135:in `process' ../vendor/rails/railties/lib/initializer.rb:112:in `send' ../vendor/rails/railties/lib/initializer.rb:112:in `run' environment.rb:13 /opt/ruby-ee-1.8.7/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in `gem_original_require' /opt/ruby-ee-1.8.7/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in `require' vendor/rails/activesupport/lib/active_support/dependencies.rb:153:in `require' vendor/rails/activesupport/lib/active_support/dependencies.rb:521:in `new_constants_in' vendor/rails/activesupport/lib/active_support/dependencies.rb:153:in `require' vendor/rails/railties/lib/tasks/misc.rake:3 /opt/ruby-ee-1.8.7/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:636:in `call' /opt/ruby-ee-1.8.7/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:636:in `execute' /opt/ruby-ee-1.8.7/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:631:in `each' /opt/ruby-ee-1.8.7/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:631:in `execute' /opt/ruby-ee-1.8.7/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:597:in `invoke_with_call_chain' /opt/ruby-ee-1.8.7/lib/ruby/1.8/monitor.rb:242:in `synchronize' /opt/ruby-ee-1.8.7/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:590:in `invoke_with_call_chain' /opt/ruby-ee-1.8.7/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:607:in `invoke_prerequisites' /opt/ruby-ee-1.8.7/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:604:in `each' /opt/ruby-ee-1.8.7/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:604:in `invoke_prerequisites' /opt/ruby-ee-1.8.7/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:596:in `invoke_with_call_chain' /opt/ruby-ee-1.8.7/lib/ruby/1.8/monitor.rb:242:in `synchronize' /opt/ruby-ee-1.8.7/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:590:in `invoke_with_call_chain' /opt/ruby-ee-1.8.7/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:583:in `invoke' /opt/ruby-ee-1.8.7/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:2051:in `invoke_task' /opt/ruby-ee-1.8.7/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:2029:in `top_level' /opt/ruby-ee-1.8.7/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:2029:in `each' /opt/ruby-ee-1.8.7/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:2029:in `top_level' /opt/ruby-ee-1.8.7/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:2068:in `standard_exception_handling' /opt/ruby-ee-1.8.7/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:2023:in `top_level' /opt/ruby-ee-1.8.7/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:2001:in `run' /opt/ruby-ee-1.8.7/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:2068:in `standard_exception_handling' /opt/ruby-ee-1.8.7/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:1998:in `run' /opt/ruby-ee-1.8.7/lib/ruby/gems/1.8/gems/rake-0.8.7/bin/rake:31 /opt/ruby-ee-1.8.7/bin/rake:19:in `load' /opt/ruby-ee-1.8.7/bin/rake:19 ---------------------------------------------------------------------- Comment By: Charles Ju (charlesju) Date: 2010-02-22 20:50 Message: I just updated to rubygems 1.3.6 and my app is on rails 2.2.2. My platform is OSX 10.6.2 and ruby at ruby 1.8.7 (2008-08-11 patchlevel 72) [universal-darwin10.0]. 1.3.5 is fine undefined method `version_requirements=' for :Gem::Dependency /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/gems/1.8/gems/rails-2.2.2/lib/rails/gem_dependency.rb:224:in `specification' /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/gems/1.8/gems/rails-2.2.2/lib/rails/plugin/locator.rb:81:in `plugins' /Library/Ruby/Site/1.8/rubygems/custom_require.rb:31:in `inject' /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/gems/1.8/gems/rails-2.2.2/lib/rails/plugin/locator.rb:81:in `each' /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/gems/1.8/gems/rails-2.2.2/lib/rails/plugin/locator.rb:81:in `inject' /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/gems/1.8/gems/rails-2.2.2/lib/rails/plugin/locator.rb:81:in `plugins' /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/gems/1.8/gems/rails-2.2.2/lib/rails/plugin/loader.rb:63:in `locate_plugins' /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/gems/1.8/gems/rails-2.2.2/lib/rails/plugin/loader.rb:62:in `map' /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/gems/1.8/gems/rails-2.2.2/lib/rails/plugin/loader.rb:62:in `locate_plugins' /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/gems/1.8/gems/rails-2.2.2/lib/rails/plugin/loader.rb:27:in `all_plugins' /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/gems/1.8/gems/rails-2.2.2/lib/rails/plugin/loader.rb:22:in `plugins' /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/gems/1.8/gems/rails-2.2.2/lib/rails/plugin/loader.rb:45:in `add_plugin_load_paths' /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/gems/1.8/gems/rails-2.2.2/lib/initializer.rb:269:in `add_plugin_load_paths' /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/gems/1.8/gems/rails-2.2.2/lib/initializer.rb:135:in `process' /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/gems/1.8/gems/rails-2.2.2/lib/initializer.rb:112:in `send' /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/gems/1.8/gems/rails-2.2.2/lib/initializer.rb:112:in `run' /Users/charlesju/work/SyncManager/config/environment.rb:16 /Library/Ruby/Site/1.8/rubygems/custom_require.rb:31:in `gem_original_require' /Library/Ruby/Site/1.8/rubygems/custom_require.rb:31:in `require' Charles ---------------------------------------------------------------------- Comment By: Daniel Berger (djberg96) Date: 2010-02-22 20:04 Message: Time to vendor in rubygems? Can that be done? Dan ---------------------------------------------------------------------- Comment By: Vidal Graupera (vgraupera) Date: 2010-02-22 19:40 Message: I hit the exact same problem. My platform is OS X 10.6.2 and ruby 1.8.7 (2008-08-11 patchlevel 72) [universal-darwin10.0] ---------------------------------------------------------------------- You can respond by visiting: http://rubyforge.org/tracker/?func=detail&atid=575&aid=27868&group_id=126 From noreply at rubyforge.org Mon Mar 22 01:44:22 2010 From: noreply at rubyforge.org (noreply at rubyforge.org) Date: Mon, 22 Mar 2010 01:44:22 -0400 (EDT) Subject: [Rubygems-developers] [ rubygems-Bugs-27995 ] Gem.default_exec_format does not work with IronRuby Message-ID: <20100322054423.0786418582D4@rubyforge.org> Bugs item #27995, was opened at 2010-03-21 22:44 You can respond by visiting: http://rubyforge.org/tracker/?func=detail&atid=575&aid=27995&group_id=126 Category: None Group: None Status: Open Resolution: None Priority: 3 Submitted By: Shri Borde (shrib) Assigned to: Nobody (None) Summary: Gem.default_exec_format does not work with IronRuby Initial Comment: Gem.default_exec_format assumes that the Ruby interpreter command line (RbConfig::CONGIF[:ruby_install_name]) is of the form *ruby*. This works for command lines like ruby, ruby18, ruby19, jruby, etc. However, this does not work for IronRuby where the command line is "ir.exe". As a result, "ir.exe -S gem update --system" fails with the call stack shown below. This is a serious issue for IronRuby. RubyGems should have some way of dealing with such command lines. It could perhaps look at some new config setting, eg. RbConfig::CONFIG["defaul_exec_format"]. Or it could just append "%s" to RbConfig::CONGIF[:ruby_install_name]. lib/rubygems/defaults.rb:57:in `default_exec_format' lib/rubygems/commands/setup_command.rb:72:in `description' lib/rubygems/command.rb:393:in `create_option_parser' lib/rubygems/command.rb:359:in `parser' lib/rubygems/command.rb:328:in `handle_options' lib/rubygems/command.rb:251:in `invoke' lib/rubygems/command_manager.rb:134:in `process_args' lib/rubygems/command_manager.rb:104:in `run' lib/rubygems/gem_runner.rb:58:in `run' setup.rb:35 ---------------------------------------------------------------------- You can respond by visiting: http://rubyforge.org/tracker/?func=detail&atid=575&aid=27995&group_id=126 From noreply at rubyforge.org Mon Mar 22 02:23:26 2010 From: noreply at rubyforge.org (noreply at rubyforge.org) Date: Mon, 22 Mar 2010 02:23:26 -0400 (EDT) Subject: [Rubygems-developers] [ rubygems-Bugs-27996 ] "gem install rails" command fails with time-out error Message-ID: <20100322062326.96F33185828E@rubyforge.org> Bugs item #27996, was opened at 2010-03-21 23:23 You can respond by visiting: http://rubyforge.org/tracker/?func=detail&atid=575&aid=27996&group_id=126 Category: `gem install` command Group: None Status: Open Resolution: None Priority: 3 Submitted By: Z R (zhinker) Assigned to: Nobody (None) Summary: "gem install rails" command fails with time-out error Initial Comment: Hi, I just tried installing ruby on rails on a clean Ubuntu 9.10 VM. I followed the steps on this site: http://castilho.biz/blog/2009/11/05/ruby-on-rails-ubuntu-9-10-karmic-koala/. However, when I try to install rails it fails with a timeout error. I reran the command with the --debug parameter and pasted that output below. zain at ubuntu-x86:~$ sudo gem --debug install rails Exception `NameError' at /usr/lib/ruby/1.8/rubygems/command_manager.rb:161 - uninitialized constant Gem::Commands::InstallCommand Exception `Gem::LoadError' at /usr/lib/ruby/1.8/rubygems.rb:827 - Could not find RubyGem test-unit (>= 0) Exception `Gem::LoadError' at /usr/lib/ruby/1.8/rubygems.rb:827 - Could not find RubyGem sources (> 0.0.1) Exception `#' at /usr/lib/ruby/1.8/timeout.rb:60 - execution expired Exception `Timeout::Error' at /usr/lib/ruby/1.8/timeout.rb:74 - execution expired Exception `Gem::RemoteFetcher::FetchError' at /usr/lib/ruby/1.8/rubygems/remote_fetcher.rb:170 - timed out (http://gems.rubyforge.org/quick/Marshal.4.8/activesupport-2.3.5.gemspec.rz) Exception `Gem::RemoteFetcher::FetchError' at /usr/lib/ruby/1.8/rubygems/spec_fetcher.rb:76 - timed out (http://gems.rubyforge.org/quick/Marshal.4.8/activesupport-2.3.5.gemspec.rz) Exception `#' at /usr/lib/ruby/1.8/timeout.rb:60 - execution expired Exception `Timeout::Error' at /usr/lib/ruby/1.8/timeout.rb:74 - execution expired Exception `Gem::RemoteFetcher::FetchError' at /usr/lib/ruby/1.8/rubygems/remote_fetcher.rb:170 - timed out (http://gems.rubyforge.org/gems/rake-0.8.7.gem) Exception `Gem::RemoteFetcher::FetchError' at /usr/lib/ruby/1.8/rubygems/remote_fetcher.rb:110 - timed out (http://gems.rubyforge.org/gems/rake-0.8.7.gem) Exception `Gem::RemoteFetcher::FetchError' at /usr/lib/ruby/1.8/rubygems/dependency_installer.rb:236 - timed out (http://gems.rubyforge.org/gems/rake-0.8.7.gem) ERROR: While executing gem ... (Gem::RemoteFetcher::FetchError) timed out (http://gems.rubyforge.org/gems/rake-0.8.7.gem) /usr/lib/ruby/1.8/rubygems/remote_fetcher.rb:170:in `fetch_path' /usr/lib/ruby/1.8/rubygems/remote_fetcher.rb:108:in `download' /usr/lib/ruby/1.8/rubygems/dependency_installer.rb:232:in `install' /usr/lib/ruby/1.8/rubygems/dependency_installer.rb:222:in `each' /usr/lib/ruby/1.8/rubygems/dependency_installer.rb:222:in `install' /usr/lib/ruby/1.8/rubygems/commands/install_command.rb:118:in `execute' /usr/lib/ruby/1.8/rubygems/commands/install_command.rb:115:in `each' /usr/lib/ruby/1.8/rubygems/commands/install_command.rb:115:in `execute' /usr/lib/ruby/1.8/rubygems/command.rb:257:in `invoke' /usr/lib/ruby/1.8/rubygems/command_manager.rb:132:in `process_args' /usr/lib/ruby/1.8/rubygems/command_manager.rb:102:in `run' /usr/lib/ruby/1.8/rubygems/gem_runner.rb:58:in `run' /usr/bin/gem:21 ---------------------------------------------------------------------- You can respond by visiting: http://rubyforge.org/tracker/?func=detail&atid=575&aid=27996&group_id=126 From noreply at rubyforge.org Mon Mar 22 04:38:01 2010 From: noreply at rubyforge.org (noreply at rubyforge.org) Date: Mon, 22 Mar 2010 04:38:01 -0400 (EDT) Subject: [Rubygems-developers] [ rubygems-Bugs-27995 ] Gem.default_exec_format does not work with IronRuby Message-ID: <20100322083801.660B118582CE@rubyforge.org> Bugs item #27995, was opened at 2010-03-22 05:44 You can respond by visiting: http://rubyforge.org/tracker/?func=detail&atid=575&aid=27995&group_id=126 Category: None Group: None Status: Open Resolution: None Priority: 3 Submitted By: Shri Borde (shrib) Assigned to: Nobody (None) Summary: Gem.default_exec_format does not work with IronRuby Initial Comment: Gem.default_exec_format assumes that the Ruby interpreter command line (RbConfig::CONGIF[:ruby_install_name]) is of the form *ruby*. This works for command lines like ruby, ruby18, ruby19, jruby, etc. However, this does not work for IronRuby where the command line is "ir.exe". As a result, "ir.exe -S gem update --system" fails with the call stack shown below. This is a serious issue for IronRuby. RubyGems should have some way of dealing with such command lines. It could perhaps look at some new config setting, eg. RbConfig::CONFIG["defaul_exec_format"]. Or it could just append "%s" to RbConfig::CONGIF[:ruby_install_name]. lib/rubygems/defaults.rb:57:in `default_exec_format' lib/rubygems/commands/setup_command.rb:72:in `description' lib/rubygems/command.rb:393:in `create_option_parser' lib/rubygems/command.rb:359:in `parser' lib/rubygems/command.rb:328:in `handle_options' lib/rubygems/command.rb:251:in `invoke' lib/rubygems/command_manager.rb:134:in `process_args' lib/rubygems/command_manager.rb:104:in `run' lib/rubygems/gem_runner.rb:58:in `run' setup.rb:35 ---------------------------------------------------------------------- >Comment By: James Tucker (raggi) Date: 2010-03-22 08:38 Message: Seems that iron ruby should be overriding default_exec_format in its own defaults/[engine].rb . >From the documentation: # == RubyGems Defaults, Packaging # # RubyGems defaults are stored in rubygems/defaults.rb. If you're packaging # RubyGems or implementing Ruby you can change RubyGems' defaults. # # For RubyGems packagers, provide lib/rubygems/operating_system.rb and # override any defaults from lib/rubygems/defaults.rb. # # For Ruby implementers, provide lib/rubygems/#{RUBY_ENGINE}.rb and override # any defaults from lib/rubygems/defaults.rb. HTH ---------------------------------------------------------------------- You can respond by visiting: http://rubyforge.org/tracker/?func=detail&atid=575&aid=27995&group_id=126 From noreply at rubyforge.org Mon Mar 22 04:57:38 2010 From: noreply at rubyforge.org (noreply at rubyforge.org) Date: Mon, 22 Mar 2010 04:57:38 -0400 (EDT) Subject: [Rubygems-developers] [ rubygems-Bugs-27996 ] "gem install rails" command fails with time-out error Message-ID: <20100322085738.E447A185825A@rubyforge.org> Bugs item #27996, was opened at 2010-03-22 06:23 You can respond by visiting: http://rubyforge.org/tracker/?func=detail&atid=575&aid=27996&group_id=126 Category: `gem install` command Group: None Status: Open Resolution: None Priority: 3 Submitted By: Z R (zhinker) Assigned to: Nobody (None) >Summary: "gem install rails" command fails with time-out error Initial Comment: Hi, I just tried installing ruby on rails on a clean Ubuntu 9.10 VM. I followed the steps on this site: http://castilho.biz/blog/2009/11/05/ruby-on-rails-ubuntu-9-10-karmic-koala/. However, when I try to install rails it fails with a timeout error. I reran the command with the --debug parameter and pasted that output below. zain at ubuntu-x86:~$ sudo gem --debug install rails Exception `NameError' at /usr/lib/ruby/1.8/rubygems/command_manager.rb:161 - uninitialized constant Gem::Commands::InstallCommand Exception `Gem::LoadError' at /usr/lib/ruby/1.8/rubygems.rb:827 - Could not find RubyGem test-unit (>= 0) Exception `Gem::LoadError' at /usr/lib/ruby/1.8/rubygems.rb:827 - Could not find RubyGem sources (> 0.0.1) Exception `#' at /usr/lib/ruby/1.8/timeout.rb:60 - execution expired Exception `Timeout::Error' at /usr/lib/ruby/1.8/timeout.rb:74 - execution expired Exception `Gem::RemoteFetcher::FetchError' at /usr/lib/ruby/1.8/rubygems/remote_fetcher.rb:170 - timed out (http://gems.rubyforge.org/quick/Marshal.4.8/activesupport-2.3.5.gemspec.rz) Exception `Gem::RemoteFetcher::FetchError' at /usr/lib/ruby/1.8/rubygems/spec_fetcher.rb:76 - timed out (http://gems.rubyforge.org/quick/Marshal.4.8/activesupport-2.3.5.gemspec.rz) Exception `#' at /usr/lib/ruby/1.8/timeout.rb:60 - execution expired Exception `Timeout::Error' at /usr/lib/ruby/1.8/timeout.rb:74 - execution expired Exception `Gem::RemoteFetcher::FetchError' at /usr/lib/ruby/1.8/rubygems/remote_fetcher.rb:170 - timed out (http://gems.rubyforge.org/gems/rake-0.8.7.gem) Exception `Gem::RemoteFetcher::FetchError' at /usr/lib/ruby/1.8/rubygems/remote_fetcher.rb:110 - timed out (http://gems.rubyforge.org/gems/rake-0.8.7.gem) Exception `Gem::RemoteFetcher::FetchError' at /usr/lib/ruby/1.8/rubygems/dependency_installer.rb:236 - timed out (http://gems.rubyforge.org/gems/rake-0.8.7.gem) ERROR: While executing gem ... (Gem::RemoteFetcher::FetchError) timed out (http://gems.rubyforge.org/gems/rake-0.8.7.gem) /usr/lib/ruby/1.8/rubygems/remote_fetcher.rb:170:in `fetch_path' /usr/lib/ruby/1.8/rubygems/remote_fetcher.rb:108:in `download' /usr/lib/ruby/1.8/rubygems/dependency_installer.rb:232:in `install' /usr/lib/ruby/1.8/rubygems/dependency_installer.rb:222:in `each' /usr/lib/ruby/1.8/rubygems/dependency_installer.rb:222:in `install' /usr/lib/ruby/1.8/rubygems/commands/install_command.rb:118:in `execute' /usr/lib/ruby/1.8/rubygems/commands/install_command.rb:115:in `each' /usr/lib/ruby/1.8/rubygems/commands/install_command.rb:115:in `execute' /usr/lib/ruby/1.8/rubygems/command.rb:257:in `invoke' /usr/lib/ruby/1.8/rubygems/command_manager.rb:132:in `process_args' /usr/lib/ruby/1.8/rubygems/command_manager.rb:102:in `run' /usr/lib/ruby/1.8/rubygems/gem_runner.rb:58:in `run' /usr/bin/gem:21 ---------------------------------------------------------------------- >Comment By: James Tucker (raggi) Date: 2010-03-22 08:57 Message: Please provide the output of `gem env` and also repeat the command with --verbose, which will tell us which files are timing out. ---------------------------------------------------------------------- You can respond by visiting: http://rubyforge.org/tracker/?func=detail&atid=575&aid=27996&group_id=126 From noreply at rubyforge.org Tue Mar 23 02:18:34 2010 From: noreply at rubyforge.org (noreply at rubyforge.org) Date: Tue, 23 Mar 2010 02:18:34 -0400 (EDT) Subject: [Rubygems-developers] [ rubygems-Bugs-27995 ] Gem.default_exec_format does not work with IronRuby Message-ID: <20100323061834.8974C18582E2@rubyforge.org> Bugs item #27995, was opened at 2010-03-21 22:44 You can respond by visiting: http://rubyforge.org/tracker/?func=detail&atid=575&aid=27995&group_id=126 Category: None Group: None Status: Open Resolution: None Priority: 3 Submitted By: Shri Borde (shrib) Assigned to: Nobody (None) Summary: Gem.default_exec_format does not work with IronRuby Initial Comment: Gem.default_exec_format assumes that the Ruby interpreter command line (RbConfig::CONGIF[:ruby_install_name]) is of the form *ruby*. This works for command lines like ruby, ruby18, ruby19, jruby, etc. However, this does not work for IronRuby where the command line is "ir.exe". As a result, "ir.exe -S gem update --system" fails with the call stack shown below. This is a serious issue for IronRuby. RubyGems should have some way of dealing with such command lines. It could perhaps look at some new config setting, eg. RbConfig::CONFIG["defaul_exec_format"]. Or it could just append "%s" to RbConfig::CONGIF[:ruby_install_name]. lib/rubygems/defaults.rb:57:in `default_exec_format' lib/rubygems/commands/setup_command.rb:72:in `description' lib/rubygems/command.rb:393:in `create_option_parser' lib/rubygems/command.rb:359:in `parser' lib/rubygems/command.rb:328:in `handle_options' lib/rubygems/command.rb:251:in `invoke' lib/rubygems/command_manager.rb:134:in `process_args' lib/rubygems/command_manager.rb:104:in `run' lib/rubygems/gem_runner.rb:58:in `run' setup.rb:35 ---------------------------------------------------------------------- >Comment By: Shri Borde (shrib) Date: 2010-03-22 23:18 Message: The failure above happens in the child process spawned by the main "ir.exe -S gem update --system" process. The command line of the child process is "ir.exe setup.rb" and it executes in the rubygems-update gem folder after downloading the latest version of the rubygems-update gem. So if I add lib/rubygems/ironruby.rb, it would help with most commands except for "update --system". Is there a way to fix it for "update --system" too? Thanks for the comments. ---------------------------------------------------------------------- Comment By: James Tucker (raggi) Date: 2010-03-22 01:38 Message: Seems that iron ruby should be overriding default_exec_format in its own defaults/[engine].rb . >From the documentation: # == RubyGems Defaults, Packaging # # RubyGems defaults are stored in rubygems/defaults.rb. If you're packaging # RubyGems or implementing Ruby you can change RubyGems' defaults. # # For RubyGems packagers, provide lib/rubygems/operating_system.rb and # override any defaults from lib/rubygems/defaults.rb. # # For Ruby implementers, provide lib/rubygems/#{RUBY_ENGINE}.rb and override # any defaults from lib/rubygems/defaults.rb. HTH ---------------------------------------------------------------------- You can respond by visiting: http://rubyforge.org/tracker/?func=detail&atid=575&aid=27995&group_id=126 From noreply at rubyforge.org Tue Mar 23 03:19:59 2010 From: noreply at rubyforge.org (noreply at rubyforge.org) Date: Tue, 23 Mar 2010 03:19:59 -0400 (EDT) Subject: [Rubygems-developers] [ rubygems-Bugs-27995 ] Gem.default_exec_format does not work with IronRuby Message-ID: <20100323071959.648CD18582E1@rubyforge.org> Bugs item #27995, was opened at 2010-03-22 05:44 You can respond by visiting: http://rubyforge.org/tracker/?func=detail&atid=575&aid=27995&group_id=126 Category: None Group: None Status: Open Resolution: None >Priority: 4 Submitted By: Shri Borde (shrib) Assigned to: Nobody (None) Summary: Gem.default_exec_format does not work with IronRuby Initial Comment: Gem.default_exec_format assumes that the Ruby interpreter command line (RbConfig::CONGIF[:ruby_install_name]) is of the form *ruby*. This works for command lines like ruby, ruby18, ruby19, jruby, etc. However, this does not work for IronRuby where the command line is "ir.exe". As a result, "ir.exe -S gem update --system" fails with the call stack shown below. This is a serious issue for IronRuby. RubyGems should have some way of dealing with such command lines. It could perhaps look at some new config setting, eg. RbConfig::CONFIG["defaul_exec_format"]. Or it could just append "%s" to RbConfig::CONGIF[:ruby_install_name]. lib/rubygems/defaults.rb:57:in `default_exec_format' lib/rubygems/commands/setup_command.rb:72:in `description' lib/rubygems/command.rb:393:in `create_option_parser' lib/rubygems/command.rb:359:in `parser' lib/rubygems/command.rb:328:in `handle_options' lib/rubygems/command.rb:251:in `invoke' lib/rubygems/command_manager.rb:134:in `process_args' lib/rubygems/command_manager.rb:104:in `run' lib/rubygems/gem_runner.rb:58:in `run' setup.rb:35 ---------------------------------------------------------------------- >Comment By: James Tucker (raggi) Date: 2010-03-23 07:19 Message: Good point, i think the answer is, there should be... ---------------------------------------------------------------------- Comment By: Shri Borde (shrib) Date: 2010-03-23 06:18 Message: The failure above happens in the child process spawned by the main "ir.exe -S gem update --system" process. The command line of the child process is "ir.exe setup.rb" and it executes in the rubygems-update gem folder after downloading the latest version of the rubygems-update gem. So if I add lib/rubygems/ironruby.rb, it would help with most commands except for "update --system". Is there a way to fix it for "update --system" too? Thanks for the comments. ---------------------------------------------------------------------- Comment By: James Tucker (raggi) Date: 2010-03-22 08:38 Message: Seems that iron ruby should be overriding default_exec_format in its own defaults/[engine].rb . >From the documentation: # == RubyGems Defaults, Packaging # # RubyGems defaults are stored in rubygems/defaults.rb. If you're packaging # RubyGems or implementing Ruby you can change RubyGems' defaults. # # For RubyGems packagers, provide lib/rubygems/operating_system.rb and # override any defaults from lib/rubygems/defaults.rb. # # For Ruby implementers, provide lib/rubygems/#{RUBY_ENGINE}.rb and override # any defaults from lib/rubygems/defaults.rb. HTH ---------------------------------------------------------------------- You can respond by visiting: http://rubyforge.org/tracker/?func=detail&atid=575&aid=27995&group_id=126 From jftucker at gmail.com Thu Mar 25 10:49:47 2010 From: jftucker at gmail.com (James Tucker) Date: Thu, 25 Mar 2010 14:49:47 +0000 Subject: [Rubygems-developers] Rubygems Packaging Enhancements and Designs Message-ID: Hi all, So after another hairy discussion on various lists, IRC channels and what not, I'm getting the urge to try and fix this for reals this time around. In an effort to do this, I'm dropping the ever so popular agile approach. This is a platform heavy issue, so I need better specs about platform specific requirements. That requires input from you guys, and from anyone else in a similar position. Spec collection is to happen on this wiki page, and I've started a small template of the discussion already. My lunch hour is coming to an end though, so there's plenty more to be added. Please add your opinions, requirements, design level bugs and so on, and I'll do what I can to distill this all down into a set of requirements that I can produce patches against. http://wiki.github.com/jbarnette/rubygems/packaging-designs As a sort of aside, I'm doing this to fix these problems as best as possible, and as such, I'm simply going to ignore any flame war that starts. The only way to move forward is to understand, and that's my intention, so please, I implore you all, explain your position clearly, rather than making demands, and whatever history you have is unimportant now, we're moving forward. If you know other maintainers that were not included in this email, please do forward this on to them, I need as much info as possible about what peoples requirements are in order to satisfy as many of them as possible in as few patches as possible. The final stages of this process should result in: * Fresh documentation for teams packaging rubygems and gems inside other package managers * A set of platform test infrastructure wired to build / commit / gem push hooks allowing us to be more proactive about these issues in future (the SUSE team have some great tools here, and a lot of domain knowledge already) * An agreeable attitude and platform for open discussion of these issues A quick word of warning about expectations. I'm not looking to move really fast on this. We need to get it right, and we need to avoid adding bugs as we do it, that's going to require /real/ and /extensive/ manual testing and a mature approach. Expecting fixes next month is not the intention here. What I do expect is that we can have standard ways to get this stuff off the ground, and reduce support requests for all related projects, with releases in most of your platforms hopefully by next year. Please, "help us to help you", Cheers, James From noreply at rubyforge.org Thu Mar 25 17:24:52 2010 From: noreply at rubyforge.org (noreply at rubyforge.org) Date: Thu, 25 Mar 2010 17:24:52 -0400 (EDT) Subject: [Rubygems-developers] [ rubygems-Feature Requests-28005 ] feature request: show when a dependency is "only" for a development dependency Message-ID: <20100325212452.288F318582F7@rubyforge.org> Feature Requests item #28005, was opened at 2010-03-25 21:24 You can respond by visiting: http://rubyforge.org/tracker/?func=detail&atid=578&aid=28005&group_id=126 Category: None Group: None Status: Open Resolution: None Priority: 3 Submitted By: Roger Pack (rogerdpack) Assigned to: Nobody (None) Summary: feature request: show when a dependency is "only" for a development dependency Initial Comment: Situation: Currently when one uninstalls a gem with a development dependency, the following is output: C:\installs\ruby191p376\lib\ruby\gems\1.9.1\gems\redcar-0.3.3>gem uninstall gemcutter You have requested to uninstall the gem: gemcutter-0.5.0 jeweler-1.4.0 depends on [gemcutter (>= 0.1.0)] win32console-1.3.0 depends on [gemcutter (>= 0.3.0)] If you remove this gems, one or more dependencies will not be met. Continue with Uninstall? [Yn] Originally when I see this, I am surprised to see that things has a dependency on gemcutter, but later discover they are "just" development dependencies, which is not surprising. Feature request: on uninstall dependency warning, note if the dependency is "only" a development one. ex something like: C:\installs\ruby191p376\lib\ruby\gems\1.9.1\gems\redcar-0.3.3>gem uninstall gemcutter You have requested to uninstall the gem: gemcutter-0.5.0 win32console-1.3.0 depends on [gemcutter (>= 0.3.0)] (development dependency) If you remove this gems, one or more dependencies will not be met. Continue with Uninstall? [Yn] That's all. Thanks. -rp ---------------------------------------------------------------------- You can respond by visiting: http://rubyforge.org/tracker/?func=detail&atid=578&aid=28005&group_id=126 From noreply at rubyforge.org Mon Mar 29 16:07:42 2010 From: noreply at rubyforge.org (noreply at rubyforge.org) Date: Mon, 29 Mar 2010 16:07:42 -0400 (EDT) Subject: [Rubygems-developers] [ rubygems-Bugs-28024 ] plugins: can't bind as string (for better or worse). Message-ID: <20100329200743.0D1EA18582DE@rubyforge.org> Bugs item #28024, was opened at 2010-03-29 20:07 You can respond by visiting: http://rubyforge.org/tracker/?func=detail&atid=575&aid=28024&group_id=126 Category: None Group: None Status: Open Resolution: None Priority: 3 Submitted By: Roger Pack (rogerdpack) Assigned to: Nobody (None) Summary: plugins: can't bind as string (for better or worse). Initial Comment: If I call Gem::CommandManager.instance.register_command 'git_install' I get this: ERROR: While executing gem ... (NoMethodError) undefined method `summary' for nil:NilClass C:/Ruby19/lib/ruby/site_ruby/1.9.1/rubygems/commands/help_command.rb:122:in `block in execute' C:/Ruby19/lib/ruby/site_ruby/1.9.1/rubygems/commands/help_command.rb:120:in `each' C:/Ruby19/lib/ruby/site_ruby/1.9.1/rubygems/commands/help_command.rb:120:in `execute' C:/Ruby19/lib/ruby/site_ruby/1.9.1/rubygems/command.rb:258:in `invoke' C:/Ruby19/lib/ruby/site_ruby/1.9.1/rubygems/command_manager.rb:134:in `process_args' C:/Ruby19/lib/ruby/site_ruby/1.9.1/rubygems/command_manager.rb:104:in `run' C:/Ruby19/lib/ruby/site_ruby/1.9.1/rubygems/gem_runner.rb:58:in `run' C:/Ruby19/bin/gem:21:in `
' however with a symbol it works great. Thanks! -rp ---------------------------------------------------------------------- You can respond by visiting: http://rubyforge.org/tracker/?func=detail&atid=575&aid=28024&group_id=126 From noreply at rubyforge.org Tue Mar 30 10:12:57 2010 From: noreply at rubyforge.org (noreply at rubyforge.org) Date: Tue, 30 Mar 2010 10:12:57 -0400 (EDT) Subject: [Rubygems-developers] [ rubygems-Bugs-28033 ] gem unpack fails as non-privileged user Message-ID: <20100330141257.312AF18582C9@rubyforge.org> Bugs item #28033, was opened at 2010-03-30 23:12 You can respond by visiting: http://rubyforge.org/tracker/?func=detail&atid=575&aid=28033&group_id=126 Category: `gem` commands (other) Group: None Status: Open Resolution: None Priority: 3 Submitted By: Mathieu Sauve-Frankel (kisoku) Assigned to: Nobody (None) Summary: gem unpack fails as non-privileged user Initial Comment: Rubygems::Installer when called with options[:unpack] will always attempt to create the default gem directory, even when running as a non-privileged user. As Rubygems::Commands::UnpackCommand does not have the --user-install option included, it is not longer possible to unpack gems as a user who does not have write access to @gem_home. See line 136 of lib/rubygems/installer.rb ---------------------------------------------------------------------- You can respond by visiting: http://rubyforge.org/tracker/?func=detail&atid=575&aid=28033&group_id=126 From jftucker at gmail.com Wed Mar 31 06:05:49 2010 From: jftucker at gmail.com (James Tucker) Date: Wed, 31 Mar 2010 11:05:49 +0100 Subject: [Rubygems-developers] Rubygems Packaging Enhancements and Designs In-Reply-To: References: Message-ID: <38F0B358-9035-4691-8D1A-DE82AB60AC0D@gmail.com> On 31 Mar 2010, at 10:02, Hugh Sasse wrote: > [...] >> that starts. The only way to move forward is to understand, and > In that spirit, I'd like to contribute the following. > [...] >> * Fresh documentation for teams packaging rubygems and gems inside >> other package managers * A set of platform test infrastructure > [...] > I'd like to point out that > > http://docs.rubygems.org/ > > could do with an update. It refers to rubygems 0.8.7, and it says > that 1.3.x is in progress. Those (being updated) docs don't appear > to be visible to doc maintainers who wish to contribute. Could they > be released for maintenance? At present this is database backed I believe. That means you will want to sign up for an account and Eric can open it up for you. Alternatively, you could send patches to this ML and I can patch it for you. I want to spend time on that at some point, but it's lower on the priority list. I agree that moving it to something like asciidoc or the like and putting it in a repository might "open up" access for more people. > The importance of this is that a Google search for RubyGems > Documentation presents this as the first choice, so it is > a place many people will be looking for this. I agree 100%. I have already created a book on rubygems packaging at the site, that is currently empty and unpublished, but it will come to contain the guide that will be one of the results of the subproject in question. > It could also be worth collecting a critical bibliography of > published books that discuss how to use RubyGems, with a view > to describing how current the information in them is. Mostly it needs to be clear (and documented) that for users, rubygems is well self-documented: gem help gem help commands From jftucker at gmail.com Wed Mar 31 06:00:20 2010 From: jftucker at gmail.com (James Tucker) Date: Wed, 31 Mar 2010 11:00:20 +0100 Subject: [Rubygems-developers] Rubygems Packaging Enhancements and Designs In-Reply-To: References: Message-ID: <9A02ED39-C95A-4206-BDD0-1F22461A2706@gmail.com> Now look guys, I don't want to deal with crap like this. Grow up, or release your maintenance positions to me. You can't maintain these packages or help with their development unless you're willing to get involved. Step up, or step down, it's that simple. As I say below, I don't want to be angry, but a little give and take, rather than you guys breaking every single communication channel I try to open is the only way I can start to fix things. That's a fact of communication, it's a two way process that requires a common transport medium, and I am NOT willing to be a manual email hub just because you're being resistant, I'm putting enough time in trying to arbitrate already. Sadly, it's likely that if this warning is not received with a mature view, then this effort may fail before it's even really begun, in which case, I'll be dealing with the SUSE folks only, as they seem to be the only ones not nit-picking over communications, methods and mediums; instead they're working with me, promptly, and providing plenty of help, even infrastructure. They're on my gold list. Mails like below push you toward the .... list, for exceedingly obvious reasons. Finally, if you don't agree, please sleep on it, maybe for a week, then come back. If you still feel raw about it, then like I say, give up your maintenance positions, and walk away. I'm not having these arguments *again*, as neither of you can provide a real rationale behind your resistance. Current open channels: Direct email - please don't use this for design input, as I need everyone to be on the same channel for that. Mailing list - sign up, or step down. Wiki - to keep a central record of longer term decisions, avoiding bikeshed discussion and so on. I want this to be a summary of the facts. I could move this elsewhere, but I'd have to sign up, and so would the rest of the rubygems core team (who are already signed up on github, all of them, for a long time now). IRC - #rubygems and talking to me directly on freenode (raggi) is fine, although once again, this is purely for a realtime channel, facts need to be persisted to the wiki. Now I can open up more wiki's at other places (but at least one of us is going to have to give and sign up for anywhere else that's spam resistant). I can open up more IRC channels, but that's not persistent, and not suitable for the long term stuff. I can provide access to Campfire, or Talkerapp, or Teamvox, or etherpad, or a gist, or rubyforge wikis, or, or, or, or. They all have something in common, someone out of the lot of you, or more, is going to have to pull a finger out and sign up. I made a proactive set of (sane) choices based on (good) evidence for what is (commonly) available to our (main) userbase and (all) our maintainers. You're with us, or not. If not, once again, please step down. I'm willing to listen to rational arguments against my choices, but not being signed up to the rubygems ML when you're responsible for maintaining ports of rubygems packages as non-rubygems or not signing up to github because you're "not sure of the ramifications" are both truly pathetic reasons, and if you feel strongly about those two things you really shouldn't be holding any maintenance positions on these projects, because not doing so leaves you without suitable infrastructure to do so. More than that it should be against maintenance policies of distributions to be so disconnected and irresponsible. On 31 Mar 2010, at 06:36, Lucas Nussbaum wrote: > FYI. It might be better to keep the discussion off-list, then. > > - Lucas NO. You're involved with rubygems development, whether you like to admit it or not, you need to be on that ML. I'd dig up Debian policies about responsible administration of packages, but you guys are supposed to know those already. On 31 Mar 2010, at 10:02, Hugh Sasse wrote: > I can't seem to edit this without a github account. I've not > worked out all the ramifications of that yet, so not chosen a > package for github. I know Wikis can't be totally open because > of what happened to RubyGarden. Hopefully there's a way around > this. I don't know what the Venn diagram would look like for > wanted contributors and those that have github accounts. I've counted to 10. I've tried really hard to squash the feeling that you're nit-picking. I've tried to understand a rational reason of where you're coming from. I don't get it, and whilst I agree with everything else you've said in the mail, my reply to this is presently "grow up". Security is no excuse. Mail volume is no excuse. Professionalism is no excuse. Cost is no excuse (it's free). Remember please: HELP ME TO HELP YOU. There are limits to my time and effort on this and discussing philosophical lies about signing up for accounts on MASSIVE well known services is NOT what I am here for. http://github.com/blog/620-committing-like-crazy They handle 10x more open source commits per day than SourceForge, so like I say, grow up, sign up, and lets get down to some /real work/. Enough said, I'm very sorry if you find this mail upsetting, but you hit a bad button here, as the Debian folks are also currently trying to make me move off the rubygems ML too, because they don't want to sign up. It's PATHETIC, people are nit picking at stuff that's totally irrelevant, and it seems that they're either insane, evangelists, or just trying to wind me up and demoralise my effort to really fix this stuff. I'm here to fix rubygems, not people attitudes. Maturity and professionalism from here on in please, I don't want to be angry anymore. And YES I've been asked to sign up to places plenty of times in professional environments, and I don't give clients hell over it, it's bad for business and bad for karma. http://help.github.com/terms/ http://help.github.com/privacy/ Questions to: support at github.com From jftucker at gmail.com Wed Mar 31 06:54:01 2010 From: jftucker at gmail.com (James Tucker) Date: Wed, 31 Mar 2010 11:54:01 +0100 Subject: [Rubygems-developers] Rubygems Packaging Enhancements and Designs In-Reply-To: <20100330211642.GA31687@xanadu.blop.info> References: <20100330211642.GA31687@xanadu.blop.info> Message-ID: On 30 Mar 2010, at 22:16, Lucas Nussbaum wrote: > On 25/03/10 at 14:46 +0000, James Tucker wrote: > >> So after another hairy discussion on various lists, IRC channels and what not, I'm getting the urge to try and fix this for reals this time around. In an effort to do this, I'm dropping the ever so popular agile approach. This is a platform heavy issue, so I need better specs about platform specific requirements. That requires input from you guys, and from anyone else in a similar position. Spec collection is to happen on this wiki page, and I've started a small template of the discussion already. My lunch hour is coming to an end though, so there's plenty more to be added. Please add your opinions, requirements, design level bugs and so on, and I'll do what I can to distill this all down into a set of requirements that I can produce patches against. >> >> http://wiki.github.com/jbarnette/rubygems/packaging-designs >> >> As a sort of aside, I'm doing this to fix these problems as best as possible, and as such, I'm simply going to ignore any flame war that starts. The only way to move forward is to understand, and that's my intention, so please, I implore you all, explain your position clearly, rather than making demands, and whatever history you have is unimportant now, we're moving forward. >> >> If you know other maintainers that were not included in this email, please do forward this on to them, I need as much info as possible about what peoples requirements are in order to satisfy as many of them as possible in as few patches as possible. >> >> The final stages of this process should result in: >> >> * Fresh documentation for teams packaging rubygems and gems inside other package managers >> * A set of platform test infrastructure wired to build / commit / gem push hooks allowing us to be more proactive about these issues in future (the SUSE team have some great tools here, and a lot of domain knowledge already) >> * An agreeable attitude and platform for open discussion of these issues >> >> A quick word of warning about expectations. I'm not looking to move really fast on this. We need to get it right, and we need to avoid adding bugs as we do it, that's going to require /real/ and /extensive/ manual testing and a mature approach. Expecting fixes next month is not the intention here. What I do expect is that we can have standard ways to get this stuff off the ground, and reduce support requests for all related projects, with releases in most of your platforms hopefully by next year. > > So, to start things off, I'll clarify what we do in Debian. We do not > package gems (as in: libraries distributed as .gem files, for > installation with rubygems). > > Instead, we package ruby libraries. Usually, this is done by using the > .tgz provided by the upstream developers (the library's developers), or > using a service that allows us to fetch a specific tag from github as a > .tgz. That's ok for some packages, but absolutely not ok for others. > However, we provide a rubygems package in Debian, for users who want to > install gems manually. Yup. > So, our interest in this discussion is (in no particular order): > - to improve the rubygems package where possible, thus improving the > user experience for its users [ I'm not directly involved in the > rubygems packaging, but daigo at debian.org (Cced) is ] RubyGems is actually integral to ruby now, and as such, in many ways it should no longer be separated. I think a more sane way to look at this is that Ruby + RubyGems is a single platform, and it's heading that way, especially with gem_prelude in 1.9. I would like to get to the point where we have sufficient support and infrastructure that this merge is no longer a point of contention. I think if you'll bear with me, I can manage that too. > - to improve the awareness of our needs in the rubygems community You need to inform me, on this round, primarily, as this will be the largest push in this direction to date, and provided we can keep discussion moving forward in a sane way, I will succeed. This is also why I have put a 1 year timescale on my approach. > Our need (and major cause of annoyance) is that libraries developers > should provide their code in a rubygems-agnostic way, which means: This is unacceptable. Let me explain: RubyGems is a package manager, yes, but it is also a library, and a dependency manager. The difference between a package manager and a dependency manager is this: * A package manager manages out-of-process build time resource dependencies * A dependency manager manages a build, load, and runtime set of runtime dependencies For packages that exclusively use rubygems as a package manager, you would be fair to ask people to be agnostic, and indeed, in those cases it is easy. Packages that use rubygems as a library or as a dependency manager on the other hand, is a different story entirely. The call to Kernel#gem that occurs in binfiles for one example, will activate dependencies of the gem being loaded, and setup a runtime dependency tree making it possible (and implicitly configured) to load specific versions of other libraries that are needed, at runtime. Repackaging outside of rubygems removes features such as this, and also removes plugin features, platform configuration details (Gem.ruby, etc), and other extremely useful conveniences for the developer. One might claim that this is contrary to the unix philosophy of single purpose tools, and indeed, in some ways you would be correct, however, RubyGems is not a unix tool for stream processing, it's a platform tool, for helping people operate in a platform agnostic way. > - library distributed as a .tgz file in addition to a .gem file Due to the above reasons and many more, this is not possible for a large number of projects, and I don't think it is the right integration point for us anyway, as I believe I can provide better options than this. > - standard (setup.rb-like) file layout, so we can simply use setup.rb to > install the files You shouldn't be doing this, last time I checked setup.rb was GPLv2. Besides the obvious licensing issues, which I know matters to Debian, there are other significant issues with the approach of installing into site_ruby, which is another exact reason why RubyGems being used is so important: Imagine two libraries, both have a file with an event.rb file: cat lib1/lib/event.rb class Event; end cat lib2/lib/event.rb module Lib2::Event; end Now, lets say I install lib1, then lib2, in that order, using a setup.rb approach. In my runtime, I require lib1, and this is what happens: require 'event' # works class Blah; ....; end # all works Blah.new.go # => uninitialized constant Event (NameError) This is unavoidable using a setup.rb approach, and in fact, the above error is caused by this repackaging approach. It can also occur within rubygems itself, iff both libraries are activated at the same time, indeed, I patched the "aasm" gem for this violation some months ago. Like I say though, the problem is unavoidable with your approach, however, when used correctly by users, RubyGems provides a very powerful set of ways around these problems, by nature of being a runtime dependency manager that manages the $LOAD_PATH for the user from a well specified developer manifest (the gemspec). > - no "require 'rubygems'" in the code That's fine, however, that doesn't mean the project doesn't depend on RubGems, and more than that, it is expected to be part of the standard library as of Ruby 1.9. (Although this statement is also supposed to be unnecessary on 1.9 due to gem_prelude.rb). > - preferably no "require 'rubygems'" in the Rakefile or in the tests, to > make it possible/easier to run the test suite at package build time As above for the most part. > -- > | Lucas Nussbaum > | lucas at lucas-nussbaum.net http://www.lucas-nussbaum.net/ | > | jabber: lucas at nussbaum.fr GPG: 1024D/023B3F4F | From hgs at dmu.ac.uk Wed Mar 31 16:05:58 2010 From: hgs at dmu.ac.uk (Hugh Sasse) Date: Wed, 31 Mar 2010 21:05:58 +0100 (BST) Subject: [Rubygems-developers] Rubygems Packaging Enhancements and Designs In-Reply-To: <38F0B358-9035-4691-8D1A-DE82AB60AC0D@gmail.com> References: <38F0B358-9035-4691-8D1A-DE82AB60AC0D@gmail.com> Message-ID: On Wed, 31 Mar 2010, James Tucker wrote: > On 31 Mar 2010, at 10:02, Hugh Sasse wrote: [...] > > It could also be worth collecting a critical bibliography of > > published books that discuss how to use RubyGems, with a view > > to describing how current the information in them is. > > Mostly it needs to be clear (and documented) that for users, rubygems is well self-documented: > > gem help > gem help commands > That's clear and readily found. What isn't so clear is what is going on with require, gem versioning, and the deprecation of require_gem. Examples in some books will need to be changed. I think in the light of your response to my private email, I realise that I probably can't make the time commitment at the moment to contribute to this, which is principally why I have not explored the consequences of github package choices in sufficient depth. Hopefully things will be easier later. Hugh From jftucker at gmail.com Wed Mar 31 19:21:41 2010 From: jftucker at gmail.com (James Tucker) Date: Thu, 1 Apr 2010 00:21:41 +0100 Subject: [Rubygems-developers] Rubygems Packaging Enhancements and Designs In-Reply-To: References: <38F0B358-9035-4691-8D1A-DE82AB60AC0D@gmail.com> Message-ID: <87807826-397A-4FEB-B619-408C208B1B36@gmail.com> On 31 Mar 2010, at 21:05, Hugh Sasse wrote: > That's clear and readily found. What isn't so clear is what is going on > with require, gem versioning, and the deprecation of require_gem. Examples > in some books will need to be changed. I have done a first pass through the first book and fixed many of the broken items and loose markup, as well as added updates to reflect recent rubygems.org introduction and the gem push command. If you have more specific updates or have a moment to review the changes, further input would be welcome. > I think in the light of your response to my private email, I realise > that I probably can't make the time commitment at the moment to contribute > to this, which is principally why I have not explored the consequences of > github package choices in sufficient depth. Hopefully things will be > easier later. I hope so to, best of luck with the terms and conditions. From hgs at dmu.ac.uk Wed Mar 31 19:45:13 2010 From: hgs at dmu.ac.uk (Hugh Sasse) Date: Thu, 1 Apr 2010 00:45:13 +0100 (BST) Subject: [Rubygems-developers] Rubygems Packaging Enhancements and Designs In-Reply-To: <87807826-397A-4FEB-B619-408C208B1B36@gmail.com> References: <38F0B358-9035-4691-8D1A-DE82AB60AC0D@gmail.com> <87807826-397A-4FEB-B619-408C208B1B36@gmail.com> Message-ID: On Thu, 1 Apr 2010, James Tucker wrote: > > On 31 Mar 2010, at 21:05, Hugh Sasse wrote: > > That's clear and readily found. What isn't so clear is what is going on > > with require, gem versioning, and the deprecation of require_gem. Examples > > in some books will need to be changed. > > I have done a first pass through the first book and fixed many of the broken items and loose markup, as well as added updates to reflect recent rubygems.org introduction and the gem push command. I was still talking about examples from print books that are out there. Some will be made obsolete by more recent editions, we face the same upper bounds imposed by availability of people to do this, but I'm coming from the position that a continual criticism of Ruby has been the limits on its documentation. Provision of these corrections seems like it could be a good aspiration, even if we only make limited progress. > > If you have more specific updates or have a moment to review the changes, further input would be welcome. I'm clearly not looking in the right place, bowl me the URL and I'll see if I've anything useful to add. Hugh From luislavena at gmail.com Wed Mar 31 19:50:53 2010 From: luislavena at gmail.com (Luis Lavena) Date: Thu, 1 Apr 2010 01:50:53 +0200 Subject: [Rubygems-developers] Rubygems Packaging Enhancements and Designs In-Reply-To: References: <38F0B358-9035-4691-8D1A-DE82AB60AC0D@gmail.com> <87807826-397A-4FEB-B619-408C208B1B36@gmail.com> Message-ID: On Thu, Apr 1, 2010 at 1:45 AM, Hugh Sasse wrote: > On Thu, 1 Apr 2010, James Tucker wrote: > >> >> On 31 Mar 2010, at 21:05, Hugh Sasse wrote: >> > That's clear and readily found. ?What isn't so clear is what is going on >> > with require, gem versioning, and the deprecation of require_gem. Examples >> > in some books will need to be changed. >> >> I have done a first pass through the first book and fixed many of the broken items and loose markup, as well as added updates to reflect recent rubygems.org introduction and the gem push command. > > I was still talking about examples from print books that are out > there. ?Some will be made obsolete by more recent editions, we face > the same upper bounds imposed by availability of people to do this, > but I'm coming from the position that a continual criticism of Ruby > has been the limits on its documentation. ?Provision of these > corrections seems like it could be a good aspiration, even if we > only make limited progress. > Sorry to chime in, but is ilogical to assume that we can control an update every book out there. What you're suggesting is that backward compatibility should be maintained because "Programming Ruby", based on Ruby 1.6 is still out there in the hands of someone. It is true that RubyGems documentation site hasn't been updated, but if noone volunteers or provide feedback enough, that is not going to change. Developers are used to peek into the source. To step up as maintainer of a project you need to know what is made of and what are the tools to make it work. That is true for any project out there. -- Luis Lavena AREA 17 - Perfection in design is achieved not when there is nothing more to add, but rather when there is nothing more to take away. Antoine de Saint-Exup?ry From hgs at dmu.ac.uk Wed Mar 31 20:15:14 2010 From: hgs at dmu.ac.uk (Hugh Sasse) Date: Thu, 1 Apr 2010 01:15:14 +0100 (BST) Subject: [Rubygems-developers] Rubygems Packaging Enhancements and Designs In-Reply-To: References: <38F0B358-9035-4691-8D1A-DE82AB60AC0D@gmail.com> <87807826-397A-4FEB-B619-408C208B1B36@gmail.com> Message-ID: On Thu, 1 Apr 2010, Hugh Sasse wrote: > On Thu, 1 Apr 2010, James Tucker wrote: > > > If you have more specific updates or have a moment to review the changes, further input would be welcome. > > I'm clearly not looking in the right place, bowl me the URL and I'll see > if I've anything useful to add. Ok, found it now: http://docs.rubygems.org/read/chapter/7#page27 That's good. I suppose the WikiWords will become proper links later. Only suggestion I have is for http://docs.rubygems.org/read/chapter/16#page74 (Pessamistic version control), and that is the flow of the text suggests that a couple of examples would fit nicely at the end: "~> 2.7.1.8" => ">= 2.7.1.8", "< 2.7.2" "~> 2.7.1" => ">= 2.7.1", "< 2.8" or something. I find examples help clarify rules even though they aren't always sufficient to allow the reader to deduce the rules without explanation. I think MetaFont used increasing precision of e as a version number. Hugh From jftucker at gmail.com Wed Mar 31 20:25:20 2010 From: jftucker at gmail.com (James Tucker) Date: Thu, 1 Apr 2010 01:25:20 +0100 Subject: [Rubygems-developers] Rubygems Packaging Enhancements and Designs In-Reply-To: References: <38F0B358-9035-4691-8D1A-DE82AB60AC0D@gmail.com> <87807826-397A-4FEB-B619-408C208B1B36@gmail.com> Message-ID: <2C35D659-CA3B-4F6C-AE9A-A76A81D32DC6@gmail.com> On 1 Apr 2010, at 00:45, Hugh Sasse wrote: > I was still talking about examples from print books that are out > there. Some will be made obsolete by more recent editions, we face > the same upper bounds imposed by availability of people to do this, > but I'm coming from the position that a continual criticism of Ruby > has been the limits on its documentation. Provision of these > corrections seems like it could be a good aspiration, even if we > only make limited progress. I agree wholeheartedly. The discussion always leads down the same path when I talk to people about it, rubyists seem to now have a culture of reading the code, and whilst that may breed better programmers in the end, it really hinders beginners. Updating our core documentation sources is a good start, and I've done a pass this evening as I say. Moving forward, we do need to encourage better documentation procedures, however, this requires some work on our infrastructure too, and ideally people need to stop blogging before doing documentation, or adding their blog posts to a doc/ directory or some suitably patchable place. >> If you have more specific updates or have a moment to review the changes, further input would be welcome. > > I'm clearly not looking in the right place, bowl me the URL and I'll see > if I've anything useful to add. My pass was through the user guide[1] primarily to look for examples that include deprecated code / apis, and update the markup to be slighly more presentable. I also added notes on `gem push` in the appropriate places. General consensus is that the command reference book[2] should be merged (where appropriate) into the docs inside 'gem help', and then removed or significantly cut down, to reduce maintenance load. [1] http://docs.rubygems.org/read/book/1 [2] http://docs.rubygems.org/read/book/2 From hgs at dmu.ac.uk Wed Mar 31 20:41:59 2010 From: hgs at dmu.ac.uk (Hugh Sasse) Date: Thu, 1 Apr 2010 01:41:59 +0100 (BST) Subject: [Rubygems-developers] Rubygems Packaging Enhancements and Designs In-Reply-To: References: <38F0B358-9035-4691-8D1A-DE82AB60AC0D@gmail.com> <87807826-397A-4FEB-B619-408C208B1B36@gmail.com> Message-ID: On Thu, 1 Apr 2010, Luis Lavena wrote: > On Thu, Apr 1, 2010 at 1:45 AM, Hugh Sasse wrote: > > On Thu, 1 Apr 2010, James Tucker wrote: > > > >> > >> On 31 Mar 2010, at 21:05, Hugh Sasse wrote: > >> > That's clear and readily found. ?What isn't so clear is what is going on > >> > with require, gem versioning, and the deprecation of require_gem. Examples > >> > in some books will need to be changed. > >> > >> I have done a first pass through the first book and fixed many of the broken items and loose markup, as well as added updates to reflect recent rubygems.org introduction and the gem push command. > > > > I was still talking about examples from print books that are out > > there. ?Some will be made obsolete by more recent editions, we face > > the same upper bounds imposed by availability of people to do this, > > but I'm coming from the position that a continual criticism of Ruby > > has been the limits on its documentation. ?Provision of these > > corrections seems like it could be a good aspiration, even if we > > only make limited progress. > > > > Sorry to chime in, but is ilogical to assume that we can control an > update every book out there. Agreed, we can't control or force updates, and some are far too old or obscure to merit much 3rd party effort.. > > What you're suggesting is that backward compatibility should be > maintained because "Programming Ruby", based on Ruby 1.6 is still out > there in the hands of someone. No, I'm suggesting that it would be useful to provide some information such that people can find this in relation to their book. (I'm certainly not suggesting we hold back development in order to meet constraints imposed by old texts.) I doubt much progress could be made in such an effort, but some might be possible, and it would help people get started. Clearly it is a low priority, but I'd only ask that it be kept in mind. I can state a case for this, but if everyone is so opposed that it is to be ruled out already, then I'll save the bandwidth. > > It is true that RubyGems documentation site hasn't been updated, but > if noone volunteers or provide feedback enough, that is not going to > change. Agreed. > > Developers are used to peek into the source. To step up as maintainer > of a project you need to know what is made of and what are the tools > to make it work. Yes, agreed. There are problems with this model, and the open source movement doesn't seem to address them.... > > That is true for any project out there. ...and the problems apply as broadly, in my experience. From ryand-ruby at zenspider.com Wed Mar 31 23:05:03 2010 From: ryand-ruby at zenspider.com (Ryan Davis) Date: Wed, 31 Mar 2010 20:05:03 -0700 Subject: [Rubygems-developers] Rubygems Packaging Enhancements and Designs In-Reply-To: References: <38F0B358-9035-4691-8D1A-DE82AB60AC0D@gmail.com> <87807826-397A-4FEB-B619-408C208B1B36@gmail.com> Message-ID: <90CA14FE-2377-436B-9670-117FCAB4429A@zenspider.com> On Mar 31, 2010, at 17:15 , Hugh Sasse wrote: > That's good. I suppose the WikiWords will become proper links later. > Only suggestion I have is for > > http://docs.rubygems.org/read/chapter/16#page74 > > (Pessamistic version control), and that is the flow of the text > suggests that a couple of examples would fit nicely at the end: > > "~> 2.7.1.8" => ">= 2.7.1.8", "< 2.7.2" > "~> 2.7.1" => ">= 2.7.1", "< 2.8" I just modified the last paragraph to read: Notice that we only include 2 digits of the version. The operator will drop the final digit of a version, then increment the remaining final digit to get the upper limit version number. Therefore ?~> 2.2? is equivalent to: [?>= 2.2?, ?< 3.0?]. Had we said ?~> 2.2.0?, it would have been equivalent to: [?>= 2.2.0?, ?< 2.3.0?]. The last digit specifies the level of granularity of version control. (Remember, you can alway supply an explicit upper limit if the pessimistic operator is too limited for you). Edits welcome.