Sigo con mi andadura en Ruby (y cuanto más lo investigo, más me
gusta :D), y me encuentro con un problemilla que no sé resolver :S,
que si bien, no es nada importante, pero no está de más comprender los
mensajes de error.
Hoy, me ha dado por buscar un GUIBuilder para Fox, y me he tropezado
con foxGUIb.
En la oficina, en mi máquina con Windows, instalar libGUIb no ha sido
ningún problema, y la ejecución de de foxGUIb fué satisfactoria.
Cuando he llegado a casa, he intentado probarlo en mi MacBook. libGUIb
se ha instalado de lujo, pero en cambio, al intentar ejecutar foxGUIb
me ha dado la siguiente salida.
galilea:foxGUIb glpunzi$ ruby foxGUIb.rb
no such file to load -- libGUIb16
Possible causes of this error are:
* libGUIb is not installed
* fxruby is not installed
* fxruby gem could not be loaded because you did not start ruby with -
rubygems option
* other unexpected error. please check the following backtrace to find
the cause of the error.
/Library/Ruby/Site/1.8/rubygems/custom_require.rb:27:in
`gem_original_require'
/Library/Ruby/Site/1.8/rubygems/custom_require.rb:27:in `require'
foxGUIb.rb:11
He intentado de nuevo instalar libGUIb a ver si me salté algún mensaje
de error, pero aparentemente todo iba bien.
galilea:libGUIb glpunzi$ sudo ruby install.rb
Password:
parsearg_config
install.rb: entering config phase...
---> lib
<--- lib
install.rb: config done.
parsearg_setup
install.rb: entering setup phase...
---> lib
<--- lib
install.rb: setup done.
parsearg_install
parsearg_install!!! ARGV:
install.rb: entering install phase...
---> lib
mkdir -p /
install libGUIb14.rb /
install libGUIb16.rb /
<--- lib
install.rb: install done.
Rápidamente, he ido a ejecutar fxri a ver si era problema de mi
instalación de Fox, pero fxri ha arrancado sin problema alguno. Fox
está ahí, esperando ser usado :D
galilea:foxGUIb glpunzi$ gem list fxruby
*** LOCAL GEMS ***
fxruby (1.6.16)
Un colega dice que a él le ha pasado lo mismo, pero poniendo require
"rubygems" al principio del script le ha funcionado, pero a mi no se
me soluciona.
Alguna idea?
Gracias de antemano.
_______________________________________________
Rubies mailing list
Rub...@listas.escomposlinux.org
https://listas.escomposlinux.org/mailman/listinfo/rubies