Roger's woze

October 29, 2009

ruby woes

Filed under: Uncategorized — rogerdpack @ 11:05 pm
/usr/lib/ruby/1.8/set.rb:451:in `remove_method’: method `old_init’ not defined in SortedSet (NameError)
from /usr/lib/ruby/1.8/set.rb:451:in `setup’
from /home/rdp/.gem/ruby/1.8/gems/rogerdpack-remembered_evals-0.0.4/lib/remembered_evals.rb:51:in `module_eval’
from /home/rdp/.gem/ruby/1.8/gems/rogerdpack-remembered_evals-0.0.4/lib/remembered_evals.rb:51:in `original_class_eval’
from /home/rdp/.gem/ruby/1.8/gems/rogerdpack-remembered_evals-0.0.4/lib/remembered_evals.rb:51:in `module_eval’
from /usr/lib/ruby/1.8/set.rb:448:in `setup’
from /usr/lib/ruby/1.8/set.rb:522:in `initialize’

/usr/lib/ruby/1.8/set.rb:451:in `remove_method’: method `old_init’ not defined in SortedSet (NameError)

from /usr/lib/ruby/1.8/set.rb:451:in `setup’

from /home/rdp/.gem/ruby/1.8/gems/rogerdpack-remembered_evals-0.0.4/lib/remembered_evals.rb:51:in `module_eval’

from /home/rdp/.gem/ruby/1.8/gems/rogerdpack-remembered_evals-0.0.4/lib/remembered_evals.rb:51:in `original_class_eval’

from /home/rdp/.gem/ruby/1.8/gems/rogerdpack-remembered_evals-0.0.4/lib/remembered_evals.rb:51:in `module_eval’

from /usr/lib/ruby/1.8/set.rb:448:in `setup’

from /usr/lib/ruby/1.8/set.rb:522:in `initialize’

meant “you tweaked out the eval command!”
same with
/usr/lib/ruby/1.8/set.rb:451:in `remove_method’: method `old_init’ not defined in SortedSet (NameError)
from /usr/lib/ruby/1.8/set.rb:451:in `setup’
from /home/rdp/.gem/ruby/1.8/gems/rogerdpack-remembered_evals-0.0.4/lib/remembered_evals.rb:51:in `module_eval’
from /home/rdp/.gem/ruby/1.8/gems/rogerdpack-remembered_evals-0.0.4/lib/remembered_evals.rb:51:in `original_class_eval’
from /home/rdp/.gem/ruby/1.8/gems/rogerdpack-remembered_evals-0.0.4/lib/remembered_evals.rb:51:in `module_eval’
from /usr/lib/ruby/1.8/set.rb:448:in `setup’
from /usr/lib/ruby/1.8/set.rb:522:in `initialize’
and
/usr/lib/ruby/1.8/set.rb:451:in `remove_method’: method `old_init’ not defined in SortedSet (NameError)
from /usr/lib/ruby/1.8/set.rb:451:in `setup’
from /home/rdp/.gem/ruby/1.8/gems/rogerdpack-remembered_evals-0.0.4/lib/remembered_evals.rb:51:in `module_eval’
from /home/rdp/.gem/ruby/1.8/gems/rogerdpack-remembered_evals-0.0.4/lib/remembered_evals.rb:51:in `original_class_eval’
from /home/rdp/.gem/ruby/1.8/gems/rogerdpack-remembered_evals-0.0.4/lib/remembered_evals.rb:51:in `module_eval’
from /usr/lib/ruby/1.8/set.rb:448:in `setup’
from /usr/lib/ruby/1.8/set.rb:522:in `initialize’
somehow

October 28, 2009

bash arguments wildcard

Filed under: Uncategorized — rogerdpack @ 7:05 pm

appears that the equivalent of dos’s %*  is $@

#!/bin/bash

some_other_script $@ # pass it all your parameters

http://fixunix.com/questions/15884-printing-all-arguments-passed-bash-script.html

jruby woe

