Instalando Rails en Debian

Hola, tengo un pequeño problema con mi slice, sigo el tutorial e instalo
la
gem 0.9.5 luego actualizo con

sudo gem update
sudo gem update --system

cuando voy a ver la version de la gema me sale el siguiente
error /usr/bin/gem:23: uninitialized constant Gem::GemRunner (NameError)
borro de nuevo la imagen de mi slice instalo gem 0.9.5 y trato de
arrancar
montgrel y me pide una gema diferente, ya no se que hacer, no es la
primera
vez que me pasa, no se si sea problema de la instalacion del debian
etch, de
permisos o de algun tipo de error en la conexion al descargar los
ficheros
iniciales del debian

Si alguien me puede decir que puede ser o cmo puedo correr montgrel,
tampoco
me ejecuta gem install y cuando logro instalar rails tampoco me deja ver
la
version del mismo y el comando rails app tampoco me instala el esqueleto
de
la aplicacion.

desde ya gracias

On Sun, Dec 30, 2007 at 01:51:28AM -0500, Mauricio D. wrote:

Hola, tengo un pequeño problema con mi slice, sigo el tutorial e instalo la
gem 0.9.5 luego actualizo con

¿Has probado con la última versión de rubygems? (la 1.0.1). Creo
recordar que con esta nueva no tuve problemas.

Saludos.

Hola Imobach es justamente con las versiones 1,0 que me esta fallando,
me
toco trabajar con la version 0.9.5 y en modo fastcgi ya que montgrel
parase
ser que trabaja con la 1 por lo menos la version que se instala con
aptitude
install mongrel

2007/12/31, Imobach González Sosa [email protected]:


Ror-es mailing list
[email protected]
http://lists.simplelogica.net/mailman/listinfo/ror-es

Mauricio Dulcce

+57 300 325 0335
Trasn 9c No. 130c-21
Bogotá, Colombia
http://mauricio-dulce.neurona.com

Privileged/Confidential Information may be contained in this message. If
you

are not the addressee indicated in this message or responsible for
delivery
of the message to such person), you may not copy or deliver this message
to
anyone. In such case, you should destroy this message and kindly notify
the
sender by reply email. Please advise immediately if you or your employer
do
not consent to Internet email for messages of this kind. Opinions,
conclusions and other information in this message that do not relate to
the
official business of my firm shall be understood as neither given nor
endorsed by it.

El dom, 30 de dic de 2007, a las 01:51:28 -0500, Mauricio D. dijo:

Hola, tengo un pequeño problema con mi slice, sigo el tutorial e instalo la
gem 0.9.5 luego actualizo con

Hola Mauricio cómo hicieste para instalar rubygems? por que viene como
paquete
de debian, así que te conviene instalar el paquete de debian

apt-get install rubygems

ya está la versión 1.0.1-4

Saludos

iniciales del debian

Si alguien me puede decir que puede ser o cmo puedo correr montgrel, tampoco
me ejecuta gem install y cuando logro instalar rails tampoco me deja ver la
version del mismo y el comando rails app tampoco me instala el esqueleto de
la aplicacion.

desde ya gracias


Ror-es mailing list
[email protected]
http://lists.simplelogica.net/mailman/listinfo/ror-es


Gastón Ramos

“I always thought Smalltalk would beat Java, I just didn’t know it would
be
called ‘Ruby’ when it did.”

– Kent Beck

GNU/Linux Counter user #450312

Hola Gaston, al hacerlo de esa manera me instala la versión 0.9, lo que
hice fue ir a esta pagina

http://rubyforge.org/frs/?group_id=126&release_id=17305

e instale la version 1x y con ninguna me funciono entonces opte por la
0.9.5,
descomprimi entre a la carpeta y por la terminal di el siguiente comando

sudo ruby setup.rb all

2/31, Gaston R. [email protected]:

cuando voy a ver la version de la gema me sale el siguiente

be
http://lists.simplelogica.net/mailman/listinfo/ror-es

Mauricio Dulcce

+57 300 325 0335
Trasn 9c No. 130c-21
Bogotá, Colombia
http://mauricio-dulce.neurona.com

Privileged/Confidential Information may be contained in this message. If
you

are not the addressee indicated in this message or responsible for
delivery
of the message to such person), you may not copy or deliver this message
to
anyone. In such case, you should destroy this message and kindly notify
the
sender by reply email. Please advise immediately if you or your employer
do
not consent to Internet email for messages of this kind. Opinions,
conclusions and other information in this message that do not relate to
the
official business of my firm shall be understood as neither given nor
endorsed by it.

El lun, 31 de dic de 2007, a las 01:11:36 -0500, Mauricio D. dijo:

Hola Gaston, al hacerlo de esa manera me instala la versión 0.9, lo que
hice fue ir a esta pagina

http://rubyforge.org/frs/?group_id=126&release_id=17305

