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 3335830
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 18, 20262026-05-18T00:03:49+00:00 2026-05-18T00:03:49+00:00

I recently installed jgem and jruby on Mac OS X 10.6.4 with macports. Now

  • 0

I recently installed jgem and jruby on Mac OS X 10.6.4 with macports. Now both of them generate the notorious ‘Trace/BPT trap’ error when I try to run them.

For example, from the command line:

$ jgem --version
Trace/BPT trap
$ jruby --version
jruby 1.5.2 (ruby 1.8.7 patchlevel 249) (2010-11-03 6586) (Java HotSpot(TM) Client VM  1.6.0_03-p3) [i386-java]
Trace/BPT trap

This is not the first version of either of these programs I have installed on this machine, so I am curious if perhaps some old version of either java or ruby is to blame. I’m not familiar enough with jgem or jruby internals to know if that is even a reasonable guess.

Here are my ruby and java versions:

$ java -version
java version "1.6.0_03-p3"
$ ruby --version
ruby 1.8.7 (2010-08-16 patchlevel 302) [i686-darwin10]

Any insight is much appreciated. Thanks in advance.

  • 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-18T00:03:49+00:00Added an answer on May 18, 2026 at 12:03 am

    Just figured out my problem!

    The version of java was to blame. It was out-of-date and also for Mac OS X 10.5, from which I have recently upgraded. To solve this problem, here’s what I did:

    1. Download and install the most recent version of the jdk for Mac OS X 10.6 here.
    2. The newly installed java bin folder is at /System/Library/Frameworks/JavaVM.framework/Versions/1.6/Home/bin. Add this to the front of your $PATH in your profile file.
    3. Restart terminal or source the profile file.
    4. Type which java in terminal. The output should be the java installation path above with a /java at the very end.
    5. Type jruby --version. If jruby is now working, it should output something pleasant like jruby 1.5.2 (ruby 1.8.7 patchlevel 249) (2010-11-09 6586) (Java HotSpot(TM) 64-Bit Server VM 1.6.0_22) [x86_64-java]
    6. Now you’re done. Hurray for simple problems!
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

We recently installed Team Foundation Server 2008 and we are using it for both
I recently installed the Macports port of Ruby19 and it's changed my environment settings
I recently installed jEdit on my Mac OS 10.6 system. I would like to
I recently installed RailRoad gem to generate an .svg diagram of my app's models
I recently installed PDT Helios and now when using the debugger, it will break
I recently installed Windows 2008 Server to replace a crashed hard drive on a
I recently installed MySQL 5 on Windows 2003 and tried configuring an instance. Everything
I recently installed the Eclipse Metrics Plugin and have exported the data for one
I recently installed VS 6.0 after installing VS 2008 and overwrite JIT settings ..
I have recently installed .net 3.5 SP1. When I deployed a compiled web site

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.