Tag Archives: ruby

Installing RMagick on Snow Leopard / Leopard

UPDATE: After using this for a little, i’ve discovered that there’s a small problem with the install script, it does not include the ghostscript fonts (for use with ImageMagick) properly. I’ve forked the repository and applied a fix (http://github.com/dazoakley/ImageMagick-sl) - … Continue reading

Posted in mac, ruby | Tagged , , , , , , | 6 Comments

Installing the Ruby Bindings for Oracle on Mac OS X

This quick crib sheet is for the guys at work (and anyone else who might need help on this one)… First install the oracle instant client somewhere - I normally install it to /usr/local/oracle/instantclient_10_2. Then… cd /usr/local/oracle/instantclient_10_2 ln -s libclntsh.dylib.10.1 … Continue reading

Posted in mac, oracle, ruby | Tagged , , , , | Leave a comment

My First Gem: Biomart

A lot of my work these days involves building and querying biomart datasets. Interacting with the webservices (for queries) is pretty simple, you just have to post a piece of xml at the right url, but I found myself reusing … Continue reading

Posted in ruby | Tagged , , | Leave a comment

Using PostgreSQL With Ruby on Rails on OS X

Following on from my last post for getting PostgreSQL up and running nicely on Mac OS X, my next task was getting it playing nicely with ruby on rails - I’m off on a rails course next week so I’m … Continue reading

Posted in postgresql, ruby | Tagged , , , | 2 Comments

Trash Stuff From the Command Line

A great little command-line tool for Leopard: osx-trash manipulates the Mac OS X trash from the command line, just like the Finder does. It uses AppleScript via Scripting Bridge on top of to communicate with the Finder. You can move … Continue reading

Posted in mac, snippets | Tagged , , , | 1 Comment

Developing Rails Applications on Mac OS X Leopard

First in a series of three articles from Apple on Ruby on Rails development on Mac OS X Leopard. Definitely worth a bookmark. Ruby on Rails is a popular and powerful open source web framework for rapidly creating high-quality web … Continue reading

Posted in mac, ruby, snippets | Tagged , , , | 3 Comments

Active Scaffold Ajax CRUD Interfaces for Ruby on Rails

This could be most useful in the near future… Most web applications have many more model objects exposed on the backend, or admin side, than they do on the front. Coding interfaces for all those models is redundant and a … Continue reading

Posted in ruby, snippets | Tagged , , , , | Leave a comment