Filed under: Uncategorized — rogerdpack @ 5:03 pm
C:\dev\digitalarchive_trunk> install_ruby_core_ri
JRuby limited openssl loaded. gem install jruby-openssl for full support.
http://jruby.kenai.com/pages/JRuby_Builtin_OpenSSL
installing your full source (for rdoc/ri purposes) to C:/installs/jruby-1.4.0RC1/lib/ruby/gems/1.8/gems/ruby_core_ri-0.2.1/lib/downloaded_full_source
Requesting http://ftp.ruby-lang.org/pub/ruby/1.8/ruby-1.8.7-p174.tar.gz
Downloading http://ftp.ruby-lang.org/pub/ruby/1.8/ruby-1.8.7-p174.tar.gz
C:/installs/jruby-1.4.0RC1/lib/ruby/1.8/fileutils.rb:694:in `remove_entry_secure’: parent directory is world writable, FileUtils#remove_entry_secure does not work; abort: “C:/DOCUME~1/packrd/LOCALS~1/Temp/d20091028-4448-1t9a505″ (parent directory mode 40777) (ArgumentError)
from C:/installs/jruby-1.4.0RC1/lib/ruby/1.8/tmpdir.rb:131:in `mktmpdir’
from C:/installs/jruby-1.4.0RC1/lib/ruby/gems/1.8/gems/ruby_core_ri-0.2.1/lib/ruby_core_source.rb:91:in `download_headers’
from C:/installs/jruby-1.4.0RC1/lib/ruby/gems/1.8/gems/ruby_core_ri-0.2.1/lib/ruby_core_source.rb:81:in `open’
from C:/installs/jruby-1.4.0RC1/lib/ruby/gems/1.8/gems/ruby_core_ri-0.2.1/lib/ruby_core_source.rb:81:in `download_headers’
from C:/installs/jruby-1.4.0RC1/lib/ruby/gems/1.8/gems/ruby_core_ri-0.2.1/bin/install_ruby_core_ri:12
from C:/installs/jruby-1.4.0RC1/lib/ruby/gems/1.8/gems/ruby_core_ri-0.2.1/bin/install_ruby_core_ri:19:in `load’
from C:\installs\jruby-1.4.0RC1\bin\install_ruby_core_ri:19

C:\dev\digitalarchive_trunk> install_ruby_core_ri

JRuby limited openssl loaded. gem install jruby-openssl for full support.

http://jruby.kenai.com/pages/JRuby_Builtin_OpenSSL

installing your full source (for rdoc/ri purposes) to C:/installs/jruby-1.4.0RC1/lib/ruby/gems/1.8/gems/ruby_core_ri-0.2.1/lib/downloaded_full_source

Requesting http://ftp.ruby-lang.org/pub/ruby/1.8/ruby-1.8.7-p174.tar.gz

Downloading http://ftp.ruby-lang.org/pub/ruby/1.8/ruby-1.8.7-p174.tar.gz

C:/installs/jruby-1.4.0RC1/lib/ruby/1.8/fileutils.rb:694:in `remove_entry_secure’: parent directory is world writable, FileUtils#remove_entry_secure does not work; abort: “C:/DOCUME~1/packrd/LOCALS~1/Temp/d20091028-4448-1t9a505″ (parent directory mode 40777) (ArgumentError)

from C:/installs/jruby-1.4.0RC1/lib/ruby/1.8/tmpdir.rb:131:in `mktmpdir’

from C:/installs/jruby-1.4.0RC1/lib/ruby/gems/1.8/gems/ruby_core_ri-0.2.1/lib/ruby_core_source.rb:91:in `download_headers’

from C:/installs/jruby-1.4.0RC1/lib/ruby/gems/1.8/gems/ruby_core_ri-0.2.1/lib/ruby_core_source.rb:81:in `open’

from C:/installs/jruby-1.4.0RC1/lib/ruby/gems/1.8/gems/ruby_core_ri-0.2.1/lib/ruby_core_source.rb:81:in `download_headers’

from C:/installs/jruby-1.4.0RC1/lib/ruby/gems/1.8/gems/ruby_core_ri-0.2.1/bin/install_ruby_core_ri:12

from C:/installs/jruby-1.4.0RC1/lib/ruby/gems/1.8/gems/ruby_core_ri-0.2.1/bin/install_ruby_core_ri:19:in `load’

from C:\installs\jruby-1.4.0RC1\bin\install_ruby_core_ri:19

meant “jruby is broke on windows–complain!”

ruby_core_ri woe

Filed under: Uncategorized — rogerdpack @ 3:57 pm
C:\dev\digitalarchive_trunk>install_ruby_core_ri
installing your full source (for rdoc/ri purposes) to c:/ruby18/lib/ruby/gems/1.8/gems/ruby_core_ri-0.2.0/lib/downloaded_full_source
Requesting http://ftp.ruby-lang.org/pub/ruby/1.8/ruby-1.8.6-p368.tar.gz
Downloading http://ftp.ruby-lang.org/pub/ruby/1.8/ruby-1.8.6-p368.tar.gz
downloading–extracting out the ri via gem rdoc –no-rdoc –ri ruby_core_ri
Hanna requires the RDoc 2.3.0 gem
ERROR:  While executing gem … (Gem::DocumentError)
ERROR: RDoc version ~> 2.3.0 not installed

C:\dev\digitalarchive_trunk>install_ruby_core_ri

installing your full source (for rdoc/ri purposes) to c:/ruby18/lib/ruby/gems/1.8/gems/ruby_core_ri-0.2.0/lib/downloaded_full_source

Requesting http://ftp.ruby-lang.org/pub/ruby/1.8/ruby-1.8.6-p368.tar.gz

Downloading http://ftp.ruby-lang.org/pub/ruby/1.8/ruby-1.8.6-p368.tar.gz

downloading–extracting out the ri via gem rdoc –no-rdoc –ri ruby_core_ri

Hanna requires the RDoc 2.3.0 gem

ERROR:  While executing gem … (Gem::DocumentError)

ERROR: RDoc version ~> 2.3.0 not installed

meant “hanna is installed and is trying to force your rdoc to version 2.3.0! — you don’t want 2.3.0 though because it ri’s trunk poorly!”

October 26, 2009

ruby test woe

Filed under: Uncategorized — rogerdpack @ 6:30 pm

make test

sample/test.rb:system ……..C:/dev/ruby/downloads/ruby_trunk/sample/test.rb:1945:in `read’: Permission denied – C:/dev/ruby/downloads/ruby_trunk/ (Errno::EACCES)
from C:/dev/ruby/downloads/ruby_trunk/sample/test.rb:1945:in `block in <main>’
from C:/dev/ruby/downloads/ruby_trunk/sample/test.rb:1944:in `each’
from C:/dev/ruby/downloads/ruby_trunk/sample/test.rb:1944:in `<main>’

sample/test.rb:system ……..C:/dev/ruby/downloads/ruby_trunk/sample/test.rb:1945:in `read’: Permission denied – C:/dev/ruby/downloads/ruby_trunk/ (Errno::EACCES)

from C:/dev/ruby/downloads/ruby_trunk/sample/test.rb:1945:in `block in <main>’

from C:/dev/ruby/downloads/ruby_trunk/sample/test.rb:1944:in `each’

from C:/dev/ruby/downloads/ruby_trunk/sample/test.rb:1944:in `<main>’

meant “turn off google desktop” (I think)

October 23, 2009

tcl build woes

