# Got a Mac with Leopard and asking for some help

**URL:** <https://www.ruby-forum.com/t/got-a-mac-with-leopard-and-asking-for-some-help/135889>\
**Category:** Rails\
**Created:** [April 25, 2008, 10:50pm UTC](https://www.ruby-forum.com/t/got-a-mac-with-leopard-and-asking-for-some-help/135889 "2008-04-25T22:50:48Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![eggman2001](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/e/51bf81/32.png) [@eggman2001](https://www.ruby-forum.com/u/eggman2001)\
**Post date:** [April 25, 2008, 10:50pm UTC](https://www.ruby-forum.com/t/got-a-mac-with-leopard-and-asking-for-some-help/135889/1 "2008-04-25T22:50:48Z")

</div>

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.

---

<div class="post-metadata">

**Author:** ![eggman2001](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/e/51bf81/32.png) [@eggman2001](https://www.ruby-forum.com/u/eggman2001)\
**Post date:** [April 25, 2008, 10:58pm UTC](https://www.ruby-forum.com/t/got-a-mac-with-leopard-and-asking-for-some-help/135889/2 "2008-04-25T22:58:39Z")

</div>

eggman2001 wrote:

> Any suggestions would help this noob out a lot.

The only guide you will ever need:

> **[Dan Benjamin](https://danbenjamin.com)**
>
> Dan Benjamin's personal website.

---

<div class="post-metadata">

**Author:** ![eggman2001](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/e/51bf81/32.png) [@eggman2001](https://www.ruby-forum.com/u/eggman2001)\
**Post date:** [April 25, 2008, 11:00pm UTC](https://www.ruby-forum.com/t/got-a-mac-with-leopard-and-asking-for-some-help/135889/3 "2008-04-25T23:00:50Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![eggman2001](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/e/51bf81/32.png) [@eggman2001](https://www.ruby-forum.com/u/eggman2001)\
**Post date:** [April 26, 2008, 8:26pm UTC](https://www.ruby-forum.com/t/got-a-mac-with-leopard-and-asking-for-some-help/135889/4 "2008-04-26T20:26:34Z")

</div>

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](http://www.buildingwebapps.com/articles/17-setting-up-rails-on-leopard-mac)

Michael S.  
[www.BuildingWebApps.com](http://www.BuildingWebApps.com)

On Apr 25, 1:58 pm, Daniel W. [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid)

---

<div class="post-metadata">

**Author:** ![eggman2001](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/e/51bf81/32.png) [@eggman2001](https://www.ruby-forum.com/u/eggman2001)\
**Post date:** [April 26, 2008, 1:12am UTC](https://www.ruby-forum.com/t/got-a-mac-with-leopard-and-asking-for-some-help/135889/5 "2008-04-26T01:12:36Z")

</div>

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?
