
Radio and PodcastLive Radio & Podcasts
Installing RoR on Snow Leopard
The short of it: if you're on Mac OS X (Snow Leopard, in my case), the smoothest way to install RoR is through MacPorts. ( Read the excellent instructions by Paul Sturgess ). * * * Having lots of time to waste , I decide...
About This Episode
Installing RoR on Snow Leopard is an episode from MacSwitched by Ruben and Data Canlas. The short of it: if you're on Mac OS X (Snow Leopard, in my case), the smoothest way to install RoR is through MacPorts. ( Read the excellent instructio...
This episode belongs to MacSwitched.
Audio availability depends on the podcast feed.
Published Mar 13, 2010.
Questions About This Episode
What is Installing RoR on Snow Leopard about?
The short of it: if you're on Mac OS X (Snow Leopard, in my case), the smoothest way to install RoR is through MacPorts. ( Read the excellent instructions by Paul Sturgess ). * * * Having lots of time to waste , I decided to continue studying RoR. Things have changed since I got my hands dirty with RoR. I'm now running Snow Leopard. RoR has kept maturing in the one-plus year that I stopped tinkering with RoR (had to do C# -- don't ask). Anyway, I reasoned that the installation problems I encountered in Tiger were a result of Apple's outdated installation of MySQL and Apache. This time, I felt that the Snow Leopard team may have been thoughtful enough to resolve the old issues from Tiger days. So I happily followed the steps outlined in /. Things worked well. I was able to create a web app in no time (applause) using SQLLite for my database and doing the blog exercise on the the rubyonrails.org website. However, as soon as I tried to shift to MySQL, my headaches started. I downloaded the latest dmg file of MySQL. I got different errors when I tried to run rake db:create . RoR refused to create the database on MySQL as promised (it worked fine with SQLLite, the database that comes pre-packaged in RoR). The error messages alternated between the inability to create the database and a syntax error on the .yml file. Googling revealed that the problem was common. Many solutions were proposed. I tried many of them too. Nothing worked. My RoR-guru-friend Kenneth kept bugging me to just use MacPorts. I told him this would be my last resort and gave myself a deadline. That deadline has passed without any fruitful solution. So I have taken Kenneth's advice and gone on installing MySQL, Ruby, Rails and Gems on MacPorts. * * * Errors and solutions: Can't connect to local MySQL server through socket '/opt/local/var/run/mysql5/mysqld.sock' - This probably means that MySQL is not running. Start MySQL by typing this on the command line: sudo /opt/local/share/mysql5/mysql/mysql.server start Useful links: Paul Sturgess's Guide to Installing RoR on Leopard - Found this entry update only after I went through MacPorts. This may be an easier and faster way of installing RoR and MySQL. Absolute Moron's Guide to Capistrano - I was always wondering what the fuss on Capistrano was about. This is the simplest introduction I've read about it. Get Started on RoR Quickly - RoR is big on action, so the fastest way to start is just to try it. This is a link to the Ruby on Rails Guides. Configuring MySQL and PHP in MacPorts - Helpful tips on those topics. Insight on the Problem from MacOSX Hints - Found this a bit too late. Some really good insights on the MySQL problem. (Thanks to Kenneth D. for helping me out in setting up RoR). The MacSwitched Blog - Online Journal of a Mac Switcher Tips, tricks and other discoveries about Macs and iPods.
Where can I listen to Installing RoR on Snow Leopard?
You can listen to Installing RoR on Snow Leopard online on Radio and Podcast. Open the player on this page to stream the available audio.
Which podcast is Installing RoR on Snow Leopard from?
Installing RoR on Snow Leopard is an episode from MacSwitched by Ruben and Data Canlas.
How long is this episode?
The episode duration depends on the source podcast feed and may not always be available.
When was this episode published?
This episode was published on Mar 13, 2010.
Can I save Installing RoR on Snow Leopard for later?
Yes. Use the heart button on the episode page to add it to your favorite episodes list.
Are there related episodes from MacSwitched?
Yes. This page shows related episodes from MacSwitched when more episodes are available from the podcast feed.
Quick Answers About This Episode
Where can I listen to Installing RoR on Snow Leopard?
You can listen to Installing RoR on Snow Leopard on this page when the episode audio is available from the podcast feed.
Which podcast is this episode from?
Installing RoR on Snow Leopard is from MacSwitched by Ruben and Data Canlas.
What are the episode details?
Published Mar 13, 2010