Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > Ruby > ruby 1.8.8dev stable snapshot?

Reply
Thread Tools

ruby 1.8.8dev stable snapshot?

 
 
benr75
Guest
Posts: n/a
 
      03-12-2009
Hello ~

Went to do a routine ruby install from source, grabbed a stable
snapshot, and instead of getting an expected 1.8.7 I got:

$ ruby -v
ruby 1.8.8dev (2009-03-11)

Should this really be the STABLE snapshot? It throws up trying to
RubyGems installed:
$ sudo ruby setup.rb
Password:
/home/deploy/src/rubygems-1.3.1/lib/rubygems/version.rb:53:in
`initialize': Malformed version number string 1.8.8.-1 (ArgumentError)
from /home/deploy/src/rubygems-1.3.1/lib/rubygems.rb:676:in `new'
from /home/deploy/src/rubygems-1.3.1/lib/rubygems.rb:676:in
`ruby_version'
from setup.rb:111

------------
Ben Reubenstein
http://benr75.com

 
Reply With Quote
 
 
 
 
Michael Fellinger
Guest
Posts: n/a
 
      03-13-2009
On Thu, Mar 12, 2009 at 10:52 AM, benr75 <> wrote:
> Hello ~
>
> Went to do a routine ruby install from source, grabbed a stable
> snapshot, and instead of getting an expected 1.8.7 I got:
>
> $ ruby -v
> ruby 1.8.8dev (2009-03-11)
>
> Should this really be the STABLE snapshot?


It's stable, it runs and i think even the tests are passing. This
tarball is made directly from the svn repo, and the ruby version in
the repo is 1.8.8 since 1.8.7 was released already (that's also why it
says 'dev').

> It throws up trying to RubyGems installed:
> $ sudo ruby setup.rb
> Password:
> /home/deploy/src/rubygems-1.3.1/lib/rubygems/version.rb:53:in
> `initialize': Malformed version number string 1.8.8.-1 (ArgumentError)
> =C2=A0 =C2=A0 =C2=A0 =C2=A0from /home/deploy/src/rubygems-1.3.1/lib/rubyg=

ems.rb:676:in `new'
> =C2=A0 =C2=A0 =C2=A0 =C2=A0from /home/deploy/src/rubygems-1.3.1/lib/rubyg=

ems.rb:676:in
> `ruby_version'
> =C2=A0 =C2=A0 =C2=A0 =C2=A0from setup.rb:111


rubygems/version.rb doesn't allow anything but \d and \. in the
version string, so i guess this version would confuse it
Don't expect any libraries to work with a yet unreleased ruby version
if you don't want to get down, read and understand their code and get
tweaking.

^ manveru

 
Reply With Quote
 
 
 
 
Eric Hodel
Guest
Posts: n/a
 
      03-16-2009
On Mar 11, 2009, at 18:52, benr75 wrote:

> Hello ~
>
> Went to do a routine ruby install from source, grabbed a stable
> snapshot, and instead of getting an expected 1.8.7 I got:
>
> $ ruby -v
> ruby 1.8.8dev (2009-03-11)
>
> Should this really be the STABLE snapshot? It throws up trying to
> RubyGems installed:
> $ sudo ruby setup.rb
> Password:
> /home/deploy/src/rubygems-1.3.1/lib/rubygems/version.rb:53:in
> `initialize': Malformed version number string 1.8.8.-1 (ArgumentError)
> from /home/deploy/src/rubygems-1.3.1/lib/rubygems.rb:676:in `new'
> from /home/deploy/src/rubygems-1.3.1/lib/rubygems.rb:676:in
> `ruby_version'
> from setup.rb:111


This is new behavior in the 1.8 branch, so RubyGems wasn't equipped to
deal with it until last week, when I checked a fix into trunk.

 
Reply With Quote
 
Charles Oliver Nutter
Guest
Posts: n/a
 
      03-16-2009
Eric Hodel wrote:
> This is new behavior in the 1.8 branch, so RubyGems wasn't equipped to
> deal with it until last week, when I checked a fix into trunk.


Excellent, we've had this issue with JRuby too, for versions like
1.2.0RC1 or 1.3.0dev. What's the new rules for version numbering?

- Charlie

 
Reply With Quote
 
Eric Hodel
Guest
Posts: n/a
 
      03-16-2009
On Mar 16, 2009, at 11:57, Charles Oliver Nutter wrote:
> Eric Hodel wrote:
>> This is new behavior in the 1.8 branch, so RubyGems wasn't equipped
>> to deal with it until last week, when I checked a fix into trunk.

>
> Excellent, we've had this issue with JRuby too, for versions like
> 1.2.0RC1 or 1.3.0dev. What's the new rules for version numbering?


I'm not sure what the details are, I just applied this patch from
Jeremy Kemper:

http://rubyforge.org/tracker/index.p...d=126&atid=577

Apparently if there's an unreleased version, RUBY_PATCHLEVEL is -1

 
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
What is a stable way to use postgres with Ruby? stephen.tashiro@us.army.mil Ruby 2 03-23-2006 10:31 PM
Upgrading to ruby stable snapshot 2004-10-25 broke working script Ruby Noob Ruby 2 10-27-2004 01:51 AM
Installing Ruby 1.8.2 stable snapshot in Linux Ruby Noob Ruby 4 10-26-2004 06:13 PM
[BUG] Latest Ruby Stable Snapshot Charles Comstock Ruby 3 05-24-2004 02:48 PM
stable-snapshot = Ruby 1.8.2 Randy Lawrence Ruby 0 05-23-2004 06:18 PM



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