[lnkForumImage]
TotalShareware - Download Free Software

Confronta i prezzi di migliaia di prodotti.
Asp Forum
 Home | Login | Register | Search 


 

Forums >

comp.lang.ruby

Re: Ruby and Debian

mathew

12/21/2005 10:45:00 PM

Esteban Manchado Velázquez wrote:
> If he's indeed using stable, you'll have to install a couple of packages
> to have a complete Ruby installation.

Specifically:

ruby
ri1.8
rdoc1.8

The latter two are suggested by APT when you install the first.


mathew
--
<URL:http://www.pobox.com/...
My parents went to the lost kingdom of Hyrule
and all I got was this lousy triforce.
5 Answers

Shot - Piotr Szotkowski

12/23/2005 10:45:00 PM

0

Hello.

mathew:

> Esteban Manchado Velázquez wrote:

>> If he's indeed using stable, you'll have to install
>> a couple of packages to have a complete Ruby installation.

> Specifically:

> ruby
> ri1.8
> rdoc1.8

Or, better yet, ri and rdoc (dummy packages depending on the latest ri
and RDoc versions, just like the ruby one depends on the latest Ruby)
- this way you'll get automagically upgraded to 2.0 if/when the next
Debian stable ships it.

Cheers,
-- Shot
--
Life is like sendmail: you're not sure you know how to handle
it, but you know it'll end in tears. -- Malcolm Ray, asr
====================== http://shot.pl/h... === http://shot... ===


Chad Perrin

12/24/2005 1:24:00 AM

0

On Sat, Dec 24, 2005 at 07:44:41AM +0900, Shot - Piotr Szotkowski wrote:
> Hello.
>
> mathew:
>
> > ruby
> > ri1.8
> > rdoc1.8
>
> Or, better yet, ri and rdoc (dummy packages depending on the latest ri
> and RDoc versions, just like the ruby one depends on the latest Ruby)
> - this way you'll get automagically upgraded to 2.0 if/when the next
> Debian stable ships it.

The point of Stable is that it doesn't change, so that you'll never have
to worry about something that works suddenly breaking when you're doing
security updates or adding software. Thus, one tends to not see new
packages appear in Stable unless absolutely necessary for security
reasons.

--
Chad Perrin [ CCD CopyWrite | http://ccd.ap... ]

unix virus: If you're using a unixlike OS, please forward
this to 20 others and erase your system partition.


Carlos

12/24/2005 5:45:00 AM

0

[Chad Perrin <perrin@apotheon.com>, 2005-12-24 02.23 CET]
> On Sat, Dec 24, 2005 at 07:44:41AM +0900, Shot - Piotr Szotkowski wrote:
> > Hello.
> >
> > mathew:
> >
> > > ruby
> > > ri1.8
> > > rdoc1.8
> >
> > Or, better yet, ri and rdoc (dummy packages depending on the latest ri
> > and RDoc versions, just like the ruby one depends on the latest Ruby)
> > - this way you'll get automagically upgraded to 2.0 if/when the next
> > Debian stable ships it.
>
> The point of Stable is that it doesn't change, so that you'll never have
> to worry about something that works suddenly breaking when you're doing
> security updates or adding software. Thus, one tends to not see new
> packages appear in Stable unless absolutely necessary for security
> reasons.

Anyway, whether you don't want to upgrade to the next stable release when it
appears, or whether you do want to, selecting the dummy, generic-named
packages is better.

Cheers.


Chad Perrin

12/24/2005 8:12:00 AM

0

On Sat, Dec 24, 2005 at 02:45:28PM +0900, angus wrote:
> [Chad Perrin <perrin@apotheon.com>, 2005-12-24 02.23 CET]
> > On Sat, Dec 24, 2005 at 07:44:41AM +0900, Shot - Piotr Szotkowski wrote:
> > > Hello.
> > >
> > > mathew:
> > >
> > > > ruby
> > > > ri1.8
> > > > rdoc1.8
> > >
> > > Or, better yet, ri and rdoc (dummy packages depending on the latest ri
> > > and RDoc versions, just like the ruby one depends on the latest Ruby)
> > > - this way you'll get automagically upgraded to 2.0 if/when the next
> > > Debian stable ships it.
> >
> > The point of Stable is that it doesn't change, so that you'll never have
> > to worry about something that works suddenly breaking when you're doing
> > security updates or adding software. Thus, one tends to not see new
> > packages appear in Stable unless absolutely necessary for security
> > reasons.
>
> Anyway, whether you don't want to upgrade to the next stable release when it
> appears, or whether you do want to, selecting the dummy, generic-named
> packages is better.

Sorry, didn't mean to get pedantic. Yes, you're right.

--
Chad Perrin [ CCD CopyWrite | http://ccd.ap... ]

unix virus: If you're using a unixlike OS, please forward
this to 20 others and erase your system partition.


Shot - Piotr Szotkowski

12/27/2005 11:03:00 AM

0

Hello.

Chad Perrin:

> On Sat, Dec 24, 2005 at 07:44:41AM +0900, Shot - Piotr Szotkowski wrote:

>> Or, better yet, ri and rdoc (dummy packages depending on the latest ri
>> and RDoc versions, just like the ruby one depends on the latest Ruby)
>> - this way you'll get automagically upgraded to 2.0 if/when the next
>> Debian stable ships it.

> The point of Stable is that it doesn't change, so that you'll never
> have to worry about something that works suddenly breaking when you're
> doing security updates or adding software. Thus, one tends to not see
> new packages appear in Stable unless absolutely necessary for security
> reasons.

That's why I explicitly mentioned I'm writing about upgrading to the
next stable. I prefer to automagically see there's a new stable Ruby
version and be able to easily choose whether to upgrade (with the
dependencies changed to ruby2.0) or keep the dummy ruby package at
the current version (thus keeping ruby1.8).

Also, in this particular case, the suggestion was already to install the
dummy ruby package; IMHO it only makes sense to do the same for the ri
and rdoc packages (what would be the benefit of upgrading to Ruby 2.0
but keeping the older ri and RDoc?).

Also, Debian releases stable versions fairly rarely, but Ubuntu releases
every six months (and I generally upgrade accordingly); it's really nice
not to have to track such changes in all of the non-default packages,
and use the dummy ones to do the work. :o)

Cheers,
-- Shot
--
I guess there are some things that are so gross you just have to
forget, or it'll destroy something within you. Perl is the first
such thing I have known. -- Erik Naggum, comp.lang.lisp
====================== http://shot.pl/h... === http://shot... ===