- Mar
- 03
- 2008
By: Damien McKenna |
Tags:
- Feb
- 06
- 2008
By: Damien McKenna |
Tags:
- Nov
- 29
- 2007
By: Damien McKenna |
Tags:
- Nov
- 21
- 2007
By: Damien McKenna |
Tags:
I upgraded to Leopard the weekend it was released and had been using MacPorts to do my Ruby install. However, after the upgrade some things weren’t working right, most notably rmagick created fireworks when I’d try to load it, and in the last day or two MySQL has decided to stop working too. So, tonight I’m dumping MacPorts and moving everything to native installs. To help you do likewise, here are a few things to remember when you’re getting Rails to work on OSX Leopard:
- Leopard was bundled up with some slightly older gems, so make sure to do do “gem outdated” to see what updates are available, then “gem update” to grab all of the updates.
- Everyone developer needs a database. If your database of choice, for development purposes at least, happens to be MySQL, you’ll be slightly disappointed to know that at the time of writing there isn’t a fully Leopard compatible MySQL package available, yet. Thankfully Orlando’s own (and forthcoming Acts_as_Conference speaker) Dan Benjamin has come to the rescue with a complete install guide for MySQL on Leopard, which also includes a handy-dandy downloadable bash script to take all of the effort out. Thanks Dan!
- The one library I was surprised that wasn’t included with Rails is the RMagick gem. RMagick is the Ruby plugin for using the venerable ImageMagick, or the GraphicsMagick spinoff, and is a bit tricky to install due to the sheer amount of prerequirements it has. Thankfully the OnRails.org folks have put together a great tutorial on installing RMagick on Leopard without using MacPorts, which will help keep your system nice ‘n clean.
Thanks to Dan Benjamin and the OnRails team for the tutorials, they’ll be a great help for Leopard users for ages to come. Of course if someone wanted to do a proper installer for RMagick I’m sure a tip jar could be organized
- any takers?
Note: If you’re installing on a PowerPC machine you need to modify the following line of Dan’s MySQL installer script:
sudo env ARCHFLAGS=”-arch i386″ gem install mysql — –with-mysql-config=/usr/local/mysql/bin/mysql_config
to say:
sudo env ARCHFLAGS=”-arch ppc” gem install mysql — –with-mysql-config=/usr/local/mysql/bin/mysql_config
Make sure you make that change before trying to run the script otherwise you’ll end up with some difficulties. Other than that little detail it works perfectly.
Share this post
- Jun
- 22
- 2007
By: Robert Dempsey |
Tags:
In preparation for the free Rails For All introduction to Ruby on Rails class, and in the interest of not reinventing the wheel, we are posting links to getting Ruby set up on your machine. If you don’t want to chance it, we will help you get up and running during the first session. For those of you brave enough and get it installed, we will be asking for your help in getting everyone going. So, without further ado, here are the goods:
Mac
There is a great tutorial over at Hivelogic for getting everything up and going, a-z.
Windows
The interestingly titled blog, guttervomit, did a complete A-Z tutorial for getting everything up and running on Windows. It serves as a great primer, however, you can skip to the installation steps as we will discuss Ruby and Rails in the class. Check it out the tutorial here.
Linux
With so many wonderful versions of Linux out there, here are a few links for a few of the distributions:
Ubuntu Edgy Eft
Fedora 7
Share this post
- Oct
- 18
- 2006
By: Robert Dempsey |
Tags:
- Sep
- 11
- 2006
By: Robert Dempsey |
Tags:
- Aug
- 30
- 2006
By: Robert Dempsey |
Tags:
- Aug
- 21
- 2006
By: Robert Dempsey |
Tags:
- Aug
- 21
- 2006
By: Robert Dempsey |
Tags: