I’m sorry. I didn’t look before leaping, installed 1.9 on Leopard, and
now my all my Rails apps are hosed.
I installed 1.9 with the following commands:
curl -O ftp://ftp.ruby-lang.org/pub/ruby/1.8/ruby-1.9.0.tar.gz
tar xzvf ruby-1.9.0.tar.gz
cd ruby-1.9.0
./configure --prefix=/usr/local --enable-pthread
–with-readline-dir=/usr/local --enable-shared
make
sudo make install
Any ideas how I can get back to the version that came with Leopard?
Thanks, much…
I am curious about if the TimeMachine is useful in this occasion or not?
I don’t have it turned on (because I have no backup device) but I don’t
think so. I think it works similarly to Spotlight in Tiger – it only
searches your home directory and up.
If anyone’s actually used Time Machine and knows for sure, feel free to
chime in.
I don’t have it turned on (because I have no backup device) but I don’t
think so. I think it works similarly to Spotlight in Tiger – it only
searches your home directory and up.
Time Machine makes an exact duplicate of your entire drive (minus any
directories you exclude).
In fact, restoring from Time Machine was too exact for me; I had
formatted my drive as Case-Sensitive HFS+, which it turns out is not
compatible with Photoshop. I tried reformatting my drive as
Case-Insensitive HFS+ and then restoring from Time Machine, and the
Time Machine restore reformatted it as Case-Sensitive again.
I’m sorry. I didn’t look before leaping, installed 1.9 on Leopard, and
now my all my Rails apps are hosed.
I installed 1.9 with the following commands:
curl -O ftp://ftp.ruby-lang.org/pub/ruby/1.8/ruby-1.9.0.tar.gz
tar xzvf ruby-1.9.0.tar.gz
cd ruby-1.9.0
./configure --prefix=/usr/local --enable-pthread
–with-readline-dir=/usr/local --enable-shared
make
sudo make install
I fixed it.
Hop into /usr/local/bin and delete everything there.
Follow the steps on the Hive Logic guide for installing Ruby and Ruby
gems.
I had to reinstall Rails, too. I’m guessing it’s a path issue between
Leopard’s native Ruby install and the stuff on Hive Logic.
Hive Logic has you install Ruby in /usr/local/bin while Apple’s
default Ruby lives in /usr/bin. All you need to do is adjust your
path so /usr/bin will be found first again.
I still think that TimeMachine can recover the Ruby Folder.I have no
idea if
the user/bin is a folder in the Finder.
Anyway, I don’t have a Mac and I hope that I can buy one in 2008.
So if not, I wish Apple can add this to the MacOs then the coders will
be
happy!
I don’t have it turned on (because I have no backup device) but I don’t
think so. I think it works similarly to Spotlight in Tiger – it only
searches your home directory and up.
Time Machine makes an exact duplicate of your entire drive (minus any
directories you exclude).
In fact, restoring from Time Machine was too exact for me; I had
formatted my drive as Case-Sensitive HFS+, which it turns out is not
compatible with Photoshop. I tried reformatting my drive as
Case-Insensitive HFS+ and then restoring from Time Machine, and the
Time Machine restore reformatted it as Case-Sensitive again.
Wow.
Really, that’s all I can say: wow. That’s awesome. I’m definitely
getting an external drive then.
This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.