2

Unable to install Ruby

 2 years ago
source link: https://www.codesd.com/item/unable-to-install-ruby.html
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.

Unable to install Ruby

advertisements

I am having trouble installing ruby through mac ports. The error that I am receiving is this one:

:error:extract org.macports.extract for port ruby returned: command execution failed
:debug:extract Error code: NONE
:debug:extract Backtrace: command execution failed
while executing
"$procedure $targetname"
:info:extract Warning: targets not executed for ruby: org.macports.activate

Can anyone help with this error? So far I have tried doing:

port -v selfupdate
xcodebuild -license agree

Neither of those seemed to fix my target issue.

Anyone have other tips?


I am not experienced using macports, and would rather prefer homebrew over it, at the moment.

However, to install Ruby (or specific versions of Ruby), I would really recommend using rbenv or RVM.

It seems that you are new to ruby, and if that is the case, I would further advice you to use rbenv over RVM. You will find it more pleasant, at the moment. Just my 2 cents.

Related Articles

Unable to install ruby-oci8 on Ubuntu 12.04LTS

I execute $ bundle install For my rails application... (3.2.8) Right when it gets to ruby-oci8 ... Gem::Installer::ExtensionBuildError: ERROR: Failed to build gem native extension. /home/ubuntu/.rvm/rubies/ruby-1.9.3-p448/bin/ruby extconf.rb checking

Unable to install Ruby using RVM

I'm running Debian Wheezy with kernel 2.6.32-028stab101.1. I just installed Ruby and RVM. The current installed version is ruby 1.9.3p194 (2012-04-20 revision 35410) [x86_64-linux], however, I need version 1.8.7-p371 for my current code. I tried runn

Unable to install Ruby on MAC 10.11.5

I cannot install ruby new version. I stall the home-brew and ruby-build, both install successful. I type $ rbenv, it shows ... install Install a Ruby version using ruby-build ... then i stall version 2.3.1 $ rbenv install 2.3.1 it shows error Zhiming

Unable to install ruby-debug-base19x gem

When I try to install ruby-debug-base19x gem for debug my application using the RubyMine IDE I received the below error message, can anybody help me? I'm using Mac OS X 10.7.4 /Users/danilobarsotti/.rvm/rubies/ruby-1.9.3-p194/bin/ruby extconf.rb chec

Unable to install ruby ​​1.8.7 on Mac 10.8 via RVM

I can't install ruby ree or ruby 1.8.7 on my Mac 10.8.2. I did that: $ brew install libksba $ brew update $ brew install autoconf automake $ brew tap homebrew/dupes $ brew install autoconf automake apple-gcc42 Then i try to install ruby 1.8.7 and i c

Unable to install Ruby on updated OS X Mavericks

I'm trying to install Ruby 1.9.2 so that I can take an online course in Ruby. I just upgraded by OSX to Mavericks (10.9.1) so that I could install the latest version of XCode (5.0.2), that is now also installed. I'm sure I must be missing something b

Unable to install ruby ​​using rvm because of Mac port issues

I am trying to install ruby 1.9.2 or latest to work with cupertino gems In order to install ruby, i have install 3rd party tool(RVM) I am able to install rvm, However to install ruby, i am getting macport errors I tried to resolve it using existing s

Unable to install Ruby on OS X

I'm trying to follow the installation instructions for Ruby on Rails from Hivelogic.com. I've done this before on previous installs of OSX without trouble. I'm having trouble this time installing on Snow Leopard. At the end of the "make" step in

Unable to install ruby ​​1.9.3 on OSX Mountain Lion

I have home brew installed and rbenv. I've followed these instructions: http://octopress.org/docs/setup/rbenv/ Everything seems to work flawlessly but when I type ruby -v it still says 1.8.7... Not sure what I'm doing wrong.Unix will run the copy of

Unable to install Ruby DevKit on Windows 8

Please help me, I am desperate. I am encountering the following error when installing different gems: Building native extensions. This could take a while... ERROR: Error installing bson_ext: ERROR: Failed to build gem native extension. ... For this r

Unable to install ruby ​​1.9.1 on MacOSX 10.6

I can't seem to be get Ruby installed on my Mac. These are the steps I've taken so far: Downloaded the package from Ruby's site (http://www.ruby-lang.org/en/downloads/) Unpacked it running { tar xzvf ruby-1.9.1-p376.tar.gz } Went into the new ruby fo

Unable to install Ruby gems

I am trying for the first time to install some Ruby gems on Mac OS X Leopard. Please see the command and the output below. My question is how do I install a gem with dependencies? I tried installing individual dependency gems first from a locally dow

Unable to install ruby-1.9.2 in Mac OSX 10.8.1 due to a symbolic link error

First, I tried the common rvm install. rvm install 1.9.2 However, the following error was shown: The provided compiler '/usr/bin/gcc' is LLVM based, it is not yet fully supported by ruby and gems, please read `rvm requirements`. Then I run rvm requir

Unable to install ruby ​​version on redhat

I have the following problem and whatever I try, nothing helps. I hope someone could help me with this. I have a redhat server and I'm trying to install redmine on it. Redmine needs Ruby >= 1.8.7 to run so I installed it and when I execute ruby -v in

About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK