# Problems installing Ruby and Rails on Mac OSX 1.3.9 (Panther

**URL:** <https://www.ruby-forum.com/t/problems-installing-ruby-and-rails-on-mac-osx-1-3-9-panther/71739>\
**Category:** Rails\
**Created:** [October 11, 2006, 6:35am UTC](https://www.ruby-forum.com/t/problems-installing-ruby-and-rails-on-mac-osx-1-3-9-panther/71739 "2006-10-11T06:35:42Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![supamanu](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/s/2bfe46/32.png) [@supamanu](https://www.ruby-forum.com/u/supamanu)\
**Post date:** [October 11, 2006, 6:35am UTC](https://www.ruby-forum.com/t/problems-installing-ruby-and-rails-on-mac-osx-1-3-9-panther/71739/1 "2006-10-11T06:35:42Z")

</div>

Yes, before you ask, I’m new to this and feel pretty useless.

I have followed the hivelogic article to the letter, and must be one of  
the few who still failed installation.

A couple of questions that might set me on the right path:

1. Does the hivelogic guide work for PPC/Panther, or is it only for  
Tiger?
2. I think I have a problem with permissions on my mac. Despite logging  
with an Admin account, there are certain things it won’t let me do,  
saying I don’t have permissions (e.g. permission denied when using mv  
command, and would not let me write a .bash\_profile file)
3. I understand that the .bash\_login file should be created in the home  
directory…is that the directory that starts with ~ ?

The weird thing is that the install seemed to work until I tried the  
rails command - didn’t recognise it. Then i checked ruby -v and it  
still showed the old pre-installed version (1.6) so I’m really not sure  
what has been successfully installed

By the way, is there any way to see hidden/system files with Finder?

Thanks for your help.

---

<div class="post-metadata">

**Author:** ![supamanu](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/s/2bfe46/32.png) [@supamanu](https://www.ruby-forum.com/u/supamanu)\
**Post date:** [October 11, 2006, 6:47am UTC](https://www.ruby-forum.com/t/problems-installing-ruby-and-rails-on-mac-osx-1-3-9-panther/71739/2 "2006-10-11T06:47:45Z")

</div>

forgot to mention: I tried rails -v and got tcsh: rails: Command not  
found…so clearly install failed.

---

<div class="post-metadata">

**Author:** ![supamanu](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/s/2bfe46/32.png) [@supamanu](https://www.ruby-forum.com/u/supamanu)\
**Post date:** [October 11, 2006, 3:03pm UTC](https://www.ruby-forum.com/t/problems-installing-ruby-and-rails-on-mac-osx-1-3-9-panther/71739/3 "2006-10-11T15:03:32Z")

</div>

Hi,

Before we start, I will plug my own application  
([http://locomotive.raaum.org](http://locomotive.raaum.org)). But if you want to get it set up on  
your own, here’s some thoughts.

Problem 1. Your shell is not bash, it’s tcsh. That means that all  
those bash settings the hivelogic article is telling you to do will  
have no effect.

Solution 1. Probably the easiest thing to do is change your shell to  
bash.  
[http://www.askdavetaylor.com/how\_do\_i\_change\_my\_default\_shell\_in\_mac\_os\_x\_panther\_from\_tcsh\_to\_bash.html](http://www.askdavetaylor.com/how_do_i_change_my_default_shell_in_mac_os_x_panther_from_tcsh_to_bash.html)  
(I would use the Netinfo Manager method)

Problem 2. Permissions problems. You should always have write  
permission in your own home folder, but generally you will have to  
‘sudo’ changes in the /usr/local hierarchy.

…

Change your shell, make sure the new bash shell is set up properly and  
then see if rails is ok. If not, you may have to redo the  
installation.

Best,

-r

---

<div class="post-metadata">

**Author:** ![supamanu](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/s/2bfe46/32.png) [@supamanu](https://www.ruby-forum.com/u/supamanu)\
**Post date:** [October 11, 2006, 5:18pm UTC](https://www.ruby-forum.com/t/problems-installing-ruby-and-rails-on-mac-osx-1-3-9-panther/71739/4 "2006-10-11T17:18:09Z")

</div>

Sweet, thanks ryan.

Changed the shell to bash and, just like that, it recognised the new  
ruby installation!

Next I tried to reinstall gems and rails but that still is not working  
☹ strange, because I can see the gem and ruby executables in  
/usr/local/bin/

when i try to install rails, i get the  
/usr/local/lib/ruby/site\_ruby/1.8/rubygems/source\_index.rb:10:in  
‘require’:no such file to load --digest/sha2 (LoadError)

Huh?

---

<div class="post-metadata">

**Author:** ![supamanu](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/s/2bfe46/32.png) [@supamanu](https://www.ruby-forum.com/u/supamanu)\
**Post date:** [October 12, 2006, 3:44pm UTC](https://www.ruby-forum.com/t/problems-installing-ruby-and-rails-on-mac-osx-1-3-9-panther/71739/5 "2006-10-12T15:44:33Z")

</div>

I suspect rubygems is not installed properly in the /usr/local ruby  
(given the shell/path issues you had in the first round). I would  
suggest removing the ruby lib directory ( “sudo rm -rf  
/usr/local/lib/ruby” ) and starting over after the readline install  
point in the hivelogic tutorial.

-r

---

<div class="post-metadata">

**Author:** ![supamanu](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/s/2bfe46/32.png) [@supamanu](https://www.ruby-forum.com/u/supamanu)\
**Post date:** [October 16, 2006, 3:12pm UTC](https://www.ruby-forum.com/t/problems-installing-ruby-and-rails-on-mac-osx-1-3-9-panther/71739/6 "2006-10-16T15:12:36Z")

</div>

Thanks ryan - I’ll give it a try next week, away from my mac right now.  
I’m sure it will work this time.
