Somewhere between happy and total f**king wreck
Posts tagged Rails
Redmine and Passenger bugfix
Aug 11th
Source: Redmine.org
For those of you who are running Redmine on Phusion Passenger, if you have certain versions of the RedCloth gem installed, you are in for some trouble.
More >
Passenger and RubyEnt updates
Aug 11th
Updated my web server with Ruby Enterprise Edition 1.8.6-20080810 and Phusion Passenger 2.0.3 successfully. Both releases feature bugfixes for security issues and the like. My web server currently powers this blog, a Redmine instance for my own projects, and some “production” servers for a few Rails apps I’m writing right now.
I’d highly recommend Passenger and RubyEnt for low-volume or even high-traffic production Rails servers. It has greatly simplified my deployment and performance on a VPS with, say, 540MB of RAM is stellar. If you set the idle timeout to something huge, you can get almost Nginx+Mongrel/Thin level performance even on a low-traffic server; otherwise you have to wait a brief time (10-15 seconds) when the app has been idle for a while.
Installing id3lib-ruby gem on OSX Leopard with id3lib from MacPorts
Jul 8th
Source: John Wulff and comments
sudo port install id3lib sudo ARCHFLAGS="-arch i386" gem install id3lib-ruby -- --build-flags --with-opt-dir=/opt/local
MySQL ruby gem with MacPorts MySQL
Jun 13th
sudo env ARCHFLAGS="-arch i386" gem install mysql -- --with-mysql-include=/opt/local/include/mysql5 --with-mysql-lib=/opt/local/lib/mysql5 --with-mysql-config=/opt/local/lib/mysql5/bin/mysql_config
This worked for me with mysql installed via macports by the command:
sudo port install mysql5 +server
Source: Code Intensity
God is watching over my Rails
Apr 7th
On my home server I’m toying with some Rails clustering and such, using nginx and thin, and now God to watch over things.
With this setup, I can add apps and port-ranges to monitor any time I like, and I can split off a particularly specific configuration group if an app has unusual trends or requirements, such as using loads of memory.
More >
All kinds of new stuff
Mar 28th
I got the idea for this post from Robby on Rails…
Things I’ve been using/playing with lately:
- GitHub / Gitorious
- Braid – here’s a braid with rspec tutorial
- Railify – [GitHub]
- Linode
- Nginx with an init script
- WordPress 2.5 RC1 and now RC2