Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.ruby > #4056 > unrolled thread

[ANN] rubygems-update 1.8.1 Released

Started byEric Hodel <drbrain@segment7.net>
First post2011-05-06 16:14 -0500
Last post2011-05-08 02:30 -0500
Articles 11 — 9 participants

Back to article view | Back to comp.lang.ruby


Contents

  [ANN] rubygems-update 1.8.1 Released Eric Hodel <drbrain@segment7.net> - 2011-05-06 16:14 -0500
    Re: [ANN] rubygems-update 1.8.1 Released "Dame, Stephen G" <Stephen.G.Dame@boeing.com> - 2011-05-06 19:15 -0500
      Re: rubygems-update 1.8.1 Released Kevin Bullock <kbullock+rubyforum@ringworld.org> - 2011-05-07 21:34 -0500
      Re: [ANN] rubygems-update 1.8.1 Released Ryan Davis <ryand-ruby@zenspider.com> - 2011-05-08 02:35 -0500
        Re: [ANN] rubygems-update 1.8.1 Released "Dame, Stephen G" <Stephen.G.Dame@boeing.com> - 2011-05-09 13:02 -0500
    Re: [ANN] rubygems-update 1.8.1 Released botp <botpena@gmail.com> - 2011-05-06 19:47 -0500
      Re: [ANN] rubygems-update 1.8.1 Released Joel VanderWerf <joelvanderwerf@gmail.com> - 2011-05-06 21:32 -0500
    Re: [ANN] rubygems-update 1.8.1 Released Josh Cheek <josh.cheek@gmail.com> - 2011-05-07 05:04 -0500
    Re: [ANN] rubygems-update 1.8.1 Released Patrick Johnson <patrick.johnson3@gmail.com> - 2011-05-08 02:46 +0000
      Re: [ANN] rubygems-update 1.8.1 Released Phillip Gawlowski <cmdjackryan@googlemail.com> - 2011-05-08 01:34 -0500
      Re: [ANN] rubygems-update 1.8.1 Released Ryan Davis <ryand-ruby@zenspider.com> - 2011-05-08 02:30 -0500

#4056 — [ANN] rubygems-update 1.8.1 Released

FromEric Hodel <drbrain@segment7.net>
Date2011-05-06 16:14 -0500
Subject[ANN] rubygems-update 1.8.1 Released
Message-ID<9CD592AD-A5AA-4918-B74A-452EA1406BD6@segment7.net>
rubygems-update version 1.8.1 has been released!

* http://rubygems.org
* http://docs.rubygems.org
* http://help.rubygems.org
* http://github.com/rubygems
* http://rubyforge.org/projects/rubygems

RubyGems is a package management framework for Ruby.

This gem is an update for the RubyGems software. You must have an
installation of RubyGems before this update can be applied.

See Gem for information on RubyGems (or `ri Gem`)

To upgrade to the latest RubyGems, run:

 $ gem update --system  # you might need to be an administrator or root

See UPGRADING.rdoc for more details and alternative instructions.

-----

If you don't have RubyGems installed, your can still do it manually:

* Download from: https://rubygems.org/pages/download
* Unpack into a directory and cd there
* Install with: ruby setup.rb  # you may need admin/root privilege

For more details and other options, see:

 ruby setup.rb --help

=== 1.8.1 / 2011-05-05

After installing RubyGems 1.8.1 you will see deprecations when loading your
exsting gems.  Run `gem pristine --all --no-extensions` to regenerate your
gem specifications safely.

Currently RubyGems does not save the build arguments used to build gems with
extensions.  You will need to run `gem pristine gem_with_extension --
--build-arg` to regenerate a gem with an extension where it requires special
build arguments.

* 1 minor enhancement:

 * Added Gem::Requirement#specific? and Gem::Dependency#specific?

* 4 bug fixes:

 * Typo on Indexer rendered it useless on Windows
 * `gem dep` can fetch remote dependencies for non-latest gems again.
 * `gem uninstall` with multiple versions no longer crashes with ArgumentError
 * Always use binary mode for File.open to keep Windows happy

[toc] | [next] | [standalone]


#4058

From"Dame, Stephen G" <Stephen.G.Dame@boeing.com>
Date2011-05-06 19:15 -0500
Message-ID<58C2596324F2C34DB154CFBCB31F50DF226E009B81@XCH-NW-18V.nw.nos.boeing.com>
In reply to#4056
Somehow, when running this 1.8.1 update, it broke three websites I have in development.  These are Apache sites which previously had passenger configured to run in httpd.conf as follows:

LoadModule passenger_module /usr/local/lib/ruby/gems/1.9.1/gems/passenger-30.7/ext/apache2/mod_passenger.so
PassengerRoot /usr/local/lib/ruby/gems/1.9.1/gems/passenger-3.0.7
        PassengerRuby /usr/local/bin/ruby
   <VirtualHost *:80>
      ServerName flybobdev.ca.boeing.com
      DocumentRoot /home/flybob/Rails/test_app/public
   </VirtualHost>


This was after I ran...

gem update --system
gem pristine --all --no-extensions

My /usr/local/lib/ruby/gems/1.9.1/gems/passenger-3.0.7/ext/apache2

No longer has any *.so files in it.  Therefore Apache gives the following error upon restart.


# /etc/init.d/apache2 graceful
httpd: Syntax error on line 481 of /opt/apache_2.2.15/conf/httpd.conf: Cannot load /usr/local/lib/ruby/gems/1.9.1/gems/passenger-3.0.7/ext/apache2/mod_passenger.so into server: /usr/local/lib/ruby/gems/1.9.1/gems/passenger-3.0.7/ext/apache2/mod_passenger.so: cannot open shared object file: No such file or directory

/usr/local/lib/ruby/gems/1.9.1/gems/passenger-3.0.7/ext/apache2   CONTAINS..

-rw-r--r-- 1 root root  5909 May  6 16:57 Bucket.cpp
-rw-r--r-- 1 root root  3345 May  6 16:57 Bucket.h
-rw-r--r-- 1 root root 30041 May  6 16:57 Configuration.cpp
-rw-r--r-- 1 root root  1881 May  6 16:57 Configuration.h
-rw-r--r-- 1 root root 12609 May  6 16:57 Configuration.hpp
-rw-r--r-- 1 root root  7801 May  6 16:57 DirectoryMapper.h
-rw-r--r-- 1 root root 11669 May  6 16:57 HelperAgent.cpp
-rw-r--r-- 1 root root 61223 May  6 16:57 Hooks.cpp
-rw-r--r-- 1 root root  1540 May  6 16:57 Hooks.h
-rw-r--r-- 1 root root  1995 May  6 16:57 mod_passenger.c

I also ran gem install passenger to migrate from 3.0.4 to 3.0.7

Does this make sense?  Did the gem update break passenger or did passenger change something that requires some sort of  compile to get the *.so file?


-----Original Message-----
From: Eric Hodel [mailto:drbrain@segment7.net]
Sent: Friday, May 06, 2011 2:14 PM
To: ruby-talk ML; rubygems-developers@rubyforge.org; ruby@zenspider.com
Subject: [ANN] rubygems-update 1.8.1 Released

rubygems-update version 1.8.1 has been released!

* http://rubygems.org
* http://docs.rubygems.org
* http://help.rubygems.org
* http://github.com/rubygems
* http://rubyforge.org/projects/rubygems

RubyGems is a package management framework for Ruby.

This gem is an update for the RubyGems software. You must have an
installation of RubyGems before this update can be applied.

See Gem for information on RubyGems (or `ri Gem`)

To upgrade to the latest RubyGems, run:

 $ gem update --system  # you might need to be an administrator or root

See UPGRADING.rdoc for more details and alternative instructions.

-----

If you don't have RubyGems installed, your can still do it manually:

