[lnkForumImage]
TotalShareware - Download Free Software

Confronta i prezzi di migliaia di prodotti.
Asp Forum
 Home | Login | Register | Search 


 

Forums >

comp.lang.ruby

[ANN] RubyGems 1.1.1

Eric Hodel

4/11/2008 5:43:00 AM

Release 1.1.1 fixes some bugs.

Bugs Fixed:

* Gem.prefix now returns non-nil only when RubyGems was installed
outside
sitelibdir or libdir.
* The `gem server` gem list now correctly links to gem details.
* `gem update --system` now passes --no-format-executable to setup.rb.
* Gem::SourceIndex#refresh! now works with multiple gem repositories.
* Downloaded gems now go into --install-dir's cache directory.
* Various fixes to downloading gem metadata.
* `gem install --force` now ignores network errors too.
* `gem pristine` now rebuilds extensions.
* `gem update --system` now works on virgin Apple ruby.
* Gem::RemoteFetcher handles Errno::ECONNABORTED.
* Printing of release notes fixed.

For a full list of changes to RubyGems including credits, see the
ChangeLog
file.

== How can I get RubyGems?

NOTE: If you have installed RubyGems using a package system you may
want to
install a new RubyGems through the same packaging system.

If you have a recent version of RubyGems (0.8.5 or later), then all
you need to do is:

$ gem update --system (you might need to be admin/root)

(Note: You may have to run the command twice if you have any previosly
installed rubygems-update gems).

If you have an older version of RubyGems installed, then you can still
do it in two steps:

$ gem install rubygems-update (again, might need to be admin/root)
$ update_rubygems (... here too)

If you don't have any gems install, there is still the pre-gem
approach to getting software ... doing it manually:

1. DOWNLOAD FROM: http://rubyforge.org/frs/?gr...
2. UNPACK INTO A DIRECTORY AND CD THERE
3. INSTALL WITH: ruby setup.rb (you may need admin/root privilege)

== To File Bugs

The RubyGems bug tracker can be found on RubyForge at:
http://rubyforge.org/tracker/?func=add&group_id=126&am...

When filing a bug, `gem env` output will be helpful in diagnosing the
issue.

If you find a bug where RubyGems crashes, please provide debug output.
You can
do that with `gem --debug the_command`.

== Thanks

Keep those gems coming!

-- Jim & Chad & Eric (for the RubyGems team)



20 Answers

ara.t.howard

4/11/2008 6:42:00 AM

0


On Apr 10, 2008, at 11:42 PM, Eric Hodel wrote:
> Release 1.1.1 fixes some bugs.
>
> Bugs Fixed:
>
> * Gem.prefix now returns non-nil only when RubyGems was installed
> outside
> sitelibdir or libdir.
> * The `gem server` gem list now correctly links to gem details.
> * `gem update --system` now passes --no-format-executable to setup.rb.
> * Gem::SourceIndex#refresh! now works with multiple gem repositories.
> * Downloaded gems now go into --install-dir's cache directory.
> * Various fixes to downloading gem metadata.
> * `gem install --force` now ignores network errors too.
> * `gem pristine` now rebuilds extensions.
> * `gem update --system` now works on virgin Apple ruby.
> * Gem::RemoteFetcher handles Errno::ECONNABORTED.
> * Printing of release notes fixed.

thanks very much eric - much appreciated!

a @ http://codeforp...
--
we can deny everything, except that we have the possibility of being
better. simply reflect on that.
h.h. the 14th dalai lama




Shin guey Wong

4/11/2008 10:10:00 AM

0

Eric Hodel wrote:
>
> $ gem update --system (you might need to be admin/root)
>
>
> Keep those gems coming!
>
> -- Jim & Chad & Eric (for the RubyGems team)

'Nothing to update' return when I do 'gem system update' on gem version
1.1.0
The gem still not upload to Rubyforge?

C:\Documents and Settings\swong24>gem env
RubyGems Environment:
- RUBYGEMS VERSION: 1.1.0 (1.1.0)
- RUBY VERSION: 1.8.6 (2008-03-30 patchlevel 5000) [i386-mingw32]
- INSTALLATION DIRECTORY:
C:/Devel/installer3/sandbox/ruby_mingw/lib/ruby/gems/1.8
- RUBY EXECUTABLE: C:/Devel/installer3/sandbox/ruby_mingw/bin/ruby.exe
- RUBYGEMS PLATFORMS:
- ruby
- x86-mingw32
- GEM PATHS:
- C:/Devel/installer3/sandbox/ruby_mingw/lib/ruby/gems/1.8
- GEM CONFIGURATION:
- :update_sources => true
- :verbose => true
- :benchmark => false
- :backtrace => false
- :bulk_threshold => 1000
- REMOTE SOURCES:
- http://gems.rub...

C:\Documents and Settings\swong24>gem --version
1.1.0

C:\Documents and Settings\swong24>gem update --system
Updating RubyGems
Updating metadata for 17 gems from http://gems.rub.../
.................
complete
Nothing to update

C:\Documents and Settings\swong24>gem --version
1.1.0
--
Posted via http://www.ruby-....

Shin guey Wong

4/11/2008 10:15:00 AM

0

Shin guey Wong wrote:
> Eric Hodel wrote:
>>
>> $ gem update --system (you might need to be admin/root)

Forgot the following line:
C:\Documents and Settings\swong24>gem --debug update system
Exception `NameError' at
C:/Devel/installer3/sandbox/ruby_mingw/lib/ruby/site_ruby/1.8/rubygems/command_manager.rb:133
- uninitialized constant Gem::Commands::UpdateCommand
Updating installed gems
Exception `Gem::LoadError' at
C:/Devel/installer3/sandbox/ruby_mingw/lib/ruby/site_ruby/1.8/rubygems.rb:499
- Could not find RubyGem sources (> 0.0.1)

Nothing to update

--
Posted via http://www.ruby-....

Bil Kleb

4/11/2008 10:35:00 AM

0

Shin guey Wong wrote:
> Shin guey Wong wrote:
>> Eric Hodel wrote:
>>> $ gem update --system (you might need to be admin/root)
>
> C:\Documents and Settings\swong24>gem --debug update system

Does

gem update --system

not work?

N.B. The double dashes in front of "system".

Regards,
--
http://twitter.co...

matt

4/11/2008 1:41:00 PM

0

Eric Hodel <drbrain@segment7.net> wrote:

>
> $ gem update --system (you might need to be admin/root)

Seems to be working just great on my Mac OS X - thanks as always! m.

--
matt neuburg, phd = matt@tidbits.com, http://www.tidbits...
Leopard - http://www.takecontrolbooks.com/leopard-custom...
AppleScript - http://www.amazon.com/gp/product/...
Read TidBITS! It's free and smart. http://www.t...

Luc Heinrich

4/11/2008 2:11:00 PM

0

On 11 avr. 08, at 12:40, Bil Kleb wrote:

> Does
>
> gem update --system
>
> not work?

Does not work for me either...

% gem --version
1.1.0

% gem env
RubyGems Environment:
- RUBYGEMS VERSION: 1.1.0 (1.1.0)
- RUBY VERSION: 1.8.6 (2007-09-24 patchlevel 111) [i686-darwin9.2.2]
- INSTALLATION DIRECTORY: /opt/local/lib/ruby/gems/1.8
- RUBY EXECUTABLE: /opt/local/bin/ruby
- RUBYGEMS PLATFORMS:
- ruby
- x86-darwin-9
- GEM PATHS:
- /opt/local/lib/ruby/gems/1.8
- GEM CONFIGURATION:
- :update_sources => true
- :verbose => true
- :benchmark => false
- :backtrace => false
- :bulk_threshold => 1000
- REMOTE SOURCES:
- http://gems.rub...

% sudo gem update --system
Updating RubyGems
Nothing to update

--
Luc Heinrich - luc@honk-honk.com


Luis Lavena

4/11/2008 2:42:00 PM

0

On 11 abr, 11:11, Luc Heinrich <l...@honk-honk.com> wrote:
> On 11 avr. 08, at 12:40, Bil Kleb wrote:
>
> > Does
>
> > gem update --system
>
> > not work?
>
> Does not work for me either...
>
> % gem --version
> 1.1.0
>

If you try to update from a previous version (1.0.1) works without
issues, funny fact:

$gem update --system
Updating RubyGems
Bulk updating Gem source index for: http://gems.ruby...
Nothing to update

$gem install rubygems-update
Successfully installed rubygems-update-1.1.1
1 gem installed

:-P

Just run 'update_rubygems' after that :-)

Tested under:
ruby 1.8.6 (2008-03-30 patchlevel 5000) [i386-mingw32]

But it seems the glitch is platform-irrelevant.

Regards,
--
Luis Lavena

Ezra Zygmuntowicz

4/11/2008 5:32:00 PM

0


On Apr 10, 2008, at 10:42 PM, Eric Hodel wrote:
> Release 1.1.1 fixes some bugs.
>
> Bugs Fixed:
>
> * Gem.prefix now returns non-nil only when RubyGems was installed
> outside
> sitelibdir or libdir.
> * The `gem server` gem list now correctly links to gem details.
> * `gem update --system` now passes --no-format-executable to setup.rb.
> * Gem::SourceIndex#refresh! now works with multiple gem repositories.
> * Downloaded gems now go into --install-dir's cache directory.
> * Various fixes to downloading gem metadata.
> * `gem install --force` now ignores network errors too.
> * `gem pristine` now rebuilds extensions.
> * `gem update --system` now works on virgin Apple ruby.
> * Gem::RemoteFetcher handles Errno::ECONNABORTED.
> * Printing of release notes fixed.
> o that with `gem --debug the_command`.
>
> == Thanks
>
> Keep those gems coming!
>
> -- Jim & Chad & Eric (for the RubyGems team)


Rock on Eric and the gems team!

Cheers-

- Ezra Zygmuntowicz
-- Founder & Software Architect
-- ezra@engineyard.com
-- EngineYard.com


Eric Hodel

4/11/2008 8:29:00 PM

0

On Apr 11, 2008, at 03:10 AM, Shin guey Wong wrote:
> Eric Hodel wrote:
>>
>> $ gem update --system (you might need to be admin/root)
>>
>>
>> Keep those gems coming!
>>
>> -- Jim & Chad & Eric (for the RubyGems team)
>
> 'Nothing to update' return when I do 'gem system update' on gem
> version
> 1.1.0
> The gem still not upload to Rubyforge?


I waited until it appeared in the index for me before posting.

> C:\Documents and Settings\swong24>gem update --system
> Updating RubyGems
> Updating metadata for 17 gems from http://gems.ruby...
> .................
> complete
> Nothing to update
>
> C:\Documents and Settings\swong24>gem --version
> 1.1.0

Does:

gem list -r rubygems-update

report a 1.1.1? If not, try:

gem list -r --all rubygems-update

Gerardo Santana Gómez Garrido

4/16/2008 6:34:00 AM

0

On 4/11/08, Eric Hodel <drbrain@segment7.net> wrote:
>
> Does:
>
> gem list -r rubygems-update
>
> report a 1.1.1? If not, try:
>
> gem list -r --all rubygems-update
>
>

Yes, it does. But gem update --system is not updating rubygems:

----------- 8< -----------
$ gem list -r rubygems-update

*** REMOTE GEMS ***

Bulk updating Gem source index for: http://gems.ruby...
rubygems-update (1.1.1, 1.1.0, 1.0.1, 1.0.0, 0.9.5, 0.9.4, 0.9.3,
0.9.2, 0.9.1, 0.9.0, 0.8.11, 0.8.10, 0.8.8, 0.8.6, 0.8.5, 0.8.4,
0.8.3, 0.8.1, 0.8.0)
$ sudo gem update --system
Updating RubyGems
Nothing to update
$ gem --version
1.1.0
----------- >8 -----------


--
Gerardo Santana