-
Notifications
You must be signed in to change notification settings - Fork 48
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Chef: "No version specified, and no candidate version available for" #579
Comments
¿Dónde estás tratando de instalarlo? |
He probado a hacerlo en mi máquina virtual y, por si es que hubiera algún problema con la conexión, después he probado con mi sistema operativo anfitrión. Hoy he visto con usted que está leyendo el "node.js" y que, indicándole que lo lea, tampoco pasa nada nuevo: |
pero no acabo de entender muy bien lo del node.js... por otro lado, hay un Di también en qué sistema operativo estás intentando instalar algo. Igual |
El log me genera
Ejecutando con
Perdón que antes la he liado con el nombre del fichero...
es que soy mono-hebra 😅 Estoy en Ubuntu 14.04 de 64 bits y ruby 2.0.0p481 (2014-05-08 revision 45883) |
Puede ser un problema con las versiones de Ruby: ¿Qué versión tienes en el cliente? ¿Y en el servidor? ¿Pueder usar rbenv o JJ |
Estuve pensando que podría ser la versión de Ruby... Estoy intentando lanzarlo contra mi propia máquina, ya que es el ejemplo que hay en los apuntes de la asignatura, por lo que no tengo cliente-servidor. Cuando fui a usar Chef con la 1.9 de Ruby (que es la que todo el mundo soporta), se me empezó a quejar de que "ohai" no soportaba versiones inferiores a la 2 de Ruby. Estoy por coger, instalar un Ubuntu 12.04 (o por ahí) y probar |
Prueba otra receta. ¿Siempre te da el mismo error? A ver, estoy mirando y creo que el problema es simplemente que no existe emacs para ese sistema operativo o el paquete se llama de esa forma. Voy a probar de todas formas en mi mismo sistema, a ver qué da. |
He probado en mi ordenador y, aunque ya está instalado, no da ningún error... Voy a probar en una box Debian o ubuntu a ver qué pasa. |
Sí. Siempre me da el mismo. Probé poniendo, por ejemplo:
y me da exactamente el mismo error. Me da tanto en mi máquina como en la virtual. |
Instálalo con apt-get a ver qué resultado te da la receta. Yo acabo de probarlo en Debian 7 sin problemas. |
Pues conseguido.
Gracias |
Buenas.
Estoy intentando ejecutar el ejemplo de Chef... y no lo consigo... El error que tengo es este:
Mi fichero solo.rb es:
El node.json:
Y el default.rb:
y los directorios así:
Si quito, dentro de la receta, el
package 'emacs'
, el resto funciona correctamente...Gracias.
The text was updated successfully, but these errors were encountered: