Got a Mac with Leopard and asking for some help

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?

Any suggestions would help this noob out a lot.

eggman2001 wrote:

Any suggestions would help this noob out a lot.

The only guide you will ever need:
http://hivelogic.com/articles/2008/02/ruby-rails-leopard

On 25 Apr 2008, at 21:49, eggman2001 wrote:

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.

Fred

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:

http://www.buildingwebapps.com/articles/17-setting-up-rails-on-leopard-mac

Michael S.
www.BuildingWebApps.com

On Apr 25, 1:58 pm, Daniel W. [email protected]

I’ve got another question.

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?

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs