Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > Ruby > [ANN] rubygems-update 1.8.1 Released

Reply
Thread Tools

[ANN] rubygems-update 1.8.1 Released

 
 
Eric Hodel
Guest
Posts: n/a
 
      05-06-2011
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

=3D=3D=3D 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:ependency#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

 
Reply With Quote
 
 
 
 
Dame, Stephen G
Guest
Posts: n/a
 
      05-07-2011
Somehow, when running this 1.8.1 update, it broke three websites I have in =
development. These are Apache sites which previously had passenger configu=
red 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 e=
rror upon restart.


# /etc/init.d/apache2 graceful
httpd: Syntax error on line 481 of /opt/apache_2.2.15/conf/httpd.conf: Cann=
ot 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 f=
ile 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 [private.php?do=newpm&u=]
Sent: Friday, May 06, 2011 2:14 PM
To: ruby-talk ML; rubygems-;
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

=3D=3D=3D 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 wit=
h
extensions. You will need to run `gem pristine gem_with_extension --
--build-arg` to regenerate a gem with an extension where it requires specia=
l
build arguments.

* 1 minor enhancement:

* Added Gem::Requirement#specific? and Gem:ependency#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 ArgumentEr=
ror
* Always use binary mode for File.open to keep Windows happy



 
Reply With Quote
 
 
 
 
botp
Guest
Posts: n/a
 
      05-07-2011
On Sat, May 7, 2011 at 5:14 AM, Eric Hodel <> wrote:
> After installing RubyGems 1.8.1 you will see deprecations when loading yo=

ur
> exsting gems. =A0Run `gem pristine --all --no-extensions` to regenerate y=

our
> gem specifications safely.


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

best regards -botp

 
Reply With Quote
 
Joel VanderWerf
Guest
Posts: n/a
 
      05-07-2011
On 05/06/2011 05:47 PM, botp wrote:
> On Sat, May 7, 2011 at 5:14 AM, Eric Hodel<> 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

 
Reply With Quote
 
Josh Cheek
Guest
Posts: n/a
 
      05-07-2011
[Note: parts of this message were removed to make it a legal post.]

On Fri, May 6, 2011 at 4:14 PM, Eric Hodel <> 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:ependency#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

 
Reply With Quote
 
Kevin Bullock
Guest
Posts: n/a
 
      05-08-2011
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/.

 
Reply With Quote
 
Patrick Johnson
Guest
Posts: n/a
 
      05-08-2011

> 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
 
Reply With Quote
 
Phillip Gawlowski
Guest
Posts: n/a
 
      05-08-2011
On Sun, May 8, 2011 at 4:52 AM, Patrick Johnson
<> wrote:
>
> I'm completely new to this stuff. =A0When should "gem update" alone ever =

be
> run? =A0Or does doing so break things?


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

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

--=20
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.

 
Reply With Quote
 
Ryan Davis
Guest
Posts: n/a
 
      05-08-2011

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.


 
Reply With Quote
 
Ryan Davis
Guest
Posts: n/a
 
      05-08-2011

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:
>=20
> LoadModule passenger_module =

/usr/local/lib/ruby/gems/1.9.1/gems/passenger-3.0.7/ext/apache2/mod_passen=
ger.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>
>=20
>=20
> This was after I ran...
>=20
> gem update --system
> gem pristine --all --no-extensions
>=20
> My /usr/local/lib/ruby/gems/1.9.1/gems/passenger-3.0.7/ext/apache2
>=20
> No longer has any *.so files in it. Therefore Apache gives the =

following error upon restart.

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


 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Win XP wireless network adapter gets released and then connects ba =?Utf-8?B?cGkyMmJ5Nw==?= Wireless Networking 1 08-01-2008 08:33 PM
Battlefield 2 New Patch Released (yet Again...) Silverstrand Front Page News 4 07-20-2005 04:33 PM
*Mozilla Firefox 1.0.4 Released* Roland Firefox 4 05-13-2005 03:05 PM
Firefox 1.0.1 released Z Firefox 2 02-26-2005 04:11 AM
ANN: Anyplace Control 2.6 released Yura Goncharuk Wireless Networking 0 09-28-2004 10:13 AM



Advertisments
 



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57