public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-user]  ruby gems
@ 2007-11-21  7:38 Thufir
  2007-11-21  9:03 ` Neil Bothwick
  2007-11-22  5:29 ` [gentoo-user] " Roy Wright
  0 siblings, 2 replies; 10+ messages in thread
From: Thufir @ 2007-11-21  7:38 UTC (permalink / raw
  To: gentoo-user

The version of rails which I'm running appears to be out of date.  Is 
this a ruby gems issue or an emerge issue?

thufir@arrakis ~ $ 
thufir@arrakis ~ $ ruby /home/thufir/rubyCode/dummy/script/server 
/home/thufir/rubyCode/dummy/script/../config/boot.rb:28:Warning: 
require_gem is obsolete.  Use gem instead.

(The solutions amount to uninstall/reinstall.)



Thanks,

Thufir

-- 
gentoo-user@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: [gentoo-user]  ruby gems
  2007-11-21  7:38 [gentoo-user] ruby gems Thufir
@ 2007-11-21  9:03 ` Neil Bothwick
  2007-11-22  2:47   ` [gentoo-user] " Thufir
  2007-11-22  5:29 ` [gentoo-user] " Roy Wright
  1 sibling, 1 reply; 10+ messages in thread
From: Neil Bothwick @ 2007-11-21  9:03 UTC (permalink / raw
  To: gentoo-user

[-- Attachment #1: Type: text/plain, Size: 332 bytes --]

On Wed, 21 Nov 2007 07:38:52 +0000 (UTC), Thufir wrote:

> The version of rails which I'm running appears to be out of date.  Is 
> this a ruby gems issue or an emerge issue?

It's a "we have no idea which versions of ruby and ruby-gems you are
using" issue.


-- 
Neil Bothwick

Top Oxymorons Number 7: Definite maybe

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 189 bytes --]

^ permalink raw reply	[flat|nested] 10+ messages in thread

* [gentoo-user]  Re: ruby gems
  2007-11-21  9:03 ` Neil Bothwick
@ 2007-11-22  2:47   ` Thufir
  2007-11-22  3:20     ` Thufir
  0 siblings, 1 reply; 10+ messages in thread
From: Thufir @ 2007-11-22  2:47 UTC (permalink / raw
  To: gentoo-user

On Wed, 21 Nov 2007 09:03:23 +0000, Neil Bothwick wrote:

> On Wed, 21 Nov 2007 07:38:52 +0000 (UTC), Thufir wrote:
> 
>> The version of rails which I'm running appears to be out of date.  Is
>> this a ruby gems issue or an emerge issue?
> 
> It's a "we have no idea which versions of ruby and ruby-gems you are
> using" issue.

When I emerged rails:

dev-lang/ruby-1.8.5_p2-r1
dev-ruby/rails-1.1.6


Now, <http://packages.gentoo.org/package/dev-ruby/rails?full_cat> shows 
that 1.2.5 is stable, though.  1.8.6_p110-r1 looks to be latest stable 
release of ruby available through portage for x86 systems.

I'd rather not emerge world if at all possible.  How do I find out why 
I'm not getting the most recent packages?



thanks,

Thufir

-- 
gentoo-user@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 10+ messages in thread

* [gentoo-user]  Re: ruby gems
  2007-11-22  2:47   ` [gentoo-user] " Thufir
@ 2007-11-22  3:20     ` Thufir
  2007-11-22  9:07       ` Alexander Skwar
                         ` (2 more replies)
  0 siblings, 3 replies; 10+ messages in thread
From: Thufir @ 2007-11-22  3:20 UTC (permalink / raw
  To: gentoo-user

On Thu, 22 Nov 2007 02:47:24 +0000, Thufir wrote:


> Now, <http://packages.gentoo.org/package/dev-ruby/rails?full_cat> shows
> that 1.2.5 is stable, though.  1.8.6_p110-r1 looks to be latest stable
> release of ruby available through portage for x86 systems.


arrakis ~ # eix rails
[I] dev-ruby/rails
     Available versions:  
        (1.1)   1.1.6 ~1.1.6-r1
        (1.2)   ~1.2.0 ~1.2.1 ~1.2.2 ~1.2.3
     Installed versions:  1.1.6(1.1)(18:31:16 11/21/07)(doc fastcgi mysql 
-postgres sqlite -sqlite3)
     Homepage:            http://www.rubyonrails.org
     Description:         ruby on rails is a web-application and 
persistance framework

arrakis ~ # 


If I'm interpreting eix correctly there's not even an option to unmask 
1.2.5 (which shouldn't need unmasking).




thanks,

Thufir

-- 
gentoo-user@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: [gentoo-user]  ruby gems
  2007-11-21  7:38 [gentoo-user] ruby gems Thufir
  2007-11-21  9:03 ` Neil Bothwick
@ 2007-11-22  5:29 ` Roy Wright
  1 sibling, 0 replies; 10+ messages in thread
From: Roy Wright @ 2007-11-22  5:29 UTC (permalink / raw
  To: gentoo-user

Thufir wrote:
> The version of rails which I'm running appears to be out of date.  Is 
> this a ruby gems issue or an emerge issue?
>
> thufir@arrakis ~ $ 
> thufir@arrakis ~ $ ruby /home/thufir/rubyCode/dummy/script/server 
> /home/thufir/rubyCode/dummy/script/../config/boot.rb:28:Warning: 
> require_gem is obsolete.  Use gem instead.
>
> (The solutions amount to uninstall/reinstall.)
>
>   

Since rubygems 0.9.0 the command require_gem has been deprecated in
favor of just plain gem.

http://redhanded.hobix.com/bits/require_gemIsDeprecated.html


HTH,
Roy


////
-- 
gentoo-user@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 10+ messages in thread

* [gentoo-user]  Re: ruby gems
  2007-11-22  3:20     ` Thufir
@ 2007-11-22  9:07       ` Alexander Skwar
  2007-11-22  9:11       ` Neil Bothwick
  2007-11-22 14:47       ` Hans-Werner Hilse
  2 siblings, 0 replies; 10+ messages in thread
From: Alexander Skwar @ 2007-11-22  9:07 UTC (permalink / raw
  To: gentoo-user

Thufir <hawat.thufir@gmail.com> wrote:

> On Thu, 22 Nov 2007 02:47:24 +0000, Thufir wrote:
> 
> 
>> Now, <http://packages.gentoo.org/package/dev-ruby/rails?full_cat> shows
>> that 1.2.5 is stable, though.  1.8.6_p110-r1 looks to be latest stable
>> release of ruby available through portage for x86 systems.
> 
> 
> arrakis ~ # eix rails
> [I] dev-ruby/rails
>      Available versions:
>         (1.1)   1.1.6 ~1.1.6-r1
>         (1.2)   ~1.2.0 ~1.2.1 ~1.2.2 ~1.2.3
>      Installed versions:  1.1.6(1.1)(18:31:16 11/21/07)(doc fastcgi mysql
> -postgres sqlite -sqlite3)
>      Homepage:            http://www.rubyonrails.org
>      Description:         ruby on rails is a web-application and
> persistance framework
> 
> arrakis ~ #

askwar@hetzner ~ $ eix rails
* app-admin/eselect-rails
     Available versions:  0.10
     Homepage:            http://www.gentoo.org/
     Description:         Manages Ruby on Rails symlinks

* dev-ruby/rails
     Available versions:  
        (1.1)   1.1.6 (~)1.1.6-r2
        (1.2)   (~)1.2.3 1.2.3-r1 (~)1.2.4 1.2.5
        {doc fastcgi mysql postgres sqlite sqlite3}
     Homepage:            http://www.rubyonrails.org
     Description:         ruby on rails is a web-application and persistance framework

Found 2 matches.
askwar@hetzner ~ $ date
Do 22. Nov 10:13:26 CET 2007


> If I'm interpreting eix correctly there's not even an option to unmask
> 1.2.5 (which shouldn't need unmasking).

You need to sync.

Alexander

-- 
gentoo-user@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: [gentoo-user]  Re: ruby gems
  2007-11-22  3:20     ` Thufir
  2007-11-22  9:07       ` Alexander Skwar
@ 2007-11-22  9:11       ` Neil Bothwick
  2007-11-22 14:47       ` Hans-Werner Hilse
  2 siblings, 0 replies; 10+ messages in thread
From: Neil Bothwick @ 2007-11-22  9:11 UTC (permalink / raw
  To: gentoo-user

[-- Attachment #1: Type: text/plain, Size: 609 bytes --]

On Thu, 22 Nov 2007 03:20:42 +0000 (UTC), Thufir wrote:

> If I'm interpreting eix correctly there's not even an option to unmask 
> 1.2.5 (which shouldn't need unmasking).
You need to sync, 1.2.5 is in the tree and stable according to eix here.

% eix -e rails
* dev-ruby/rails
     Available versions:
        (1.1)   1.1.6 (~)1.1.6-r2
        (1.2)   (~)1.2.3 (~)1.2.3-r1 (~)1.2.4 1.2.5
     Homepage:            http://www.rubyonrails.org
     Description:         ruby on rails is a web-application and
persistance framework



-- 
Neil Bothwick

Top Oxymorons Number 22: Childproof

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 189 bytes --]

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: [gentoo-user]  Re: ruby gems
  2007-11-22  3:20     ` Thufir
  2007-11-22  9:07       ` Alexander Skwar
  2007-11-22  9:11       ` Neil Bothwick
@ 2007-11-22 14:47       ` Hans-Werner Hilse
  2007-11-23  9:12         ` Thufir
  2 siblings, 1 reply; 10+ messages in thread
From: Hans-Werner Hilse @ 2007-11-22 14:47 UTC (permalink / raw
  To: gentoo-user

Hi,

On Thu, 22 Nov 2007 03:20:42 +0000 (UTC) Thufir
<hawat.thufir@gmail.com> wrote:

> arrakis ~ # eix rails
> [I] dev-ruby/rails
>      Available versions:  
>         (1.1)   1.1.6 ~1.1.6-r1
>         (1.2)   ~1.2.0 ~1.2.1 ~1.2.2 ~1.2.3
>      Installed versions:  1.1.6(1.1)(18:31:16 11/21/07)(doc fastcgi
> mysql -postgres sqlite -sqlite3)

Besides what you were told already (sync portage to see 1.2.5), you can
see above that rails is slotted. So as long as you don't explicitly
emerge it, it will keep the 1.1 and 1.2 slots separate and will only
update within each of the slots. So if you want 1.2.x, emerge it (and
then remove the 1.1 version, if you need/want to).

-hwh
-- 
gentoo-user@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 10+ messages in thread

* [gentoo-user]  Re: ruby gems
  2007-11-22 14:47       ` Hans-Werner Hilse
@ 2007-11-23  9:12         ` Thufir
  2007-11-23  9:31           ` Neil Bothwick
  0 siblings, 1 reply; 10+ messages in thread
From: Thufir @ 2007-11-23  9:12 UTC (permalink / raw
  To: gentoo-user

On Thu, 22 Nov 2007 15:47:46 +0100, Hans-Werner Hilse wrote:


> Besides what you were told already (sync portage to see 1.2.5), you can
> see above that rails is slotted. So as long as you don't explicitly
> emerge it, it will keep the 1.1 and 1.2 slots separate and will only
> update within each of the slots. So if you want 1.2.x, emerge it (and
> then remove the 1.1 version, if you need/want to).

That worked fine, thank you.  What's meant by "slotted"?  I would think 
that it would universally be preferable for emerge to replace old 
versions with new.


-Thufir

-- 
gentoo-user@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: [gentoo-user]  Re: ruby gems
  2007-11-23  9:12         ` Thufir
@ 2007-11-23  9:31           ` Neil Bothwick
  0 siblings, 0 replies; 10+ messages in thread
From: Neil Bothwick @ 2007-11-23  9:31 UTC (permalink / raw
  To: gentoo-user

[-- Attachment #1: Type: text/plain, Size: 472 bytes --]

On Fri, 23 Nov 2007 09:12:00 +0000 (UTC), Thufir wrote:

> That worked fine, thank you.  What's meant by "slotted"?  I would think 
> that it would universally be preferable for emerge to replace old 
> versions with new.

http://www.gentoo.org/doc/en/handbook/handbook-x86.xmlpart=2&chap=1#doc_chap4

The handbook doesn't end with installation, that's only part one. You
should read the rest of it.


-- 
Neil Bothwick

No maintenance: Impossible to fix.

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 189 bytes --]

^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2007-11-23  9:37 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-11-21  7:38 [gentoo-user] ruby gems Thufir
2007-11-21  9:03 ` Neil Bothwick
2007-11-22  2:47   ` [gentoo-user] " Thufir
2007-11-22  3:20     ` Thufir
2007-11-22  9:07       ` Alexander Skwar
2007-11-22  9:11       ` Neil Bothwick
2007-11-22 14:47       ` Hans-Werner Hilse
2007-11-23  9:12         ` Thufir
2007-11-23  9:31           ` Neil Bothwick
2007-11-22  5:29 ` [gentoo-user] " Roy Wright

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox