|
View:
New views
8 Messages
—
Rating Filter:
Alert me
|
|
|
Problem with rubygemsHi there
I'm trying to code an app using rails and when I want to generate a model, rails gives me an error message like this: Rails requires RubyGems >= 1.3.1 (you have 1.2.0). Please `gem update --system` and try again. I can't do this because 'gem update --system' is disabled in debian and doing this using apt-get is required. What can I do to use the required rubygems right version? My system configuration is (if it's not enough please ask) : Debian Sid Ruby 1.8 rails 2.2.2 Thanks in advance Miquel -- Miquel (a.k.a. Ktalà a.k.a. Ton) Linux User #286784 GPG Key : 4D91EF7F Debian GNU/Linux (Linux wolverine 2.6.23.1) Welcome to the jungle, we got fun and games Guns n' Roses -- To UNSUBSCRIBE, email to debian-ruby-REQUEST@... with a subject of "unsubscribe". Trouble? Contact listmaster@... |
|
|
Re: Problem with rubygemsHi.
On Mon, Apr 13, 2009 at 01:02:45AM +0200, Miquel Oliete wrote: > Hi there > > I'm trying to code an app using rails and when I want to generate a > model, rails gives me an error message like this: > > Rails requires RubyGems >= 1.3.1 (you have 1.2.0). Please `gem update > --system` and try again. Sid has rubygems 1.3.1-1 ... so install updates. "apt-get update && apt-get dist-upgrade". > > I can't do this because 'gem update --system' is disabled in debian and > doing this using apt-get is required. > > What can I do to use the required rubygems right version? My system > configuration is (if it's not enough please ask) : > > Debian Sid > Ruby 1.8 > rails 2.2.2 > > Thanks in advance > > > Miquel > > -- > > Miquel (a.k.a. Ktalà a.k.a. Ton) > Linux User #286784 > GPG Key : 4D91EF7F > Debian GNU/Linux (Linux wolverine 2.6.23.1) > > Welcome to the jungle, we got fun and games > Guns n' Roses > > > -- > To UNSUBSCRIBE, email to debian-ruby-REQUEST@... > with a subject of "unsubscribe". Trouble? Contact listmaster@... > _________________________ Ryan Niebur ryanryan52@... |
|
|
Re: Problem with rubygemsOn Sun, 12 Apr 2009 16:07:22 -0700
Ryan Niebur wrote: > Hi. > > On Mon, Apr 13, 2009 at 01:02:45AM +0200, Miquel Oliete wrote: > > Hi there > > > > I'm trying to code an app using rails and when I want to generate a > > model, rails gives me an error message like this: > > > > Rails requires RubyGems >= 1.3.1 (you have 1.2.0). Please `gem update > > --system` and try again. > > Sid has rubygems 1.3.1-1 ... so install updates. "apt-get update && apt-get dist-upgrade". installs rubygems (1.2.0-3). Does it depend on ruby version (I use ruby 1.8)? Thanks Miquel -- Miquel (a.k.a. Ktalà a.k.a. Ton) Linux User #286784 GPG Key : 4D91EF7F Debian GNU/Linux (Linux wolverine 2.6.23.1) Welcome to the jungle, we got fun and games Guns n' Roses -- To UNSUBSCRIBE, email to debian-ruby-REQUEST@... with a subject of "unsubscribe". Trouble? Contact listmaster@... |
|
|
Re: Problem with rubygemsOn Mon, 13 Apr 2009 13:22:07 +0200, Miquel Oliete <ktalanet@...>
wrote: > On Sun, 12 Apr 2009 16:07:22 -0700 > Ryan Niebur wrote: > >> Hi. >> >> On Mon, Apr 13, 2009 at 01:02:45AM +0200, Miquel Oliete wrote: >> > Hi there >> > >> > I'm trying to code an app using rails and when I want to generate a >> > model, rails gives me an error message like this: >> > >> > Rails requires RubyGems >= 1.3.1 (you have 1.2.0). Please `gem update >> > --system` and try again. >> >> Sid has rubygems 1.3.1-1 ... so install updates. "apt-get update && >> apt-get dist-upgrade". > Thanks for this info, but I am trying to --reinstall rubygems and it > installs rubygems (1.2.0-3). Does it depend on ruby version (I use ruby > 1.8)? Why "--reinstall"? Just "apt-get update && apt-get install rubygems" should work. -- Esteban Manchado Velázquez <zoso@...> -- To UNSUBSCRIBE, email to debian-ruby-REQUEST@... with a subject of "unsubscribe". Trouble? Contact listmaster@... |
|
|
Re: Problem with rubygemsOn Sun, 12 Apr 2009 16:07:22 -0700
Ryan Niebur wrote: > Sid has rubygems 1.3.1-1 ... so install updates. "apt-get update && apt-get dist-upgrade". I think that this is not true according to debian website http://packages.debian.org/search?keywords=rubygems&searchon=names&suite=unstable§ion=all Am I missing something Best regards -- Miquel (a.k.a. Ktalà a.k.a. Ton) Linux User #286784 GPG Key : 4D91EF7F Debian GNU/Linux (Linux wolverine 2.6.23.1) Welcome to the jungle, we got fun and games Guns n' Roses -- To UNSUBSCRIBE, email to debian-ruby-REQUEST@... with a subject of "unsubscribe". Trouble? Contact listmaster@... |
|
|
Re: Problem with rubygemsOn 14/04/09 at 23:46 +0200, Miquel Oliete wrote:
> On Sun, 12 Apr 2009 16:07:22 -0700 > Ryan Niebur wrote: > > Sid has rubygems 1.3.1-1 ... so install updates. "apt-get update && apt-get dist-upgrade". > > I think that this is not true according to debian website > http://packages.debian.org/search?keywords=rubygems&searchon=names&suite=unstable§ion=all > > Am I missing something You might be running lenny, not sid. Lenny doesn't have rubygems 1.3.1. -- | Lucas Nussbaum | lucas@... http://www.lucas-nussbaum.net/ | | jabber: lucas@... GPG: 1024D/023B3F4F | -- To UNSUBSCRIBE, email to debian-ruby-REQUEST@... with a subject of "unsubscribe". Trouble? Contact listmaster@... |
|
|
Re: Problem with rubygemsOn Wed, 15 Apr 2009 08:09:59 +0200
Lucas Nussbaum wrote: > On 14/04/09 at 23:46 +0200, Miquel Oliete wrote: > > On Sun, 12 Apr 2009 16:07:22 -0700 > > Ryan Niebur wrote: > > > Sid has rubygems 1.3.1-1 ... so install updates. "apt-get update && apt-get dist-upgrade". > > > > I think that this is not true according to debian website > > http://packages.debian.org/search?keywords=rubygems&searchon=names&suite=unstable§ion=all > > > > Am I missing something > > You might be running lenny, not sid. Lenny doesn't have rubygems 1.3.1. deb http://ftp.us.debian.org/debian unstable main contrib non-free and suite=unstable in the url pasted before. Cheers -- Miquel (a.k.a. Ktalà a.k.a. Ton) Linux User #286784 GPG Key : 4D91EF7F Debian GNU/Linux (Linux wolverine 2.6.23.1) Welcome to the jungle, we got fun and games Guns n' Roses -- To UNSUBSCRIBE, email to debian-ruby-REQUEST@... with a subject of "unsubscribe". Trouble? Contact listmaster@... |
|
|
Re: Problem with rubygemsOn Wed, 15 Apr 2009 23:27:25 +0200, Miquel Oliete <ktalanet@...>
wrote: > On Wed, 15 Apr 2009 08:09:59 +0200 > Lucas Nussbaum wrote: > >> On 14/04/09 at 23:46 +0200, Miquel Oliete wrote: >> > On Sun, 12 Apr 2009 16:07:22 -0700 >> > Ryan Niebur wrote: >> > > Sid has rubygems 1.3.1-1 ... so install updates. "apt-get update && >> apt-get dist-upgrade". >> > >> > I think that this is not true according to debian website >> > >> http://packages.debian.org/search?keywords=rubygems&searchon=names&suite=unstable§ion=all >> > >> > Am I missing something >> >> You might be running lenny, not sid. Lenny doesn't have rubygems 1.3.1. > Nops. Sources.list line > > deb http://ftp.us.debian.org/debian unstable main contrib non-free > [...] Sid has rubygems 1.3.1-1? Not according to this page: http://packages.debian.org/search?keywords=rubygems It seems to be in *experimental*. I can't get it either BTW. Just after updating: $ LC_ALL=C apt-cache policy rubygems rubygems: Installed: 1.2.0-3 Candidate: 1.2.0-3 Version table: *** 1.2.0-3 0 500 http://ftp.no.debian.org sid/main Packages 100 /var/lib/dpkg/status -- Esteban Manchado Velázquez <zoso@...> -- To UNSUBSCRIBE, email to debian-ruby-REQUEST@... with a subject of "unsubscribe". Trouble? Contact listmaster@... |
| Free embeddable forum powered by Nabble | Forum Help |