#19 ✓resolved
GeekTantra

Unable to deploy app on WebRoar

Reported by GeekTantra | March 27th, 2010 @ 12:57 AM

Hi,

I have been trying to deploy a simple testapp on Webroar but keep getting the following error in /var/log/webroar/TestApp.log

/var/www/rails-apps/testapp/config/environment.rb:7 /usr/local/lib/site_ruby/1.8/rubygems/custom_require.rb:31:in gem_original_require' /usr/local/lib/site_ruby/1.8/rubygems/custom_require.rb:31:inrequire' /usr/lib/ruby/gems/1.8/gems/webroar-0.3.1/src/ruby_lib/ruby_interface/../rack/adapter/rails.rb:40:in load_application' /usr/lib/ruby/gems/1.8/gems/webroar-0.3.1/src/ruby_lib/ruby_interface/../rack/adapter/rails.rb:26:ininitialize' /usr/lib/ruby/gems/1.8/gems/webroar-0.3.1/src/ruby_lib/webroar_app_loader.rb:43:in new' /usr/lib/ruby/gems/1.8/gems/webroar-0.3.1/src/ruby_lib/webroar_app_loader.rb:43 Sat Mar 27 00:48:19 2010-20419-Error:Some problem occurred while loading application.<br/> Sat Mar 27 00:48:19 2010-20419-Error:unable to load application.<br/> Sat Mar 27 00:48:19 2010-20419-Info:Worker stopped and exiting gracefully.Missing the Rails 2.3.5 gem. Pleasegem install -v=2.3.5 rails, update your RAILS_GEM_VERSION setting in config/environment.rb for the Rails version you do have installed, or comment out RAILS_GEM_VERSION to use the latest version installed.

OS: Ubuntu 9.04
Rails Version: 2.3.5

The app runs fine on mongrel.

Comments and changes to this ticket

  • Dharmarth Shah

    Dharmarth Shah March 29th, 2010 @ 06:31 PM

    • Tag changed from internal server error, rails, ubuntu, worker to rack dependency
    • State changed from “new” to “open”
    • Assigned user changed from “Nikunj Limbaseeya” to “Dharmarth Shah”

    Thanks for trying out WebROaR and reporting the issue.

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

  • GeekTantra

    GeekTantra April 11th, 2010 @ 08:30 AM

    Thanks for the reply. It solved the problem. WebRoar looks awesome.

  • Dharmarth Shah

    Dharmarth Shah April 12th, 2010 @ 02:32 PM

    • State changed from “open” to “resolved”

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 ยป

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

Shared Ticket Bins

Pages