How do you install ruby before 1.9.3?

How do you install ruby before 1.9.3?

rbenv install --list
rbenv install 1.9.2-p180

old version error. Need apple-gcc42,

$ ls -l /usr/bin | grep gcc
-rwxr-xr-x   1 root   wheel     14224 Apr  8 14:45 gcc
lrwxr-xr-x   1 root   wheel         5 Apr  8 14:45 llvm-gcc -> clang
brew tap homebrew/dupes ; brew install apple-gcc42

as on the guide of error message

ls -l /usr/bin | grep gcc
-rwxr-xr-x   1 root   wheel     14224 Apr  8 14:45 gcc
lrwxr-xr-x   1 root   wheel         5 Apr  8 14:45 llvm-gcc -> clang

looks the same… where did it go, gcc42 ?

rbenv install 1.9.2-p180

is now working, however. Only dunno why..

 
0
Kudos
 
0
Kudos

Now read this

local time in Rails app

This is what I found: when I did Time.now in Ruby, it returns my local time (my system time, I should say). when I did Time.zone.now or Time.now.in_time_zone in any Rails file it shows the time as set it up on config/application.rb:... Continue →