ruby 1.8.8dev stable snapshot?

B

benr75

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
 
M

Michael Fellinger

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
 
E

Eric Hodel

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.
 
C

Charles Oliver Nutter

Eric said:
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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,769
Messages
2,569,576
Members
45,054
Latest member
LucyCarper

Latest Threads

Top