railss-system-product-name:~ rails$ ln -s /ruby-1.9.2-p0 usr/bin
ln: usr/bin: No such file or directory
railss-system-product-name:~ rails$ ruby -v
-bash: ruby: command not found
railss-system-product-name:~ rails$ sudo ln -s /usr/bin/ruby1.9 /usr/bin/ruby
Password:
ln: /usr/bin/ruby: File exists
railss-system-product-name:~ rails$ ruby -v
-bash: ruby: command not found
railss-system-product-name:~ rails$ /usr/local/bin/ruby -v
-bash: /usr/local/bin/ruby: No such file or directory
railss-system-product-name:~ rails$ /usr/bin/ruby -v
-bash: /usr/bin/ruby: No such file or directory
railss-system-product-name:~ rails$ ls -l /usr/bin|grep ruby
lrwxr-xr-x 1 root wheel 7 Oct 20 03:41 irb -> ruby1.9
lrwxr-xr-x 1 root wheel 13 Oct 20 03:26 irb1.8 -> ruby-1.9.2-p0
lrwxr-xr-x 1 root wheel 7 Oct 20 03:41 ruby -> ruby1.9
lrwxr-xr-x 1 root wheel 7 Oct 20 03:24 ruby1.8 -> ruby1.9
lrwxr-xr-x 1 root wheel 22 Oct 20 03:23 ruby1.9 -> /opt/local/bin/ruby1.9
lrwxr-xr-x 1 root wheel 83 Oct 18 04:24 update_rubygems -> ../../System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/bin/update_rubygems
railss-system-product-name:~ rails$ paste bin
paste: bin: No such file or directory
railss-system-product-name:~ rails$ /usr/bin/ruby1.9 -v
-bash: /usr/bin/ruby1.9: No such file or directory
railss-system-product-name:~ rails$