* Download from: https://rubygems.org/pages/download
* Unpack into a directory and cd there
* Install with: ruby setup.rb  # you may need admin/root privilege

For more details and other options, see:

 ruby setup.rb --help

=== 1.8.1 / 2011-05-05

After installing RubyGems 1.8.1 you will see deprecations when loading your
exsting gems.  Run `gem pristine --all --no-extensions` to regenerate your
gem specifications safely.

Currently RubyGems does not save the build arguments used to build gems with
extensions.  You will need to run `gem pristine gem_with_extension --
--build-arg` to regenerate a gem with an extension where it requires special
build arguments.

* 1 minor enhancement:

 * Added Gem::Requirement#specific? and Gem::Dependency#specific?

* 4 bug fixes:

 * Typo on Indexer rendered it useless on Windows
 * `gem dep` can fetch remote dependencies for non-latest gems again.
 * `gem uninstall` with multiple versions no longer crashes with ArgumentError
 * Always use binary mode for File.open to keep Windows happy


[toc] | [prev] | [next] | [standalone]


#4102 — Re: rubygems-update 1.8.1 Released

FromKevin Bullock <kbullock+rubyforum@ringworld.org>
Date2011-05-07 21:34 -0500
SubjectRe: rubygems-update 1.8.1 Released
Message-ID<918a8a16748bdb1d0a1b2afb4a42d802@ruby-forum.com>
In reply to#4058
Steve Dame wrote in post #997150:
> Somehow, when running this 1.8.1 update, it broke three websites I have
> in development. [...]
>
> My /usr/local/lib/ruby/gems/1.9.1/gems/passenger-3.0.7/ext/apache2
>
> No longer has any *.so files in it.  Therefore Apache gives the
> following error upon restart. [...]

Doesn't Passenger have an extra step involved to build the 
mod_<whatsit>.so? You would likely have to re-run that as well.

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

[toc] | [prev] | [next] | [standalone]


#4120

FromRyan Davis <ryand-ruby@zenspider.com>
Date2011-05-08 02:35 -0500
Message-ID<A4DA413E-FA3C-4D9B-B4BE-B476B2C12D3E@zenspider.com>
In reply to#4058
On May 6, 2011, at 17:15 , Dame, Stephen G wrote:

> Somehow, when running this 1.8.1 update, it broke three websites I have in development.  These are Apache sites which previously had passenger configured to run in httpd.conf as follows:
> 
> LoadModule passenger_module /usr/local/lib/ruby/gems/1.9.1/gems/passenger-3.0.7/ext/apache2/mod_passenger.so
> PassengerRoot /usr/local/lib/ruby/gems/1.9.1/gems/passenger-3.0.7
>        PassengerRuby /usr/local/bin/ruby
>   <VirtualHost *:80>
>      ServerName flybobdev.ca.boeing.com
>      DocumentRoot /home/flybob/Rails/test_app/public
>   </VirtualHost>
> 
> 
> This was after I ran...
> 
> gem update --system
> gem pristine --all --no-extensions
> 
> My /usr/local/lib/ruby/gems/1.9.1/gems/passenger-3.0.7/ext/apache2
> 
> No longer has any *.so files in it.  Therefore Apache gives the following error upon restart.

http://www.modrails.com/install.html

[toc] | [prev] | [next] | [standalone]


#4168

From"Dame, Stephen G" <Stephen.G.Dame@boeing.com>
Date2011-05-09 13:02 -0500
Message-ID<58C2596324F2C34DB154CFBCB31F50DF226DEB1ADC@XCH-NW-18V.nw.nos.boeing.com>
In reply to#4120
Ah!  Much thanks Ryan.  This was the exact pointer needed. I had to run 

passenger-install-apache2-module 

to get the recompile.

However, now passenger is complaining about all kinds of things related to "Ruby (Rack) application could not be started"

At first I thought it was bundle, but then I installed bundle.   gem install bundle

Then it seemed to be "Rack" so I gem install rack.

Now, I'm going down the bunny trail with an error message...


Ruby (Rack) application could not be started
Error message:
    undefined method `matching_specs' for #<Gem::Dependency:0x0000002049e588>


Does anyone, familiar with installing Rails3 and Passenger, have an idea on what the source of this error is?



-----Original Message-----
From: Ryan Davis [mailto:ryand-ruby@zenspider.com] 
Sent: Sunday, May 08, 2011 12:36 AM
To: ruby-talk ML
Subject: Re: [ANN] rubygems-update 1.8.1 Released


On May 6, 2011, at 17:15 , Dame, Stephen G wrote:

> Somehow, when running this 1.8.1 update, it broke three websites I have in development.  These are Apache sites which previously had passenger configured to run in httpd.conf as follows:
> 
> LoadModule passenger_module /usr/local/lib/ruby/gems/1.9.1/gems/passenger-3.0.7/ext/apache2/mod_passenger.so
> PassengerRoot /usr/local/lib/ruby/gems/1.9.1/gems/passenger-3.0.7
>        PassengerRuby /usr/local/bin/ruby
>   <VirtualHost *:80>
>      ServerName flybobdev.ca.boeing.com
>      DocumentRoot /home/flybob/Rails/test_app/public
>   </VirtualHost>
> 
> 
> This was after I ran...
> 
> gem update --system
> gem pristine --all --no-extensions
> 
> My /usr/local/lib/ruby/gems/1.9.1/gems/passenger-3.0.7/ext/apache2
> 
> No longer has any *.so files in it.  Therefore Apache gives the following error upon restart.

http://www.modrails.com/install.html


[toc] | [prev] | [next] | [standalone]


#4059

Frombotp <botpena@gmail.com>
Date2011-05-06 19:47 -0500
Message-ID<BANLkTinwCFX4QTdbo4pou9ct=rOz7pGR9A@mail.gmail.com>
In reply to#4056
On Sat, May 7, 2011 at 5:14 AM, Eric Hodel <drbrain@segment7.net> wrote:
> After installing RubyGems 1.8.1 you will see deprecations when loading your
> exsting gems.  Run `gem pristine --all --no-extensions` to regenerate your
> gem specifications safely.

it still is noisy. i had to (force) set Deprecate.skip to return true...

best regards -botp

[toc] | [prev] | [next] | [standalone]


#4060

FromJoel VanderWerf <joelvanderwerf@gmail.com>
Date2011-05-06 21:32 -0500
Message-ID<4DC4AF51.5010809@gmail.com>
In reply to#4059
On 05/06/2011 05:47 PM, botp wrote:
> On Sat, May 7, 2011 at 5:14 AM, Eric Hodel<drbrain@segment7.net>  wrote:
>> After installing RubyGems 1.8.1 you will see deprecations when loading your
>> exsting gems.  Run `gem pristine --all --no-extensions` to regenerate your
>> gem specifications safely.
>
> it still is noisy. i had to (force) set Deprecate.skip to return true...
>
> best regards -botp
>

I ended up doing `gem pristine --all`. A nice long coffee break ;)

[toc] | [prev] | [next] | [standalone]


#4062

FromJosh Cheek <josh.cheek@gmail.com>
Date2011-05-07 05:04 -0500
Message-ID<BANLkTimQKH=yLS-PxqSTYKaa6Ya5m9VSrA@mail.gmail.com>
In reply to#4056
[Note:  parts of this message were removed to make it a legal post.]

On Fri, May 6, 2011 at 4:14 PM, Eric Hodel <drbrain@segment7.net> wrote:

> rubygems-update version 1.8.1 has been released!
>
> * http://rubygems.org
> * http://docs.rubygems.org
> * http://help.rubygems.org
> * http://github.com/rubygems
> * http://rubyforge.org/projects/rubygems
>
> RubyGems is a package management framework for Ruby.
>
> This gem is an update for the RubyGems software. You must have an
> installation of RubyGems before this update can be applied.
>
> See Gem for information on RubyGems (or `ri Gem`)
>
> To upgrade to the latest RubyGems, run:
>
>  $ gem update --system  # you might need to be an administrator or root
>
> See UPGRADING.rdoc for more details and alternative instructions.
>
> -----
>
> If you don't have RubyGems installed, your can still do it manually:
>
> * Download from: https://rubygems.org/pages/download
> * Unpack into a directory and cd there
> * Install with: ruby setup.rb  # you may need admin/root privilege
>
> For more details and other options, see:
>
>  ruby setup.rb --help
>
> === 1.8.1 / 2011-05-05
>
> After installing RubyGems 1.8.1 you will see deprecations when loading your
> exsting gems.  Run `gem pristine --all --no-extensions` to regenerate your
> gem specifications safely.
>
> Currently RubyGems does not save the build arguments used to build gems
> with
> extensions.  You will need to run `gem pristine gem_with_extension --
> --build-arg` to regenerate a gem with an extension where it requires
> special
> build arguments.
>
> * 1 minor enhancement:
>
>  * Added Gem::Requirement#specific? and Gem::Dependency#specific?
>
> * 4 bug fixes:
>
>  * Typo on Indexer rendered it useless on Windows
>  * `gem dep` can fetch remote dependencies for non-latest gems again.
>  * `gem uninstall` with multiple versions no longer crashes with
> ArgumentError
>  * Always use binary mode for File.open to keep Windows happy
>
>

After Rake and Bundler come on board, I'll join you guys. But in the
meantime, I'm going to
$ gem update --system 1.7

Also, I have a gem, but wasn't notified about this (maybe because mine had
no issues?), if I wasn't on the ML or following certain people on Twitter or
didn't update my Rubygems, I might not even know there could be problems.
Maybe a mass email "check your gems are still valid" to gem authors? I'd be
willing to opt into it on rubygems.org

[toc] | [prev] | [next] | [standalone]


#4103

FromPatrick Johnson <patrick.johnson3@gmail.com>
Date2011-05-08 02:46 +0000
Message-ID<iq506a$27g$1@dont-email.me>
In reply to#4056
 
> To upgrade to the latest RubyGems, run:
> 
>  $ gem update --system  # you might need to be an administrator or root

I'm completely new to this stuff.  When should "gem update" alone ever be 
run?  Or does doing so break things?

---
Patrick Johnson

[toc] | [prev] | [next] | [standalone]


#4117

FromPhillip Gawlowski <cmdjackryan@googlemail.com>
Date2011-05-08 01:34 -0500
Message-ID<BANLkTimR71+nd+KzuLxnv5Eh0TpSUH12mg@mail.gmail.com>
In reply to#4103
On Sun, May 8, 2011 at 4:52 AM, Patrick Johnson
<patrick.johnson3@gmail.com> wrote:
>
> I'm completely new to this stuff.  When should "gem update" alone ever be
> run?  Or does doing so break things?

"gem update [gem]" updates a gem. If no argument is given, it updates all gems.

What, if anything, breaks depends on the gems you have installed.

-- 
Phillip Gawlowski

Though the folk I have met,
(Ah, how soon!) they forget
When I've moved on to some other place,
There may be one or two,
When I've played and passed through,
Who'll remember my song or my face.

[toc] | [prev] | [next] | [standalone]


#4119

FromRyan Davis <ryand-ruby@zenspider.com>
Date2011-05-08 02:30 -0500
Message-ID<BAC46194-8EEF-463C-AC86-A95399A6E796@zenspider.com>
In reply to#4103
On May 7, 2011, at 19:52 , Patrick Johnson wrote:

> 
>> To upgrade to the latest RubyGems, run:
>> 
>> $ gem update --system  # you might need to be an administrator or root
> 
> I'm completely new to this stuff.  When should "gem update" alone ever be 
> run?  Or does doing so break things?

The built-in help should explain things:

  gem update --help

If not, let me know what I can help clarify.

[toc] | [prev] | [standalone]


Back to top | Article view | comp.lang.ruby


csiph-web