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

using has_secure_password

For authentication, we need to do following three: to model, has_secure_password to table, password_digest bundle bcrypt gem So, we add has_secure_password to User model, has_secure_password and it requires gem ‘bcrypt-ruby’ to the... Continue →