Still haven’t figured it out totally. Seems that at least aaf 0.4.3 needs fork, so even reverting backgroundrb (painfully) to its oldest version
svn checkout svn+ssh://firstname.lastname@example.org/var/svn/backgroundrb
doesn’t solve the problem. Might as well live with stubs!
If you get xterm Xt error: Can’t open display: :0:~ Roger$export DISPLAY=:0.0that may mean ‘run an x application before starting macports stuffs, then run macports stuffs’ (with an updated macports…etc…etc.)
as specified in the port description page, you need to create ~/.profile file
Then after installing macports directly, you can run
on the command line and then run sudo port “whatever”
and it will work now.
And also executables installed by mac port will work as expected, only after running that
in each terminal.
So…I tried out Ruby with mingw and it is indeed faster! Significantly faster. It is like ‘Wow ruby actually works!’
This distro has old version of rubygems, which isn’t quite as compatible, but works as a demo:
I’ve seen reports of ‘fcgi’ running quicker than mongrel behind nginx. The reporters make the presumption that it is because of unix sockets. So then I wonder if changing evented mongrel to use unix sockets would speed it up (easier to do that than changing mongrel itself, I’d imagine). And perhaps re-using connections would help, as well.
So if you wanna use os x to get your host’s ipv4 address, instead of using Socket.gethostbynameuseSocket.getaddrinfo(Socket.gethostname, 0, Socket::AF_UNSPEC, Socket::SOCK_STREAM, nil, Socket::AI_CANONNAME)I think
test_get_sockname.rb:20: syntax error, unexpected kAND, expecting ‘)’ assert(peername and !peername.blank?)
means “replace your and with &&’s!” NoMethodError: undefined method `assert’ for #<#<Class:0x489e78>:0x489d10> means ‘wrap your asserts with parentheses
UNIXServer is required
Is an annoying error. To overcome
go to …lib/drb/unix.rb, comment out line that says “raise unless defined? UNIXServer”
I don’t know if this prohibits backgroundrb from functioning, however.
oops I called it the wrong thing.
./ruby: symbol lookup error: ./ruby: undefined symbol: ruby_init_stack
means ‘you must do make install for it to work in linux’