Problems with Rubygems on 1.9.0 under multiruby

Discussion in 'Ruby' started by James Coglan, Jun 3, 2009.

  1. James Coglan

    James Coglan Guest

    [Note: parts of this message were removed to make it a legal post.]

    Hi all,

    Trying to get multiruby (from ZenTest) set up on Ubuntu. So far I've run the
    following and got 4 working installs:



    sudo gem install ZenTest
    multiruby_setup update:rubygems
    multiruby_setup mri:tar:1.8.6
    multiruby_setup mri:tar:1.8.7
    multiruby_setup mri:tar:1.9.0
    multiruby_setup mri:tar:1.9.1

    wget http://www.blue.sky.or.jp/atelier/ruby/ruby-zlib-0.6.0.tar.gz
    tar zxf ruby-zlib-0.6.0.tar.gz
    cd ruby-zlib-0.6.0/
    ~/.multiruby/install/1.8.6-p368/bin/ruby extconf.rb
    make && make install
    ~/.multiruby/install/1.8.7-p160/bin/ruby extconf.rb
    make && make install
    ~/.multiruby/install/1.9.0-5/bin/ruby extconf.rb
    make && make install
    ~/.multiruby/install/1.9.1-p129/bin/ruby extconf.rb
    make && make install

    multiruby_setup update:rubygems
    multiruby -S gem install --no-ri --no-rdoc --development test-unit



    This last command runs on everything but 1.9.0:



    $ multiruby -S gem install --no-ri --no-rdoc --development test-unit
    building and installing 1.8.6-p368
    Running command: (nice make -j4; nice make) > log.build 2>&1
    Running command: make install > log.install 2>&1
    Running command: ../ruby ./setup.rb --no-rdoc --no-ri > ../log.rubygems 2>&1
    building and installing 1.8.7-p160
    Running command: (nice make -j4; nice make) > log.build 2>&1
    Running command: make install > log.install 2>&1
    Running command: ../ruby ./setup.rb --no-rdoc --no-ri > ../log.rubygems 2>&1
    building and installing 1.9.0-5
    Running command: (nice make -j4; nice make) > log.build 2>&1
    Running command: make install > log.install 2>&1
    building and installing 1.9.1-p129
    Running command: (nice make -j4; nice make) > log.build 2>&1
    Running command: make install > log.install 2>&1

    VERSION = 1.8.6-p368
    CMD = ~/.multiruby/install/1.8.6-p368/bin/ruby -S gem install --no-ri
    --no-rdoc --development test-unit

    Successfully installed rubyforge-1.0.3
    Successfully installed rake-0.8.7
    Successfully installed hoe-2.0.0
    Successfully installed test-unit-2.0.2
    4 gems installed

    RESULT = 0

    VERSION = 1.8.7-p160
    CMD = ~/.multiruby/install/1.8.7-p160/bin/ruby -S gem install --no-ri
    --no-rdoc --development test-unit

    Successfully installed rubyforge-1.0.3
    Successfully installed rake-0.8.7
    Successfully installed hoe-2.0.0
    Successfully installed test-unit-2.0.2
    4 gems installed

    RESULT = 0

    VERSION = 1.9.0-5
    CMD = ~/.multiruby/install/1.9.0-5/bin/ruby -S gem install --no-ri
    --no-rdoc --development test-unit

    ERROR: Error installing test-unit:
    hoe requires RubyGems version >= 1.3.1

    RESULT = 256

    VERSION = 1.9.1-p129
    CMD = ~/.multiruby/install/1.9.1-p129/bin/ruby -S gem install --no-ri
    --no-rdoc --development test-unit

    Successfully installed rubyforge-1.0.3
    Successfully installed rake-0.8.7
    Successfully installed hoe-2.0.0
    Successfully installed test-unit-2.0.2
    4 gems installed

    RESULT = 0

    TOTAL RESULT = 1 failures out of 4

    Passed: 1.9.1-p129, 1.8.7-p160, 1.8.6-p368
    Failed: 1.9.0-5



    My question is -- is it worth testing on 1.9.0 or is everyone using 1.9.1
    instead? If it's still worth testing on 1.9.0, how do I fix the above?
    multiruby appears to have installed Rubygems 1.3.4, though I guess the
    version shipped with Ruby 1.9.0 predates this.

    --
    James Coglan
     
    James Coglan, Jun 3, 2009
    #1
    1. Advertising

  2. James Coglan

    bbiker Guest

    On Jun 3, 2:42 pm, James Coglan <> wrote:
    > [Note:  parts of this message were removed to make it a legal post.]
    >
    > Hi all,
    >
    > Trying to get multiruby (from ZenTest) set up on Ubuntu. So far I've run the
    > following and got 4 working installs:
    >
    > sudo gem install ZenTest
    > multiruby_setup update:rubygems
    > multiruby_setup mri:tar:1.8.6
    > multiruby_setup mri:tar:1.8.7
    > multiruby_setup mri:tar:1.9.0
    > multiruby_setup mri:tar:1.9.1
    >
    > wgethttp://www.blue.sky.or.jp/atelier/ruby/ruby-zlib-0.6.0.tar.gz
    > tar zxf ruby-zlib-0.6.0.tar.gz
    > cd ruby-zlib-0.6.0/
    > ~/.multiruby/install/1.8.6-p368/bin/ruby extconf.rb
    > make && make install
    > ~/.multiruby/install/1.8.7-p160/bin/ruby extconf.rb
    > make && make install
    > ~/.multiruby/install/1.9.0-5/bin/ruby extconf.rb
    > make && make install
    > ~/.multiruby/install/1.9.1-p129/bin/ruby extconf.rb
    > make && make install
    >
    > multiruby_setup update:rubygems
    > multiruby -S gem install --no-ri --no-rdoc --development test-unit
    >
    > This last command runs on everything but 1.9.0:
    >
    > $ multiruby -S gem install --no-ri --no-rdoc --development test-unit
    > building and installing 1.8.6-p368
    > Running command: (nice make -j4; nice make) > log.build 2>&1
    > Running command: make install > log.install 2>&1
    > Running command: ../ruby ./setup.rb --no-rdoc --no-ri > ../log.rubygems 2>&1
    > building and installing 1.8.7-p160
    > Running command: (nice make -j4; nice make) > log.build 2>&1
    > Running command: make install > log.install 2>&1
    > Running command: ../ruby ./setup.rb --no-rdoc --no-ri > ../log.rubygems 2>&1
    > building and installing 1.9.0-5
    > Running command: (nice make -j4; nice make) > log.build 2>&1
    > Running command: make install > log.install 2>&1
    > building and installing 1.9.1-p129
    > Running command: (nice make -j4; nice make) > log.build 2>&1
    > Running command: make install > log.install 2>&1
    >
    > VERSION = 1.8.6-p368
    > CMD     = ~/.multiruby/install/1.8.6-p368/bin/ruby -S gem install --no-ri
    > --no-rdoc --development test-unit
    >
    > Successfully installed rubyforge-1.0.3
    > Successfully installed rake-0.8.7
    > Successfully installed hoe-2.0.0
    > Successfully installed test-unit-2.0.2
    > 4 gems installed
    >
    > RESULT = 0
    >
    > VERSION = 1.8.7-p160
    > CMD     = ~/.multiruby/install/1.8.7-p160/bin/ruby -S gem install --no-ri
    > --no-rdoc --development test-unit
    >
    > Successfully installed rubyforge-1.0.3
    > Successfully installed rake-0.8.7
    > Successfully installed hoe-2.0.0
    > Successfully installed test-unit-2.0.2
    > 4 gems installed
    >
    > RESULT = 0
    >
    > VERSION = 1.9.0-5
    > CMD     = ~/.multiruby/install/1.9.0-5/bin/ruby -S gem install --no-ri
    > --no-rdoc --development test-unit
    >
    > ERROR:  Error installing test-unit:
    >     hoe requires RubyGems version >= 1.3.1
    >
    > RESULT = 256
    >
    > VERSION = 1.9.1-p129
    > CMD     = ~/.multiruby/install/1.9.1-p129/bin/ruby -S gem install --no-ri
    > --no-rdoc --development test-unit
    >
    > Successfully installed rubyforge-1.0.3
    > Successfully installed rake-0.8.7
    > Successfully installed hoe-2.0.0
    > Successfully installed test-unit-2.0.2
    > 4 gems installed
    >
    > RESULT = 0
    >
    > TOTAL RESULT = 1 failures out of 4
    >
    > Passed: 1.9.1-p129, 1.8.7-p160, 1.8.6-p368
    > Failed: 1.9.0-5
    >
    > My question is -- is it worth testing on 1.9.0 or is everyone using 1.9.1
    > instead? If it's still worth testing on 1.9.0, how do I fix the above?
    > multiruby appears to have installed Rubygems 1.3.4, though I guess the
    > version shipped with Ruby 1.9.0 predates this.
    >
    > --
    > James Coglan


    IMHO, you should not need Ruby-1.9.0 since Ruby-1.9,1 is a stable
    version.

    Personally I would not install Ruby-1.8.7 since it is neither fish nor
    bird ... it istradles 1.8.6 and 1.9.1 ... if you're going to migragate
    to 1.9.1 there's no point to go through 1.8.7

    just my 2 cents for a newby
     
    bbiker, Jun 3, 2009
    #2
    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. Trevor
    Replies:
    5
    Views:
    583
    Bill Kelly
    Jan 29, 2005
  2. Erik Veenstra
    Replies:
    4
    Views:
    842
    Austin Ziegler
    Feb 4, 2005
  3. Ryan Davis
    Replies:
    1
    Views:
    302
    M. Edward (Ed) Borasky
    Dec 27, 2007
  4. Rick DeNatale
    Replies:
    1
    Views:
    116
    Wayne E. Seguin
    Sep 6, 2009
  5. Eric Roscher
    Replies:
    3
    Views:
    376
    Eric Roscher
    Nov 24, 2009
Loading...

Share This Page