ログってなんぼ

日々のメモです

warning: ignoring extraneous `ruby-' prefix in version の対処法

$ rails s
warning: ignoring extraneous `ruby-' prefix in version `ruby-1.9.3-p125'
         (set by /Users/okisanjp/workspace/interest/.ruby-version)

シンボリックリンクを貼ってあげる

$ ln -s ~/.rbenv/versions/1.9.3-p125 ~/.rbenv/versions/ruby-1.9.3-p125


ll $(rbenv root)/versions
total 8
drwxr-xr-x  7 okisanjp  staff  238  7 14 23:40 1.9.3-p125
drwxr-xr-x  6 okisanjp  staff  204  7  4 17:31 2.0.0-p645
drwxr-xr-x  6 okisanjp  staff  204 10  7  2014 2.1.3
lrwxr-xr-x  1 okisanjp  staff   10  7 18 09:32 ruby-1.9.3-p125 -> 1.9.3-p125