I just got my first Mac after using PCs my entire life and I'm trying
to get the rails stack set up. I know Leopard comes with rails, but I
believe it doesn't come with mysql (since the 'mysql' command doesn't
work at the command line). This means I'd have to install this (either
using mysql's self installer or installing from source) is this
correct?
Next, where should I store my rails apps? Should that be in my user
folder somewhere?
I'm planning on using Cyperduck, cocoamysql and textmate. Any other
programs I should be aware of?
I just got my first Mac after using PCs my entire life and I'm trying
to get the rails stack set up. I know Leopard comes with rails, but I
believe it doesn't come with mysql (since the 'mysql' command doesn't
work at the command line). This means I'd have to install this (either
using mysql's self installer or installing from source) is this
correct?
Yup. Mysql's downloadable installer works fine.
Next, where should I store my rails apps? Should that be in my user
folder somewhere?
That's what I do.
I'm planning on using Cyperduck, cocoamysql and textmate. Any other
programs I should be aware of?
I don't know if you only meant to include graphical tools, but you really should use some form of version control (git, svn etc...) . I also find the rdoc dashboard widget handy.
So I've installed mysql and added the following to .bash_login:
export PATH="/usr/local/bin:/usr/local/sbin:/usr/local/mysql/bin:
$PATH"
Then I type:
. ~/.bash_login
and the 'mysql' command is available to me. However, if I open a new
terminal, the 'mysql' command isn't available. Can someone tell me
what I need to do so that I don't have to execute .bash_login each
time?
The hivelogic guide takes the approach of compiling everything
yourself. Some folks prefer this approach because it gives you
complete control. But you can set up an effective Rails development
envioronment much more simply.
If you want a guide to a minimal installation that will get you up and
running, we've posted one here: