Feed on
Posts
Comments

I followed the HiveLogic Ruby/Rails/Snow Leopard Install Guide and installed my own version of ruby/rails in /usr/local. Very straightforward and well reasoned guide.

My installation did not work without some post-tweaking though.

I had to change the /usr/local/bin/rake that gem installed to permissions 755. The “sudo gem install rake” command had the ownership/perms so that only root could see it.
Before I fixed the perms root picked up all /usr/local/bin versions of rails + tools (good) but my own user got /usr/bin/rake instead of /usr/local/bin. Here’s how to test that:
for cmd in ruby irb gem rake; do which $cmd; done

Next issue, I was getting this error any time I tried to run ruby:

gem environment
/usr/local/lib/ruby/site_ruby/1.8/rubygems.rb:10:in `require': no such file to load -- rubygems/defaults (LoadError)
from /usr/local/lib/ruby/site_ruby/1.8/rubygems.rb:10
from /usr/local/bin/gem:8:in `require'
from /usr/local/bin/gem:8

Turns out /usr/local/lib/ruby/site_ruby/1.8/rubygems directory has perms 750 and is owned by root/wheel. The equivalent OS X system version in /usr/lib/ruby/site_ruby/1.8/rubygems has same perms but ownership root/admin. I decided to create a dev group, add my user to that group and change the group ownership of /usr/local/lib/ruby.

I also ended up having to change the perms on /usr/local/bin/rails to allow all users to read and execute.

Success!

I found I have to start eclipse with some new options to run 3.2 on Snow Leopard.

$ ./eclipse -clean -consolelog -d32 -vm /System/Library/Frameworks/JavaVM.framework/Versions/1.5.0/Home/bin/java

I need to run the java 1.5 vm and use 32 architecture (Snow Leopard uses 64 bit java by default).

I was getting all sorts off odd errors otherwise — class not found exceptions, etc. Seemingly unrelated errors ;p

Handmade Store on a Bike

So I’ve been working on this side project with some friends and we finally launched a women only dating site. We even made our first ever press release about it! We hope its a fresh alternative to the few existing soulless, or just plain bad, lesbian dating sites out there.

GrrlDate, a lesbian dating site, launches

GrrlDate is for women who want to meet new friends or find romance without muddling through the pretentious lesbian bar scene.

Registration is free. Sign up, post as much or as little as you want about yourself and what you want out of life, whether you’re looking for romance, new friends, or fellow parents. Then browse for like minded women and speak your mind.

GrrlDate is friendly, ad free, and simple enough for anyone to get started right away.

Find Love. Find Friendship. Find each other. At GrrlDate. We dare you.

Older Posts »