Thursday, February 7, 2008
Sitescope bug?
Using $$SERVER_NAME$$ in the Server slot of a WebSphere PMI template in Sitescope generates what looks like in the log as a network lookup error. I'm assuming this is a bug and $$SERVER_NAME$$ is not being substituted when the template is deployed. Grrrrrrrrrrrrr
Friday, February 1, 2008
WebOrb & .rb naming
Rails' annoying underscorification doesn't seem to work with WebOrb. It looks to be a good idea to have the class name be the same as the filename... which is as it should be.
Thursday, January 31, 2008
WebOrb & Rails 2.
To connect WebOrb to Rails 2.x make sure to disable forgery protection in appropriate config/environment/*.rb file:
config.action_controller.allow_forgery_protection = false
Problem with Gem on Windoze
Last night trying to install Rails on Windoze I ran into the dread:
This seems to be fairly common, with no solution. It turns out (after hacking remote_fetcher.rb) that HTTP_PROXY was set in the environment (the day job), unset it and everything works fine.
You gotta love a language that comes with sources, programmer heal thyself :-)
ERROR: While executing gem ... (Gem::RemoteFetcher::FetchError)
getaddrinfo: no address associated with hostname.(SocketError)
This seems to be fairly common, with no solution. It turns out (after hacking remote_fetcher.rb) that HTTP_PROXY was set in the environment (the day job), unset it and everything works fine.
You gotta love a language that comes with sources, programmer heal thyself :-)
Subscribe to:
Posts (Atom)