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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 21, 20262026-05-21T11:27:09+00:00 2026-05-21T11:27:09+00:00

Using a fresh install of Ruby 1.9.2 (via RVM), Textmate, and the Handcrafted Haml

  • 0

Using a fresh install of Ruby 1.9.2 (via RVM), Textmate, and the Handcrafted Haml bundle, I get the following error when trying to use it:

/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/rubygems.rb:827:in
report_activate_error’: Could not find
RubyGem haml (>= 0) (Gem::LoadError)
from
/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/rubygems.rb:261:inactivate’
from
/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/rubygems.rb:68:in `gem’ from -e:1

I ran sudo gem install haml and it installed successfully. The output of ruby -v is 1.9.2p180. It seems like TextMate is still looking for my system (Mac OS X) version of Ruby, not the new one (1.9.2) I installed. When I look at the gemsets for my RVM-managed Ruby 1.9.2 installation, the Haml gem is loaded. Any thoughts on how to get TextMate to search for the gem in my new/correct gemset?

  • 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-21T11:27:10+00:00Added an answer on May 21, 2026 at 11:27 am

    You need to tell TextMate which Ruby to use. As you guessed and can see from the error, the PATH for TextMate causes it to use /usr/bin/ruby. See these questions and their answers:

    • How do I get Textmate to use MacRuby?
    • TextMate, rvm and TM_RUBY
    • Using RVM with different gemsets in TextMate

    I personally use my own non-RVM hand-compiled Ruby in /usr/local/bin and so I go into
    TextMate->Preferences->Advanced->Shell Variables
    and create a variable named PATH that is set to
    /usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin

    Note that I’ve put /usr/local/bin before /usr/bin so that my ruby is found before the system’s.

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

Sidebar

Related Questions

I have a VPS running a fresh install of Ubuntu 10.04 LTS. I'm trying
I'm using (or trying to anyway) use the bundled XDebug with XAMPP 1.7.2. It
Note: I'm using a bash shell on a nearly-fresh osx 10.6 install. This doesn't
Hi i am trying to write a silverlight applicaiton on Facebook. I am using
That Metadata error is what I get when I browse to the service in
I've been trying on and off for the past 6 months to get OpenCV
How can I read the delay, left and top offset data for each frame
I just migrated a drupal 6 site from the ('normal-live') host to a MAMP
I am designing a small C# application and there is a web browser in
I have been working on a demo project all day and everything went just

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.