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.

Unable to deploy app on WebRoar

#19

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.

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

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

Activity

  1. Dharmarth Shah
    Dharmarth Shah
    • 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?

    March 29th, 2010 @ 06:31 PM

  2. GeekTantra
    GeekTantra

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

    April 11th, 2010 @ 08:30 AM

  3. Dharmarth Shah
    Dharmarth Shah
    • State changed from open to resolved

    April 12th, 2010 @ 02:32 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.