Error in Install Ruby-Debug-Base on Ruby 2.0.0P247

error in install ruby-debug-base on ruby 2.0.0p247

for ruby > 1.8.x you have to use another gem apparently (byebug), ref:
How to use the debugger with Ruby 2.0?

Can't install Ruby 2.0.0 with rvm

When I installed Ruby 2.0 on my OS X Mountain Lion I had to ensure that OpenSSL was first installed. Since I'm using Homebrew, all I had to do a brew install openssl before rvm install 2.0.0. It looks like you're running Macports (which I haven't used before), so I guess sudo port install openssl may work for you.

Also try to install the following as well: autoconf, automake, libtool, pkg-config, libiconv, libyaml, libffi, readline, libxml2, libxslt, libksba, curl-ca-bundle, sqlite3, zlib, ncurses, gdbm - they're listed as being missing by the output you've provided.

An error occurred while installing bcrypt-ruby (3.1.2), and Bundler cannot continue

I checked the mkmf.log file, and found the error message.

$ cat /Users/me/.rvm/gems/ruby-2.0.0-p247@centralize/gems/bcrypt-ruby-3.1.2/ext/mri/mkmf.log

...

Agreeing to the Xcode/iOS license requires admin privileges, please re-run as root via sudo

...

I just recently updated XCode. So I opened up XCode and sure enough, I had to agree to the terms of use, and allow the installation to run. bundle runs perfectly, done!



Related Topics



Leave a reply



Submit