Filed under: Uncategorized — rogerdpack @ 10:06 pm
make[1]: Leaving directory `/c/dev/ruby/downloads/oneclick/sandbox/ruby19_build/ext/syck’
compiling syslog
compiling tk
make[1]: Entering directory `/c/dev/ruby/downloads/oneclick/sandbox/ruby19_build/ext/tk’
gcc -I. -I../../.ext/include/i386-mingw32 -I../../../ruby_1_9/include -I../../../ruby_1_9/ext/tk -I/Tcl/include -DRUBY_EXTCONF_H=\”extconf.h\”    -DWITH_TCL_ENABLE_THREAD=1 -O2 -g -Wall -Wno-parentheses   -o stubs.o -c ../../../ruby_1_9/ext/tk/stubs.c
In file included from ../../../ruby_1_9/ext/tk/stubs.c:8:
../../../ruby_1_9/ext/tk/stubs.h:1:17: tcl.h: No such file or directory
In file included from ../../../ruby_1_9/ext/tk/stubs.c:8:
../../../ruby_1_9/ext/tk/stubs.h:8: error: syntax error before ‘*’ token
../../../ruby_1_9/ext/tk/stubs.h:8: warning: type defaults to `int’ in declaration of `ruby_tcl_create_ip_and_stubs_init’
../../../ruby_1_9/ext/tk/stubs.h:8: warning: data definition has no type or storage class
../../../ruby_1_9/ext/tk/stubs.h:10: error: syntax error before ‘*’ token
../../../ruby_1_9/ext/tk/stubs.h:11: error: syntax error before ‘*’ token
../../../ruby_1_9/ext/tk/stubs.c:10:16: tk.h: No such file or directory
../../../ruby_1_9/ext/tk/stubs.c:18: error: syntax error before “Tcl_Interp”
../../../ruby_1_9/ext/tk/stubs.c:18: warning: type defaults to `int’ in declaration of `ip’
../../../ruby_1_9/ext/tk/stubs.c:18: warning: data definition has no type or storage class
../../../ruby_1_9/ext/tk/stubs.c:19: error: syntax error before ‘{‘ token
../../../ruby_1_9/ext/tk/stubs.c:40: warning: type defaults to `int’ in declaration of `Tcl_ResetResult’
../../../ruby_1_9/ext/tk/stubs.c:40: warning: parameter names (without types) in function declaration
../../../ruby_1_9/ext/tk/stubs.c:40: warning: data definition has no type or storage class
../../../ruby_1_9/ext/tk/stubs.c:42: warning: type defaults to `int’ in declaration of `nativethread_checked’
../../../ruby_1_9/ext/tk/stubs.c:42: error: redefinition of ‘nativethread_checked’
../../../ruby_1_9/ext/tk/stubs.c:14: error: previous definition of ‘nativethread_checked’ was here
../../../ruby_1_9/ext/tk/stubs.c:42: warning: data definition has no type or storage class
../../../ruby_1_9/ext/tk/stubs.c:43: error: syntax error before ‘}’ token
../../../ruby_1_9/ext/tk/stubs.c: In function `ruby_open_tcl_dll’:
../../../ruby_1_9/ext/tk/stubs.c:405: warning: implicit declaration of function `Tcl_FindExecutable’
../../../ruby_1_9/ext/tk/stubs.c: At top level:
../../../ruby_1_9/ext/tk/stubs.c:448: error: syntax error before ‘*’ token
../../../ruby_1_9/ext/tk/stubs.c:455: warning: return type defaults to `int’
../../../ruby_1_9/ext/tk/stubs.c: In function `ruby_tcl_create_ip_and_stubs_init’:
../../../ruby_1_9/ext/tk/stubs.c:456: error: `Tcl_Interp’ undeclared (first use in this function)
../../../ruby_1_9/ext/tk/stubs.c:456: error: (Each undeclared identifier is reported only once
../../../ruby_1_9/ext/tk/stubs.c:456: error: for each function it appears in.)
../../../ruby_1_9/ext/tk/stubs.c:456: error: `tcl_ip’ undeclared (first use in this function)
../../../ruby_1_9/ext/tk/stubs.c:464: warning: implicit declaration of function `Tcl_CreateInterp’
../../../ruby_1_9/ext/tk/stubs.c:467: error: syntax error before ‘)’ token
../../../ruby_1_9/ext/tk/stubs.c:470: warning: implicit declaration of function `_nativethread_consistency_check’
../../../ruby_1_9/ext/tk/stubs.c: At top level:
../../../ruby_1_9/ext/tk/stubs.c:483: error: syntax error before ‘*’ token
../../../ruby_1_9/ext/tk/stubs.c: In function `ruby_tk_stubs_init’:
../../../ruby_1_9/ext/tk/stubs.c:489: warning: implicit declaration of function `Tk_Init’
../../../ruby_1_9/ext/tk/stubs.c:489: error: `tcl_ip’ undeclared (first use in this function)
../../../ruby_1_9/ext/tk/stubs.c:489: error: `TCL_ERROR’ undeclared (first use in this function)
../../../ruby_1_9/ext/tk/stubs.c: At top level:
../../../ruby_1_9/ext/tk/stubs.c:501: error: syntax error before ‘*’ token
../../../ruby_1_9/ext/tk/stubs.c:14: warning: ‘nativethread_checked’ defined but not used
make[1]: *** [stubs.o] Error 1
make[1]: Leaving directory `/c/dev/ruby/downloads/oneclick/sandbox/ruby19_build/ext/tk’
make: *** [mkmain.sh] Error 1
rake aborted!
Command failed with status (2): ["C:/dev/ruby/downloads/oneclick/sandbox/ms...]

make[1]: Leaving directory `/c/dev/ruby/downloads/oneclick/sandbox/ruby19_build/ext/syck’

