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

  • Home
  • SEARCH
  • 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 6857115
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 27, 20262026-05-27T01:58:26+00:00 2026-05-27T01:58:26+00:00

I’ve looked in the BBEdit forums, the RVM documentation and on Stack Overflow –

  • 0

I’ve looked in the BBEdit forums, the RVM documentation and on Stack Overflow – with no joy, so hopefully someone can answer what I hope is a fairly simple question.

Last night I left behind my system Ruby (1.9.2) and installed RVM (I’m on Mac OSX Lion). I am now using the RVM Ruby 1.9.3 on my system as default and everything works fine in the Terminal. However, I use BBEdit to code and want it to use the same RVM Ruby when I hit Command-R to run scripts. Unlike in Textmate, there doesn’t seem to be an obvious way to set the PATH to a Ruby installation in BBEdit. Following a related query to the BBEdit support people, I created a .plist file at ~/.MacOSX/environment.plist and tried to set the PATH in there, but it doesn’t work. I’m not at home at the moment so if anyone needs to see that .plist file, I can post it later.

  • 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-27T01:58:27+00:00Added an answer on May 27, 2026 at 1:58 am

    If you’re using the BBEdit worksheet you can add do some commands to bring RVM into your environment (See this entry on the bbedit-hints tumblr blog.)

    Now, to get the Run command to run the appropriate Ruby, via RVM, the BBEdit documentation says to specify the path to Ruby in the #! line of your script. Just point it to RVM. (Because BBEdit’s guess will be the system default Ruby).

    The RVM intructions for TextMate talk about the rvm-auto-ruby and wrapper scripts. I’m more familiar with using the wrapper script, so I’ll talk about that below.

    1. Create a wrapper script as instructed by that documentation
    2. Use which to find the path for that
    3. Edit the #! line of your script to use that path.

    I think the wrapper script will work better in your case, because you might not have a .rvmrc file (since you said you’re using 1.9.2 as your RVM default now).

    Yes, this is slightly ugly (making these scripts harder to share), and an environmental variable would be nice, but… 😐

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

Sidebar

Related Questions

I'm new to using the Perl treebuilder module for HTML parsing and can't figure
link Im having trouble converting the html entites into html characters, (&# 8217;) i
I have a jquery bug and I've been looking for hours now, I can't
I'm parsing an RSS feed that has an ’ in it. SimpleXML turns this
Does anyone know how can I replace this 2 symbol below from the string
I have a string like this: La Torre Eiffel paragonata all’Everest What PHP function
That's pretty much it. I'm using Nokogiri to scrape a web page what has
I have just tried to save a simple *.rtf file with some websites and
I want to count how many characters a certain string has in PHP, but
I would like to count the length of a string with PHP. The string

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.