rails 2.0 released! 0

Posted by jro
on Friday, December 07

Every ruby nerd in the world will be blogging about this. I’m no exception. Ruby on Rails 2.0 is out and represents a mountain of progress. Many thanks to the rails core team and everyone that’s assisted in bringing this to us, the masses.

nginx for fink 2

Posted by jro
on Wednesday, November 14

I just submitted an nginx package to fink after waiting about a month to define which files were documentation. Hopefully, it’ll be validated and added quickly, but if you need it now head over to sourceforge to grab the .info and .patch. The packaging tutorial over at finkproject should have all the info you’d need to build it for yourself. As well as teach you how simple it is to get started working on packages for fink.

And you thought Beowulf was epic 0

Posted by jro
on Monday, November 12

Peter Marklund has put together a mammoth 341 slide presentation to introduce you to Ruby and Rails. Get it here [pdf] or at his slideshare. I haven’t flipped through it all yet, but, so far, it looks like a great resource.

rmagick / imagemagick RHEL4 and font error pain 0

Posted by jro
on Monday, October 22

If your working on RedHat enterprise 4, trying to install rmagick and you get an error like this ::

Magick::ImageMagickError (unable to read font `/usr/share/fonts/default/Type1/n019003l.pfb'):

try installing urw-fonts. That is all.

rails on fink 0

Posted by jro
on Thursday, October 18

I should have really taken better notes as I got setup using fink, but here’s a braindump of what I needed for rails to work for me. Note, rmagick and me are not near as angry with each other as we were under macports.

Install Fink

Go Here - You should be able to figure out the install.

Set it to unstable

# Edit /sw/etc/fink.conf
# set Trees line
Trees: local/main stable/main stable/crypto unstable/main unstable/crypto

Edit Jan 21, 2008: You’ll probably want to do a fink update-all and/or fink -dv selfupdate here.

Install fink packages

$> sudo fink install mysql mysql-client  mysql15-dev mysql15-shlibs
....
$> sudo fink install ruby ruby18 ruby18-dev ruby18-shlibs rubygems-rb18
....

Edit Jan 21, 2008: If you want rmagick, you’ll need to fink install imagemagick or imagemagick-nox .. it will take a while

Make sure you’re using the fink ruby

You may need to open a new shell or update your $PATH but this what it’ll look like if it’s correct

jro@fireant:~/Desktop$ which ruby
/sw/bin/ruby

Time for some gems

$> sudo gem update --system
....
$> sudo gem update
....
$> sudo gem install mysql
....
$> sudo gem install -y rails
....
$> sudo gem install rmagick -- --disable-htmldoc
....

Edit Jan 21, 2008: You’ll probably want to setup daemonic to start mysql on system startup.

sudo daemonic enable mysql

Hopefully there aren’t too many typos/mistakes due to my poor notes. If you find any, throw up a comment and I’ll patch the post.

The only software I’m really missing right now in fink is nginx, but I’ll have more on that soon. :)

Rails Envy: Rails vs. .NET - rematch 0

Posted by jro
on Wednesday, October 10

It’s the 9th and last video in the series, but you can order a DVD through the rails envy site.

Rails Envy: Rails vs. Coldfusion 0

Posted by jro
on Wednesday, October 03

The 2nd to last video in the series. It speaks pretty well for itself.