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

export CSV by rails

I will not save a file, just make it downloaded by Tempfile. I will not use database table, of course. This is how my form looks (in new page) config/routes.rb file resources :accounts, only: [:new, :create]... Continue →