Ruby 1.9.1 and Rubygems

M

Michael Morin

Wanting to play with Ruby 1.9.1, I uninstalled (via apt) all my Ruby
packages, downloaded the Ruby 1.9.1 source code and installed with
/configure, make, then make install. At this point, Ruby works fine,
as do the irb, ri, etc commands. Next up, install Rubygems 1.3.1.
Download the source code, extract, and run ruby setup.rb. During the
install, it overwrites /usr/local/bin/ruby, breaking the Ruby
installation.

Why is Rubygems writing over /usr/local/bin/ruby?

I'm running Ubuntu 8.10, and I've uninstalled all Ruby-related
packages prior to doing this.
 
C

Codeblogger

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

Hello Michael,

Ruby 1.9.1 ships with built-in Rubygems. You do not need to install
Rubygems separately.

Regards
Nicolai
 
D

David Palm

Ruby 1.9.1 ships with built-in Rubygems. You do not need to install
Rubygems separately.

Right, but the question still stands: why on earth is the rubygems installer script attempting something so disruptive?

Did the OP file a bug to the rubygems devs?
 
M

Michael Morin

Hello Michael,

Ruby 1.9.1 ships with built-in Rubygems. You do not need to install
Rubygems separately.

Regards
Nicolai

Wow... I didn't realize that at all! Has Rubygems been merged with
Ruby? How will updates of Rubygems be performed in the future? Is
the version of Rubygems now tied to the version of Ruby?
 
M

Michael Morin

Right, but the question still stands: why on earth is the rubygems installer script attempting something so disruptive?

Did the OP file a bug to the rubygems devs?

I have now.
 

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,777
Messages
2,569,604
Members
45,222
Latest member
patricajohnson51

Latest Threads

Top