WebROaR Gem Path
Reported by eveel | January 13th, 2010 @ 02:03 AM
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 January 13th, 2010 @ 04:55 PM
- 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/3685For 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 June 23rd, 2010 @ 01:33 PM
- 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.
Create your profile
Help contribute to this project by taking a few moments to create your personal profile. Create your profile ยป
<strong>Source Code Location</strong>
Repository is at <a href="http://github.com/webroar/webroar" target="_blank">http://github.com/webroar/webroar</a>
<p>
Check out the development master:
git clone git://github.com/webroar/webroar.git
<p>
<strong>Creating a bug report</strong>
When creating a bug report, be sure to include as much relevant information as possible.
<p>
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.