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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 18, 20262026-05-18T03:59:18+00:00 2026-05-18T03:59:18+00:00

When I try to run tests from TextMate in Rails3 i get an error

  • 0

When I try to run tests from TextMate in Rails3 i get an error that I trace back to boot.rb. When I try to run boot.rb via textmate I get this error:

LoadError: no such file to load — bundler

method gem_original_require in custom_require.rb at line 31
method require  in custom_require.rb at line 31
at top level    in boot.rb at line 4

This is even in a brand new rails project. I am able to run the same boot.rb file from terminal calling

ruby <path_to>/boot.rb

I can verify that my TM_RUBY variable is the same as when i call which ruby from the command line. Do you have any clue why I might be getting this error?

  • 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-18T03:59:19+00:00Added an answer on May 18, 2026 at 3:59 am

    I ran into this same problem with TextMate and RVM. What you need to do:

    1. Create a wrapper script for the gemset you want to use, using this RVM command:

      rvm wrapper ree@rails3 textmate
      

      This will add a new alias to your RVM install called textmate_ruby. As you can probably tell this assumes you’re using Ruby Enterprise (ree) and a gemset called rails3, but any RVM string will work here.

    2. Open TextMate’s preferences window, go to Advanced > Shell Variables. You need to create (or update) the TM_RUBY shell variable to the following:

      /path/to/your/.rvm/bin/textmate_ruby
      

      If your RVM is installed in your user dir (like mine), that’ll be:

      /Users/[YOUR USER NAME HERE]/.rvm/bin/textmate_ruby
      
    3. (Optional) You may also need/want to set the RUBYOPT shell variable, to instruct Ruby to load rubygems. This may be necessary to make certain bundles (like RSpec) work. Just set the value to rubygems.

    This should be all you need.

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

Sidebar

Related Questions

I get a generic failure when I try to run: saslpasswd2 username This was
Try loading this normal .jpg file in Internet Explorer 6.0. I get an error
I have some funny noob problem. I try to run unit tests from commandline:
When I try to run a .NET assembly ( boo.exe ) from a network
Every time I try to run a small application that uses a Derby DB
When I try to run the following code (from the REPL) in Clojure: (dotimes
When I try to run a particular stored procedure on my MS SQL 2005
whenever I try to run something in Java, Eclipse changes into the PHP perspective.
I have installed CherryPy 3.1.0,. Here is what happens when I try to run
Here's the target I'm using to run my tests: <target name=run-tests description=run the tests

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.