./ruby: symbol lookup error: ./ruby: undefined symbol: ruby_init_stack
means ‘you must do make install for it to work in linux’
./ruby: symbol lookup error: ./ruby: undefined symbol: ruby_init_stack
means ‘you must do make install for it to work in linux’
windows msvc:
trap :INT, proc { puts ‘ha got your ctrl-c!’ }
and linux
trap ”SIGUSR1″, proc {‘whatever’} # I think
./p2p_server.rb:223:in `startServer’: undefined method `P2PServerConnection’ for #<P2PServer:0xb763f6ac> (NoMethodError)
with eventmachine
means ‘put parenthesis around your arguments, it thinks the last parameter is a function call!
install normal, then copy the .so to your i36-mingw directory, then create bin\ruby-prof.cmd
@ruby “c:/ruby_mingw4/bin/ruby-prof” %*
amazingly. Wow.
It won’t be compiled by default with object allocations enabled. Wow is all I can say.