Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7082069
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 28, 20262026-05-28T07:00:00+00:00 2026-05-28T07:00:00+00:00

I have a OSX 10.7 Lion with ruby 1.9 installed via macports: sudo port

  • 0

I have a OSX 10.7 Lion with ruby 1.9 installed via macports:

sudo port install ruby19 +nosuffix +mactk

All works fine, if i run ‘ruby’ in terminal it runs Ruby version 1.9. But if i try to install ‘rb-cocoa’ to get Rubycocoa access in my macports ruby, i got following error:

sudo port install rb-cocoa
--->  Computing dependencies for rb-cocoa
--->  Installing ruby @1.8.7-p357_0+thread_hooks
--->  Activating ruby @1.8.7-p357_0+thread_hooks
Error: Target org.macports.activate returned: Image error: /opt/local/bin/erb is being used by the active ruby19 port.

It seems that rb-cocoa ignores my Ruby 1.9 install and wants ancient 1.8 version :(. Is it any way to handle this error, or all this is not intended to be used on OSX?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-28T07:00:01+00:00Added an answer on May 28, 2026 at 7:00 am

    Lion includes RubyCocoa for use with the system-provided Ruby 1.8.7. If you’re trying to get an existing RubyCocoa app to run, then you shouldn’t have to install Ruby or RubyCocoa at all.

    Reasons to install RubyCocoa from MacPorts might include: satisfying MacPorts dependencies, using a newer/custom version of RubyCocoa, or installing on an older version of the OS that didn’t include RubyCocoa.

    If MacPorts had a port of rb-cocoa that was compatible with ruby19, it would be called rb19-cocoa. However, RubyCocoa doesn’t seem to support Ruby 1.9 at all. install.rb checks for 1.9 and errors out.

    It sounds like MacRuby is a better solution for writing new Cocoa apps in Ruby, although I haven’t used it myself. But if you’re trying to run an existing app, by all means use 1.8.7.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have all the prereq's installed.. I am on osx lion 10.7.2 xcode: $
I have Apache running on OSX Lion and MacPorts Python and some packages installed
I've installed Ruby 1.9.2 through RVM on a fresh install of OS X Lion.
I am running OSX Lion and have installed python2.7 from python.org (this distribution can
I've been working on installing Ruby on my mac, OSX Lion. I've installed XCode,
I have Ruby and Rails installed with RVM in a Mac OS X Lion
I'm running node.js on OSX and have just installed mongodb using command npm install
I tried to install Ruby 2.0.0dev (2011-12-15 trunk 34025) on Mac OSX Lion (10.7.2).
I have been trying to install Git using Homebrew on OSX Lion for over
I recently set up dev/staging/production environment on OSX Lion. I have a git repo

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.