Lighthouse has a new layout. Prefer the old one? Return to the old layout, and switch back any time from the link at the top of each page.

WebROaR Gem Path

#12

Hello!

We've seriously tried WebROaR in production, but we have met another issue again. It's really sad.

# cat /etc/redhat-release
CentOS release 5.4 (Final)
# webroar -v
WebROaR-0.2.7

Ruby Enterprise Edition (2009.10) is installed into the /opt/ruby (symlinked to /opt/ruby-enterprise-1.8.7-2009.10), obviously gem path is located at /opt/ruby-enterprise-1.8.7-2009.10/lib/ruby/gems/1.8).

First, we're modified /etc/init.d/webroar startup script to enable search path in the correct directories:

PATH=/opt/ruby/bin:/usr/sbin:/sbin:$PATH
NAME=webroar
# blablabla

Then:

# service webroar start
Initiating WebROaR startup sequence ...
Starting message queue server ... done.
Starting webroar-head process ...
No applications currently deployed on the server.
Head process started successfully.
Starting webroar-analyzer process ... done.
Server started successfully.

But:

# w3m http://localhost:3000/admin-panel
Not Found

The server has not found anything matching the Request-URI.

When I've looked in the Admin Panel.log file: http://pastie.org/775451 and webroar.log file: http://pastie.org/775461 .

Not so quickly:

# gem list | egrep '(rails|active+|action+)'
actionmailer (2.3.5, 2.3.4)
actionpack (2.3.5, 2.3.4)
activerecord (2.3.5, 2.3.4)
activeresource (2.3.5, 2.3.4)
activesupport (2.3.5, 2.3.4)
rails (2.3.5, 2.3.4)

All correspondent gems is installed.

Any ideas?

Reported by eveel · January 13th, 2010 @ 02:03 AM

State: resolved
Milestone: none
Assigned to: Dharmarth Shah Dharmarth Shah

Activity

  1. Aditya Babbar
    Aditya Babbar
    • State changed from new to open
    • Assigned user set to Aditya Babbar

    eveel,
    Sorry about the trouble.

    Could you please check the rack versions installed on your system? We were able to reproduce this issue when both rack 1.0.1 and the recently released rack 1.1.0 are present.

    ActionPack 2.3.5 gem (used by WebROaR Admin Panel) has a dependency declaration ("rack", "~> 1.0.0") and hence tries loading the older version 1.0.1 while WebROaR has already loaded up the latest version of rack in the worker process.

    There is a ticket open for this issue in rails Lighthouse:
    https://rails.lighthouseapp.com/projects/8994/tickets/3685

    For now, could you please try uninstalling rack 1.1.0 and let us know if using only rack 1.0.1 resolves the issue for you?

    January 13th, 2010 @ 04:55 PM

  2. Dharmarth Shah
    Dharmarth Shah
    • State changed from open to resolved
    • Assigned user changed from Aditya Babbar to Dharmarth Shah

    Suggested solution looks working. Eveel has also commented about it on Rails lighthouse.

    https://rails.lighthouseapp.com/projects/8994/tickets/3685

    The given solution also working for other users. Refer following discussion thread on google group.

    http://groups.google.com/group/webroar/browse_thread/thread/a106920...#

    Marking the issue as fixed.

    June 23rd, 2010 @ 01:33 PM

Please Sign in or create a free account to add a new ticket.

With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.