#12 ✓resolved
eveel

WebROaR Gem Path

Reported by eveel | 2010-01-13 02:03:26 UTC

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?

Comments and changes to this ticket

  • Aditya Babbar

    Aditya Babbar 2010-01-13 16:55:23 UTC

    • 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?

  • Dharmarth Shah

    Dharmarth Shah 2010-06-23 13:33:22 UTC

    • 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.

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.

New-ticket Create new ticket

Create your profile

Help contribute to this project by taking a few moments to create your personal profile. Create your profile ยป

Source Code Location
Repository is at http://github.com/webroar/webroar


Check out the development master:
git clone git://github.com/webroar/webroar.git


Creating a bug report

When creating a bug report, be sure to include as much relevant information as possible.


Security vulnerabilities should be reported via an email to security@webroar.in, do not use lighthouse for reporting security vulnerabilities. All content in lighthouse is publicly available as soon as it is posted.

Shared Ticket Bins

Pages