Monthly Archives: September 2011
WebSockets that Reconnect
Here is a JavaScript sample of a WebSocket that will try to reconnect every second if the connection is lost to the server. This is completely transparent to the end-user. function WS() { var _self = this; this.start = function() … Continue reading
Passenger and ruby-oci8 (Oracle)
Oracle is going to drive a man to drink. After getting our rake migrations to run with this solution, our application had issues. We run our Rails app in Passenger + Apache2. After we deployed, we got this error: ERROR: … Continue reading
RabbitMQ on OS X via MacPorts
MacPorts installs an old version of RabbitMQ. To get the latest, you need to add the RabbitMQ repository as described here: http://www.rabbitmq.com/macports.html However, when you try and install it, it throws the following error: $ sudo port install rabbitmq-server Error: … Continue reading
ruby-oci8 library problems
We started using Oracle with a Ruby on Rails 2.3.x project. I will say, it has been nothing but a pain. After getting the Oracle Instant Client installed and the ruby-oci library compiled, I kept hitting this error during the … Continue reading
