# MacOS X Tiger Rails Install problem

**URL:** <https://www.ruby-forum.com/t/macos-x-tiger-rails-install-problem/89016>\
**Category:** Rails\
**Created:** [January 3, 2006, 8:11pm UTC](https://www.ruby-forum.com/t/macos-x-tiger-rails-install-problem/89016 "2006-01-03T20:11:59Z")\
**Posts on this page:** 9\
**Page:** 1

<div class="post-metadata">

**Author:** ![douha](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/d/bc8723/32.png) [@douha](https://www.ruby-forum.com/u/douha)\
**Post date:** [January 3, 2006, 8:11pm UTC](https://www.ruby-forum.com/t/macos-x-tiger-rails-install-problem/89016/1 "2006-01-03T20:11:59Z")

</div>

According to the Hivelogic instructions \<[http://hivelogic.com/](http://hivelogic.com/)  
articles/2005/12/01/ruby\_rails\_lighttpd\_mysql\_tiger\> to correctly  
installing RoR on Tiger:

> In this case, a possible fix might be to try running the following  
> command, and answering yes when prompted to install each dependency:
> 
> sudo gem install rails

Well, I tried installing Rails both with the --include-dependencies  
option and without, and still got the “No such file to load” error.  
One thing that I did differently was to install Ruby 1.8.4 instead of  
1.8.2 - in hopes the problems with 1.8.3 had been resolved. Was this  
where I went wrong? Anyone know the fix for this?

Thanks,  
Doug

---

<div class="post-metadata">

**Author:** ![douha](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/d/bc8723/32.png) [@douha](https://www.ruby-forum.com/u/douha)\
**Post date:** [January 3, 2006, 8:28pm UTC](https://www.ruby-forum.com/t/macos-x-tiger-rails-install-problem/89016/2 "2006-01-03T20:28:10Z")

</div>

Doug,

If you are trying to create a development environment, I’d suggest using  
Locomotive. It is a Mac OS X app that provides a complete set of  
packages for doing RoR dev. It has everything you need including  
lighttpd. It’s not a solution if you need edge Rails, but for gem Rails  
it rocks.

[http://locomotive.sourceforge.net/](http://locomotive.sourceforge.net/)

---

<div class="post-metadata">

**Author:** ![douha](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/d/bc8723/32.png) [@douha](https://www.ruby-forum.com/u/douha)\
**Post date:** [January 3, 2006, 8:33pm UTC](https://www.ruby-forum.com/t/macos-x-tiger-rails-install-problem/89016/3 "2006-01-03T20:33:32Z")

</div>

Hi Doug,

I’m not exactly sure why you’re getting that error, but I recently  
installed Rails, lighttpd, and MySQL on a fresh Tiger install using  
Geoffrey Grosenbach’s instructions here \<  
[http://nubyonrails.com/articles/2005/12/29/an-even-better-way-to-build-ruby-rails-lighttpd-and-mysql-on-tiger](http://nubyonrails.com/articles/2005/12/29/an-even-better-way-to-build-ruby-rails-lighttpd-and-mysql-on-tiger)

> (based on Dan Benjamin’s), and he’s upgraded the script to work with  
> ruby 1.8.4. It worked great, but you might need to fix curl if it  
> won’t stop downloading (see my comment at the bottom of the linked  
> page).

Best,

Jacob

- 

Jacob P.  
Trisignia

> **[Trisignia - Web development and design agency](https://trisignia.com/)**
>
> Trisignia - Web development and design agency

---

<div class="post-metadata">

**Author:** ![douha](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/d/bc8723/32.png) [@douha](https://www.ruby-forum.com/u/douha)\
**Post date:** [January 3, 2006, 9:06pm UTC](https://www.ruby-forum.com/t/macos-x-tiger-rails-install-problem/89016/4 "2006-01-03T21:06:29Z")

</div>

I appreciate that advice. And I’ve tried Locomotive - and like it very  
much.  
The thing is, it solves some problems, but leaves me guessing on others.  
Every tutorial and every book I’ve gotten my hands on so far are written  
from the perspective of NOT having Locomotive. So, when I run into a  
problem, I don’t know whether it’s because of my Locomotive setup, or  
what.  
Maybe I’m wrong, but I’m betting that if I have a conventional setup,  
I’ll  
learn the solutions to problems that can only be learned the hard way.  
(Just  
like this one.) Kinda like how Java programmers swear that you should  
start  
with a text editor and then (maybe) eventually move to an IDE.

My $0.02

---

<div class="post-metadata">

**Author:** ![douha](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/d/bc8723/32.png) [@douha](https://www.ruby-forum.com/u/douha)\
**Post date:** [January 4, 2006, 3:19am UTC](https://www.ruby-forum.com/t/macos-x-tiger-rails-install-problem/89016/5 "2006-01-04T03:19:06Z")

</div>

I’m going through some Tiger issues now… and using Locomotive to  
avoid them 😉 One tip, if you need a terminal window, use the one you  
get from Locomotive’s “Rails \> Open Terminal” menu item. It will  
change the path to point to Locomotive’s own instance of ruby, not the  
default /usr/bin/ruby.

My $0.02,

dean

On 1/3/06, Doug H. [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid) wrote:

> My $0.02  
> removed\_email\_address@domain.invalid  
> [http://lists.rubyonrails.org/mailman/listinfo/rails](http://lists.rubyonrails.org/mailman/listinfo/rails)

–  
Dean W.  
[http://www.aspectprogramming.com](http://www.aspectprogramming.com)  
[http://www.newaspects.com](http://www.newaspects.com)  
[http://www.contract4j.org](http://www.contract4j.org)

---

<div class="post-metadata">

**Author:** ![douha](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/d/bc8723/32.png) [@douha](https://www.ruby-forum.com/u/douha)\
**Post date:** [January 6, 2006, 9:28pm UTC](https://www.ruby-forum.com/t/macos-x-tiger-rails-install-problem/89016/6 "2006-01-06T21:28:03Z")

</div>

try using locomotive instead. google rails ruby locomotive. Much  
easier, cleaner, simpler. I was having install troubles myself which  
is how I came upon locomotive. Highly recommended. 5 /5

bruce

---

<div class="post-metadata">

**Author:** ![douha](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/d/bc8723/32.png) [@douha](https://www.ruby-forum.com/u/douha)\
**Post date:** [January 6, 2006, 7:30pm UTC](https://www.ruby-forum.com/t/macos-x-tiger-rails-install-problem/89016/7 "2006-01-06T19:30:40Z")

</div>

On Jan 3, 2006, at 1:10 PM, Doug H. wrote:

> Well, I tried installing Rails both with the --include-dependencies  
> option and without, and still got the “No such file to load” error.  
> One thing that I did differently was to install Ruby 1.8.4 instead  
> of 1.8.2 - in hopes the problems with 1.8.3 had been resolved. Was  
> this where I went wrong? Anyone know the fix for this?

That error means that whichever “ruby” command is first in your path  
can’t find the rubygems library. If you installed your ruby in /usr/  
local, make sure that /usr/local/bin comes before /usr/bin in your  
path. Otherwise you’ll end up running Tiger’s ruby. I’m not sure what  
the --include-dependencies switch would have to do with finding the  
rubygems library, though.

-dudley

---

<div class="post-metadata">

**Author:** ![douha](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/d/bc8723/32.png) [@douha](https://www.ruby-forum.com/u/douha)\
**Post date:** [January 7, 2006, 2:07am UTC](https://www.ruby-forum.com/t/macos-x-tiger-rails-install-problem/89016/8 "2006-01-07T02:07:48Z")

</div>

On Jan 3, 2006, at 2:03 PM, Doug H. wrote:

> an IDE.  
> Exactly right. 95% of everything I’ve learned has been incidental  
> knowledge gained on the road to solving some other problem.

-dudley

---

<div class="post-metadata">

**Author:** ![douha](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/d/bc8723/32.png) [@douha](https://www.ruby-forum.com/u/douha)\
**Post date:** [January 10, 2006, 2:59am UTC](https://www.ruby-forum.com/t/macos-x-tiger-rails-install-problem/89016/9 "2006-01-10T02:59:57Z")

</div>

On 1/6/06, Dudley F. [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid) wrote:

> > “No such file to load” error.
> 
> That error means that whichever “ruby” command is first in your path  
> can’t find the rubygems library. If you installed your ruby in /usr/  
> local, make sure that /usr/local/bin comes before /usr/bin in your  
> path. Otherwise you’ll end up running Tiger’s ruby. I’m not sure what  
> the --include-dependencies switch would have to do with finding the  
> rubygems library, though.

Yep that was it. I put my install location first in my PATH, and all was  
well. I had already discovered this before reading your message, but  
thanks  
just the same. Maybe someone else will read this and benefit from it. I  
made  
the mistake of having Darwin Ports and Fink and Apple’s pre-installed  
software, and… well my PATH was just too long and complicated. As a  
rule  
of thumb, always put Apple’s paths LAST in the path, because anything  
you  
intentionally install, you probably want to run instead. (Common sense,  
I  
know, but it took me a while to recognize that rule of thumb.)

Doug