compiling syslog

compiling tk

make[1]: Entering directory `/c/dev/ruby/downloads/oneclick/sandbox/ruby19_build/ext/tk’

gcc -I. -I../../.ext/include/i386-mingw32 -I../../../ruby_1_9/include -I../../../ruby_1_9/ext/tk -I/Tcl/include -DRUBY_EXTCONF_H=\”extconf.h\”    -DWITH_TCL_ENABLE_THREAD=1 -O2 -g -Wall -Wno-parentheses   -o stubs.o -c ../../../ruby_1_9/ext/tk/stubs.c

In file included from ../../../ruby_1_9/ext/tk/stubs.c:8:

../../../ruby_1_9/ext/tk/stubs.h:1:17: tcl.h: No such file or directory

In file included from ../../../ruby_1_9/ext/tk/stubs.c:8:

../../../ruby_1_9/ext/tk/stubs.h:8: error: syntax error before ‘*’ token

../../../ruby_1_9/ext/tk/stubs.h:8: warning: type defaults to `int’ in declaration of `ruby_tcl_create_ip_and_stubs_init’

../../../ruby_1_9/ext/tk/stubs.h:8: warning: data definition has no type or storage class

../../../ruby_1_9/ext/tk/stubs.h:10: error: syntax error before ‘*’ token

../../../ruby_1_9/ext/tk/stubs.h:11: error: syntax error before ‘*’ token

../../../ruby_1_9/ext/tk/stubs.c:10:16: tk.h: No such file or directory

../../../ruby_1_9/ext/tk/stubs.c:18: error: syntax error before “Tcl_Interp”

../../../ruby_1_9/ext/tk/stubs.c:18: warning: type defaults to `int’ in declaration of `ip’

../../../ruby_1_9/ext/tk/stubs.c:18: warning: data definition has no type or storage class

../../../ruby_1_9/ext/tk/stubs.c:19: error: syntax error before ‘{‘ token

../../../ruby_1_9/ext/tk/stubs.c:40: warning: type defaults to `int’ in declaration of `Tcl_ResetResult’

../../../ruby_1_9/ext/tk/stubs.c:40: warning: parameter names (without types) in function declaration

../../../ruby_1_9/ext/tk/stubs.c:40: warning: data definition has no type or storage class

../../../ruby_1_9/ext/tk/stubs.c:42: warning: type defaults to `int’ in declaration of `nativethread_checked’

../../../ruby_1_9/ext/tk/stubs.c:42: error: redefinition of ‘nativethread_checked’

../../../ruby_1_9/ext/tk/stubs.c:14: error: previous definition of ‘nativethread_checked’ was here

../../../ruby_1_9/ext/tk/stubs.c:42: warning: data definition has no type or storage class

../../../ruby_1_9/ext/tk/stubs.c:43: error: syntax error before ‘}’ token

../../../ruby_1_9/ext/tk/stubs.c: In function `ruby_open_tcl_dll’:

../../../ruby_1_9/ext/tk/stubs.c:405: warning: implicit declaration of function `Tcl_FindExecutable’

../../../ruby_1_9/ext/tk/stubs.c: At top level:

../../../ruby_1_9/ext/tk/stubs.c:448: error: syntax error before ‘*’ token

../../../ruby_1_9/ext/tk/stubs.c:455: warning: return type defaults to `int’

../../../ruby_1_9/ext/tk/stubs.c: In function `ruby_tcl_create_ip_and_stubs_init’:

../../../ruby_1_9/ext/tk/stubs.c:456: error: `Tcl_Interp’ undeclared (first use in this function)

../../../ruby_1_9/ext/tk/stubs.c:456: error: (Each undeclared identifier is reported only once

../../../ruby_1_9/ext/tk/stubs.c:456: error: for each function it appears in.)

../../../ruby_1_9/ext/tk/stubs.c:456: error: `tcl_ip’ undeclared (first use in this function)

../../../ruby_1_9/ext/tk/stubs.c:464: warning: implicit declaration of function `Tcl_CreateInterp’

../../../ruby_1_9/ext/tk/stubs.c:467: error: syntax error before ‘)’ token

../../../ruby_1_9/ext/tk/stubs.c:470: warning: implicit declaration of function `_nativethread_consistency_check’

../../../ruby_1_9/ext/tk/stubs.c: At top level:

../../../ruby_1_9/ext/tk/stubs.c:483: error: syntax error before ‘*’ token

../../../ruby_1_9/ext/tk/stubs.c: In function `ruby_tk_stubs_init’:

../../../ruby_1_9/ext/tk/stubs.c:489: warning: implicit declaration of function `Tk_Init’

../../../ruby_1_9/ext/tk/stubs.c:489: error: `tcl_ip’ undeclared (first use in this function)

../../../ruby_1_9/ext/tk/stubs.c:489: error: `TCL_ERROR’ undeclared (first use in this function)

../../../ruby_1_9/ext/tk/stubs.c: At top level:

../../../ruby_1_9/ext/tk/stubs.c:501: error: syntax error before ‘*’ token

../../../ruby_1_9/ext/tk/stubs.c:14: warning: ‘nativethread_checked’ defined but not used

make[1]: *** [stubs.o] Error 1

make[1]: Leaving directory `/c/dev/ruby/downloads/oneclick/sandbox/ruby19_build/ext/tk’

make: *** [mkmain.sh] Error 1

rake aborted!

Command failed with status (2): ["C:/dev/ruby/downloads/oneclick/sandbox/ms...]

meant “you installed tcl 8.4 in C:\tcl but somehow it is passing in the path as /Tcl instead of /c/Tcl as it should [1.9.1 branch only?]”

fix: edit the Makefile within the ext/tk dir, change the paths to be the right ones

rdoc woe

Filed under: Uncategorized — rogerdpack @ 8:49 pm

undefined method added_container

meant “squash that bug”

http://github.com/rdp/rdoc/commit/1ff68c953fa7f6eae067a38d06c5d6bf06602e18

October 22, 2009

phusion passenger mod rails woe

Filed under: Uncategorized — rogerdpack @ 5:14 pm
/home/rdp/installs/mbari_gembox_187/lib/ruby/gems/1.8/gems/hpricot-hpricot-0.7.229/lib/fast_xs.so: [BUG] Segmentation fault
ruby 1.8.6 (2009-3-4) [i686-linux]
*** Exception EOFError in spawn manager (Unexpected end-of-file detected.) (process 18465):
from /home/rdp/.gem/ruby/1.8/gems/passenger-2.2.5/lib/phusion_passenger/utils.rb:305:in `unmarshal_and_raise_errors’
from /home/rdp/.gem/ruby/1.8/gems/passenger-2.2.5/lib/phusion_passenger/rack/application_spawner.rb:75:in `spawn_application’
from /home/rdp/.gem/ruby/1.8/gems/passenger-2.2.5/lib/phusion_passenger/rack/application_spawner.rb:45:in `spawn_application’
from /home/rdp/.gem/ruby/1.8/gems/passenger-2.2.5/lib/phusion_passenger/spawn_manager.rb:159:in `spawn_application’
from /home/rdp/.gem/ruby/1.8/gems/passenger-2.2.5/lib/phusion_passenger/spawn_manager.rb:287:in `handle_spawn_application’
from /home/rdp/.gem/ruby/1.8/gems/passenger-2.2.5/lib/phusion_passenger/abstract_server.rb:352:in `__send__’
from /home/rdp/.gem/ruby/1.8/gems/passenger-2.2.5/lib/phusion_passenger/abstract_server.rb:352:in `main_loop’
from /home/rdp/.gem/ruby/1.8/gems/passenger-2.2.5/lib/phusion_passenger/abstract_server.rb:196:in `start_synchronously’
from /home/rdp/.gem/ruby/1.8/gems/passenger-2.2.5/bin/passenger-spawn-server:61
[ pid=18411 file=ext/apache2/Hooks.cpp:725 time=2009-10-22 17:12:45.173 ]:
Unexpected error in mod_passenger: Cannot spawn application ‘/home/rdp/prod/gembox_prod_copy’: The spawn server has exited unexpectedly.
Backtrace:
in ‘virtual boost::shared_ptr<Passenger::Application::Session> Passenger::ApplicationPoolServer::Client::get(const Passenger::PoolOptions&)’ (ApplicationPoolServer.h:471)
in ‘int Hooks::handleRequest(request_rec*)’ (Hooks.cpp:521)
this message (

this message (in apache’s error log)

meant “you copied over a gem that you had compiled on a different system–I can’t use those here!”

/home/rdp/installs/mbari_gembox_187/lib/ruby/gems/1.8/gems/hpricot-hpricot-0.7.229/lib/fast_xs.so: [BUG] Segmentation fault

ruby 1.8.6 (2009-3-4) [i686-linux]

*** Exception EOFError in spawn manager (Unexpected end-of-file detected.) (process 18465):

from /home/rdp/.gem/ruby/1.8/gems/passenger-2.2.5/lib/phusion_passenger/utils.rb:305:in `unmarshal_and_raise_errors’

from /home/rdp/.gem/ruby/1.8/gems/passenger-2.2.5/lib/phusion_passenger/rack/application_spawner.rb:75:in `spawn_application’

from /home/rdp/.gem/ruby/1.8/gems/passenger-2.2.5/lib/phusion_passenger/rack/application_spawner.rb:45:in `spawn_application’

from /home/rdp/.gem/ruby/1.8/gems/passenger-2.2.5/lib/phusion_passenger/spawn_manager.rb:159:in `spawn_application’

from /home/rdp/.gem/ruby/1.8/gems/passenger-2.2.5/lib/phusion_passenger/spawn_manager.rb:287:in `handle_spawn_application’

from /home/rdp/.gem/ruby/1.8/gems/passenger-2.2.5/lib/phusion_passenger/abstract_server.rb:352:in `__send__’

from /home/rdp/.gem/ruby/1.8/gems/passenger-2.2.5/lib/phusion_passenger/abstract_server.rb:352:in `main_loop’

from /home/rdp/.gem/ruby/1.8/gems/passenger-2.2.5/lib/phusion_passenger/abstract_server.rb:196:in `start_synchronously’

from /home/rdp/.gem/ruby/1.8/gems/passenger-2.2.5/bin/passenger-spawn-server:61

[ pid=18411 file=ext/apache2/Hooks.cpp:725 time=2009-10-22 17:12:45.173 ]:

Unexpected error in mod_passenger: Cannot spawn application ‘/home/rdp/prod/gembox_prod_copy’: The spawn server has exited unexpectedly.

Backtrace:

in ‘virtual boost::shared_ptr<Passenger::Application::Session> Passenger::ApplicationPoolServer::Client::get(const Passenger::PoolOptions&)’ (ApplicationPoolServer.h:471)

in ‘int Hooks::handleRequest(request_rec*)’ (Hooks.cpp:521)

Internal Server Error

The server encountered an internal error or misconfiguration and was unable to complete your request.

Please contact the server administrator, [no address given] and inform them of the time the error occurred, and anything you might have done that may have caused the error.

More information about this error may be available in the server error log.


Apache/2.2.9 (Ubuntu) PHP/5.2.6-2ubuntu4.3 with Suhosin-Patch mod_ssl/2.2.9 OpenSSL/0.9.8g Phusion_Passenger/2.2.5 Server at allgems.ruby-forum.com Port 80

rubygems woe

Filed under: Uncategorized — rogerdpack @ 4:23 pm
ERROR:  While executing gem … (NoMethodError)
undefined method `each’ for nil:NilClass

ERROR:  While executing gem … (NoMethodError)

undefined method `each’ for nil:NilClass

meant “you’ve got a gem with a bad spec that rubygems doesn’t handle” (I’d call this a bug in rubygems)
/usr/local/lib/ruby/site_ruby/1.8/rubygems/gem_path_searcher.rb

pik woe

Filed under: Uncategorized — rogerdpack @ 4:15 pm
C:\dev\digitalarchive_trunk>pik run “gem uninstall pik”
c:/ruby18/lib/ruby/site_ruby/1.8/rubygems.rb:384:in `bin_path’: can’t find executable pik for pik-0.2.2 (Gem::        from c:/ruby18/bin/pik:19
Using ruby 1.9.1p243 (2009-07-16 revision 24175) [i386-mingw32]

C:\dev\digitalarchive_trunk>pik run “gem uninstall pik”

c:/ruby18/lib/ruby/site_ruby/1.8/rubygems.rb:384:in `bin_path’: can’t find executable pik for pik-0.2.2 (Gem::        from c:/ruby18/bin/pik:19

Using ruby 1.9.1p243 (2009-07-16 revision 24175) [i386-mingw32]

meant “you haven’t done pik_install yet”
Older Posts »

Powered by WordPress