mirá yo estoy usando Debian con los repos para la versión testing, y
cuando hago

apt-cache showpkg rubygems

me muestra esto:

Reverse Depends:
libgems-ruby1.8,rubygems
libgems-ruby1.8,rubygems
libgems-ruby1.8,rubygems
Dependencies:
1.0.1-4 - libgems-ruby1.8 (5 1.0.1-4) ruby1.8 (0 (null))
0.9.4-4 - ruby1.8 (0 (null)) libgems-ruby1.8 (5 0.9.4-4)
0.9.0-5 - ruby (2 1.8) libgems-ruby1.8 (0 (null))
Provides:
1.0.1-4 -
0.9.4-4 -
0.9.0-5 -
Reverse Provides:

acordate de primero hacer un apt-get update

sino el plan B es:

1- apt-get install rubygems (esto te instala la versión 0.9.4)

2- gem update --system (esto te instala la última versión)

Saludos

gem 0.9.5 luego actualizo con

montgrel y me pide una gema diferente, ya no se que hacer, no es la
la
http://lists.simplelogica.net/mailman/listinfo/ror-es

are not the addressee indicated in this message or responsible for delivery
of the message to such person), you may not copy or deliver this message to
anyone. In such case, you should destroy this message and kindly notify the
sender by reply email. Please advise immediately if you or your employer do
not consent to Internet email for messages of this kind. Opinions,
conclusions and other information in this message that do not relate to the
official business of my firm shall be understood as neither given nor
endorsed by it.


Ror-es mailing list
[email protected]
http://lists.simplelogica.net/mailman/listinfo/ror-es


Gastón Ramos

“I always thought Smalltalk would beat Java, I just didn’t know it would
be
called ‘Ruby’ when it did.”

– Kent Beck

GNU/Linux Counter user #450312

Hola Gaston gracias por responder, es justamente cuando pongo
sudo gem update --system es que me saca ese error, no se si sea un
problema
de rubygem o de la instalación de debian por que me va perfecto con
la versión 0.9.5 pero no me deja trabajar con montgrel, en cambio en mi
mac
si me corre perfecto y básicamente son los mismos pasos, para no darle
mas
trasnochadas a esto, lo voy a dejar con esta versión, aunque no se que
desventajas tenga usar una gema tan antigua en modo de producción.

De nuevo gracias

El día 31/12/07, Gaston R. [email protected] escribió:

apt-cache showpkg rubygems
0.9.0-5 - ruby (2 1.8) libgems-ruby1.8 (0 (null))
1- apt-get install rubygems (esto te instala la versión 0.9.4)

de debian, así que te conviene instalar el paquete de debian

sudo gem update
etch, de
esqueleto

you

conclusions and other information in this message that do not relate to

http://gastonramos.wordpress.com/


Ror-es mailing list
[email protected]
http://lists.simplelogica.net/mailman/listinfo/ror-es

Mauricio Dulcce

+57 300 325 0335
Trasn 9c No. 130c-21
Bogotá, Colombia
http://mauricio-dulce.neurona.com

Privileged/Confidential Information may be contained in this message. If
you

are not the addressee indicated in this message or responsible for
delivery
of the message to such person), you may not copy or deliver this message
to
anyone. In such case, you should destroy this message and kindly notify
the
sender by reply email. Please advise immediately if you or your employer
do
not consent to Internet email for messages of this kind. Opinions,
conclusions and other information in this message that do not relate to
the
official business of my firm shall be understood as neither given nor
endorsed by it.

Hola,
Yo acabo de pelearme con el mismo problema en una instalación en Ubuntu
7.10
Instalé la versión 0.9.4 y luego actualize con gem update --system.

A partir de ahi, tenía el error

 /usr/bin/gem:23: uninitialized constant Gem::GemRunner (NameError)

Solución:

La hallé en este forum
http://www.railsforum.com/viewtopic.php?pid=49144

Editar el fichero /usr/bin/gem y añadir la linea
require ‘rubygems/gem_runner’
detras de
require ‘rubygems’

Un saludo
Juanma C.

Gracias, ya me trabaja de la manera que lo debe hacer

gracias

El día 2/01/08, Juanma C. [email protected]
escribió:

Un saludo
[email protected]
http://lists.simplelogica.net/mailman/listinfo/ror-es

Mauricio Dulcce

+57 300 325 0335
Trasn 9c No. 130c-21
Bogotá, Colombia
http://mauricio-dulce.neurona.com

Privileged/Confidential Information may be contained in this message. If
you

are not the addressee indicated in this message or responsible for
delivery
of the message to such person), you may not copy or deliver this message
to
anyone. In such case, you should destroy this message and kindly notify
the
sender by reply email. Please advise immediately if you or your employer
do
not consent to Internet email for messages of this kind. Opinions,
conclusions and other information in this message that do not relate to
the
official business of my firm shall be understood as neither given nor
endorsed by it.