installing ruby with rbenv error: ld: warning: directory not found for option -


i'm trying install ruby 2.0.0-p247 rbenv build keeps failing. did work before:

$ rbenv versions   system   2.0.0-p195   2.0.0-p353 * 2.1.0 (set /users/nemo/.ruby-version) 

i looked @ using rbenv install throws error , tried suggestion didn't

i tried following before trying install

sudo rm -rf /var/folders/yt/5nww85g11gdgqcz4tcl1dndc0000gn/t/* sudo rm -rf /tmp/ruby*  $ brew update up-to-date. $ brew doctor system ready brew.  $ gcc --version configured with: --prefix=/library/developer/commandlinetools/usr --with-gxx-include-dir=/usr/include/c++/4.2.1 apple llvm version 5.1 (clang-503.0.40) (based on llvm 3.4svn) target: x86_64-apple-darwin13.1.0 thread model: posix  $ sudo rbenv install 2.0.0-p451  last 10 log lines:  installing default openssl libraries  linking shared-object dl/callback.bundle  ld: warning: directory not found option '-l/users/nemo/.rbenv/versions/2.0.0-p451/lib'  linking shared-object openssl.bundle  ld: warning: directory not found option '-l/users/nemo/.rbenv/versions/2.0.0-p451/lib'  linking shared-object nkf.bundle  ld: warning: directory not found option '-l/users/nemo/.rbenv/versions/2.0.0-p451/lib'  linking shared-object ripper.bundle  ld: warning: directory not found option '-l/users/nemo/.rbenv/versions/2.0.0-p451/lib' 

what else try?

i found solution here: https://github.com/homebrew/homebrew/issues/28651

basically:

brew uninstall readline brew install readline 

solved issue


Comments

Popular posts from this blog

how to proxy from https to http with lighttpd -

android - Automated my builds -

python - Flask migration error -