ruby - irb not starting -


i'm running ruby 1.9.2 w/ rbenv. moved users directory different drive. ruby , irb show using which.

$ ruby /volumes/pig/users/arrow/.rbenv/shims/ruby  $ irb /volumes/pig/users/arrow/.rbenv/shims/irb 

however, running irb hangs indefinitely.

i've been running ruby files under current config executing $ ruby -v hangs.

rbenv rehash can solve these sort of problems. anytime modify ruby installation need rerun command let rbenv rebuilt soft-links.

from command-line output:

rehash        rehash rbenv shims (run after installing binaries) 

you might need tell rbenv binaries again, i.e., rbenv global 1.9.2... , let adjust things.

remember, rbenv assumed binaries on different volume might have gotten confused , needed straighten out.

the other issue ruby bound files on other volume @ compile time (because that's rbenv does, compiles ruby you) when files couldn't found apps crashed. reinstalling rbenv fix that, telling reinstall particular ruby should have fixed it.


Comments

Popular posts from this blog

java - Play! framework 2.0: How to display multiple image? -

gmail - Is there any documentation for read-only access to the Google Contacts API? -

php - Controller/JToolBar not working in Joomla 2.5 -