Calvin's

Icon

designs and hacks. people and products.

Not a fan of Ruby. Using it only when I absolutely have to.

I am exploring the use of cocoapods to manage Objective-C libraries; and since cocoapods is ruby-based, I had to go through the trouble of setting up my ruby environment again in my new machine once again.  Not a complete stranger to ruby/rails, I do mess with ruby/rails from time-to-time to run and customize redmine, which – to be fair – is a pretty nifty open source issue tracker from a user interface point-of-view (though I must say it is a serious memory hog, like most ruby-based apps :-p).

So jumping right into rvm hell once again… installing 1.9.2 doesn’t work.  Which led me quickly to this - http://stackoverflow.com/questions/8000145/ruby-rvm-llvm-and-mysql

ERROR: The provided CC(/usr/bin/gcc) is LLVM based, it is not yet fully supported by ruby and gems, please read <code>rvm requirements</code>.

Okay, so I have to update my rvm.

One more time…

rvm get head

Giving it another shot…

Calvins-MacBook-Pro.local ttys002 Sun Jul 08 15:58:27 |~|
calvin$ rvm install 1.9.3
Building 'ruby-1.9.3-p194' using clang - but it's not (fully) supported, expect errors.
Installing Ruby from source to: /Users/calvin/.rvm/rubies/ruby-1.9.3-p194, this may take a while depending on your cpu(s)...

ruby-1.9.3-p194 - #fetching
ruby-1.9.3-p194 - #downloading ruby-1.9.3-p194, this may take a while depending on your connection...
 % Total % Received % Xferd Average Speed Time Time Time Current
 Dload Upload Total Spent Left Speed
100 9610k 100 9610k 0 0 357k 0 0:00:26 0:00:26 --:--:-- 436k
ruby-1.9.3-p194 - #extracting ruby-1.9.3-p194 to /Users/calvin/.rvm/src/ruby-1.9.3-p194
ruby-1.9.3-p194 - #extracted to /Users/calvin/.rvm/src/ruby-1.9.3-p194
ruby-1.9.3-p194 - #configuring
ruby-1.9.3-p194 - #compiling
ruby-1.9.3-p194 - #installing
Retrieving rubygems-1.8.24
 % Total % Received % Xferd Average Speed Time Time Time Current
 Dload Upload Total Spent Left Speed
100 371k 100 371k 0 0 402k 0 --:--:-- --:--:-- --:--:-- 1042k
Extracting rubygems-1.8.24 ...
Removing old Rubygems files...
Installing rubygems-1.8.24 for ruby-1.9.3-p194 ...
Installation of rubygems completed successfully.
ruby-1.9.3-p194 - adjusting #shebangs for (gem irb erb ri rdoc testrb rake).
ruby-1.9.3-p194 - #importing default gemsets (/Users/calvin/.rvm/gemsets/)
Install of ruby-1.9.3-p194 - #complete
Ruby 'ruby-1.9.3-p194' was build using clang - but it's not (fully) supported, expect errors.

Okay… thanks for the warning… I just don’t trust ruby and avoid it as much as I can, using it only when I absolutely have to.

And I wonder why.