ruby 1.8.8dev stable snapshot?

Discussion in 'Ruby' started by benr75, Mar 12, 2009.

  1. benr75

    benr75 Guest

    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
    benr75, Mar 12, 2009
    #1
    1. Advertising

  2. 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
    Michael Fellinger, Mar 13, 2009
    #2
    1. Advertising

  3. benr75

    Eric Hodel Guest

    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.
    Eric Hodel, Mar 16, 2009
    #3
  4. 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
    Charles Oliver Nutter, Mar 16, 2009
    #4
  5. benr75

    Eric Hodel Guest

    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.php?func=detail&aid=24048&group_id=126&atid=577

    Apparently if there's an unreleased version, RUBY_PATCHLEVEL is -1
    Eric Hodel, Mar 16, 2009
    #5
    1. Advertising

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

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Randy Lawrence

    stable-snapshot = Ruby 1.8.2

    Randy Lawrence, May 23, 2004, in forum: Ruby
    Replies:
    0
    Views:
    107
    Randy Lawrence
    May 23, 2004
  2. Charles Comstock

    [BUG] Latest Ruby Stable Snapshot

    Charles Comstock, May 24, 2004, in forum: Ruby
    Replies:
    3
    Views:
    105
  3. Ruby Noob
    Replies:
    4
    Views:
    164
    Ruby Noob
    Oct 26, 2004
  4. Ruby Noob
    Replies:
    2
    Views:
    128
    Yukihiro Matsumoto
    Oct 27, 2004
  5. Peña, Botp
    Replies:
    3
    Views:
    102
    Peña, Botp
    Oct 11, 2006
Loading...

Share This Page