Posts tagged ruby

Redmine and Passenger bugfix

Redmine+Passenger has issues with RedCloth 4.x so use 3.0.4 or the included version instead.

Passenger and RubyEnt updates

My webserver is now running Phusion Passenger 2.0.3 for Ruby/Rails apps using Ruby Enterprise Edition 1.8.6-20080810. This greatly simplifies application deployment and helps improve performance and memory usage.

Building libxml-ruby gem on Ubuntu Hardy

no such file to load -- libxml_so


sudo apt-get install libxml2 libxml2-dev
cd /usr/lib/ruby/gems/1.8/gems/libxml-ruby-0.7.0
sudo ruby ext/libxml/extconf.rb
sudo make; sudo make install

Installing id3lib-ruby gem on OSX Leopard with id3lib from MacPorts

sudo port install id3lib
sudo ARCHFLAGS="-arch i386" gem install id3lib-ruby -- --build-flags --with-opt-dir=/opt/local

Another successful Passenger deployment

This morning, as a result of a hardware failure on my home server, I decided to move my Redmine devtracker to my Linode host.

MySQL ruby gem with MacPorts MySQL

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

Memcached and memcached gem on Leopard

    sudo port install memcached libmemcached
    sudo env ARCHFLAGS="-arch i386" gem install memcached -- --with-rlibmemcached-include=/opt/local/include --with-rlibmemcached-lib=/opt/local/lib

All kinds of new stuff

Herein I describe things I’ve learned about recently and things I’d like to learn more about.