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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 13, 20262026-06-13T10:26:40+00:00 2026-06-13T10:26:40+00:00

I think I’ve found a bug in torquebox. For some reason, if I gem

  • 0

I think I’ve found a bug in torquebox. For some reason, if I “gem install torquebox” and then add a “gem ‘torquebox'” line to my Gemfile, “torquebox env” stops working properly. This is very easy to reproduce, so if anyone knows what’s going on please let me know:

To reproduce the bug, let’s create a new gemset and install torquebox-server

$ rvm use jruby-1.6.7.2
$ rvm gemset create test
$ mkdir torquetest
$ cd torquetest
$ rvm use jruby-1.6.7.2@test

Let me pause for a moment to show you what’s in my jruby-1.6.7.2@global, in case that matters:

$ ls ~/.rvm/gems/jruby-1.6.7.2@global/gems 
total 0
drwxr-xr-x   9 jstokes   306 Aug  9 16:26 ./
drwxr-xr-x   7 jstokes   238 Aug  9 16:25 ../
drwxr-xr-x   5 jstokes   170 Aug  9 16:25 bouncy-castle-java-1.5.0146.1/
drwxr-xr-x  15 jstokes   510 Aug  9 16:26 bundler-1.1.5/
drwxr-xr-x  34 jstokes  1156 Aug  9 16:25 jruby-launcher-1.0.15-java/
drwxr-xr-x  10 jstokes   340 Aug  9 16:25 jruby-openssl-0.7.7/
drwxr-xr-x  13 jstokes   442 Aug  9 16:25 rake-0.9.2.2/
drwxr-xr-x  14 jstokes   476 Aug  9 16:26 rubygems-bundler-1.0.5/
drwxr-xr-x   8 jstokes   272 Aug  9 16:26 rvm-1.11.3.5/

Anyway, continuing on:

$ gem install torquebox-server
$ torquebox env

TORQUEBOX_HOME=/Users/jstokes/.rvm/gems/jruby-1.6.7.2@test/gems/torquebox-server-2.1.2-java
JBOSS_HOME=/Users/jstokes/.rvm/gems/jruby-1.6.7.2@test/gems/torquebox-server-2.1.2-java/jboss
JRUBY_HOME=/Users/jstokes/.rvm/rubies/jruby-1.6.7.2

So far so good, right? Now here’s where it goes south:

$ echo "gem 'torquebox'" > Gemfile
$ torquebox env

TORQUEBOX_HOME=
JBOSS_HOME=/jboss
JRUBY_HOME=/Users/jstokes/.rvm/rubies/jruby-1.6.7.2

And now the vars are broken, so I can’t use torquebox. If I delete the “gem ‘torquebox'” line from the Gemfile, it works fine again, however, it messes up my rails deployment to torquebox. Any ideas?

(PS: This happens on OS X 10.8.2 and OS X 10.7.5. I’m using the latest version of ZSH with iTerm, and RVM is updated to the latest stable release as of today.)

Update: “bundle exec torquebox env” doesn’t work either, FYI 🙁

  • 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-06-13T10:26:42+00:00Added an answer on June 13, 2026 at 10:26 am

    You only have torquebox in Gemfile; you’ll need to use torquebox-server instead (since torquebox is a dependency of torquebox-server).

    $ bundle show
    Gems included by the bundle:
      * blankslate (2.1.2.4)
      * bundler (1.2.1)
      * clj (0.0.5.6)
      * rake (0.9.2.2)
      * thor (0.16.0)
      * torquebox (2.1.2)
      * torquebox-cache (2.1.2)
      * torquebox-configure (2.1.2)
      * torquebox-core (2.1.2)
      * torquebox-messaging (2.1.2)
      * torquebox-naming (2.1.2)
      * torquebox-rake-support (2.1.2)
      * torquebox-security (2.1.2)
      * torquebox-server (2.1.2)
      * torquebox-stomp (2.1.2)
      * torquebox-transactions (2.1.2)
      * torquebox-web (2.1.2)
    $ torquebox env
    TORQUEBOX_HOME=/Users/asari/.rvm/gems/jruby-1.6.8@torquebox/gems/torquebox-server-2.1.2-java
    JBOSS_HOME=/Users/asari/.rvm/gems/jruby-1.6.8@torquebox/gems/torquebox-server-2.1.2-java/jboss
    JRUBY_HOME=/Users/asari/.rvm/rubies/jruby-1.6.8
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I think I have found a bug when setting or getting the Me.Top property
I think I found a bug in the static contract checking tool. Is there
Think Google Chrome's Inspect Element. When a user mouses over a line in Developer
Think you are the proud owner of Facebook, then which data you want to
I think I am having some problems related to concurrent inserts so I wanted
Think I have an activity with some layouts, I want to know is it
Think twitter where you paste a link next to some plain text and when
I think this is specific to IE 6.0 but... In JavaScript I add a
think about having a skript where you have some words as input. now you
Think I have domain.com that redirects into some.otherdomain.com . I don't want to show

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.