WebROaR v0.2.6 - Bugfix Release

December 23rd, 2009

WebROaR v0.2.6 gem is now available with the following fixes:

  • Updated messages for HTTP status codes 400, 404, 405, 500 and 501.
  • Fixed buffer overflow by allocating enough memory to hold REQUEST_PATH + Application-Path in the request resolver for static assets.
  • Improved the logic for detection of ruby shared library prerequisite.
  • Started using RUBY_INSTALL_NAME for detecting ruby during installation.
  • Added validation for search results file created while generating service script. Installation would continue even if server cannot be installed as a service.
  • Corrected example for the 'Headers' section in the config file.
  • Removed 'SIGCHLD' handler from the worker process - Fixes the incorrect exit status issue for a shell command executed using backquote method of ruby.
  • Added HTTP Date header when the HTTP response status is 100.
  • Used _POSIX_C_SOURCE macro to identify whether the file variable is a pointer to a file or a socket fd.
  • Corrected return type of 'send_static_worker_pid' method, if YAML parser returns NULL value.
  • Corrected time slider based analytics graphs issue when they were being seen after 2300 hrs.
  • Correctly implemented Rack specification for the Response Body. This fixes worker crash seen after serving first request in Development Environment mode for Rails 2.3.4+ applications.
  • Overriding Rack::Deflater to skip response body compression for user-agent Internet Explorer 6.0.
  • Renamed 'log' message defined by rb_define_singleton_method() to 'log_message'. This fixes the issue seen when Math.log is called by number_to_human_size() in a Rails Application. It also fixes the worker crash on REE installed with tcmalloc library. (Typically used to result in 404 error for a user trying to access the Admin Panel.) Resolves Tickets #9 and #10.
  • Code cleanup in Head, Worker and Helper modules.

Install Commands:

gem sources -a http://gems.github.com
sudo gem install webroar
sudo webroar install

In case you have a previous installation of WebROaR, the install would give an option to import previous configuration, logs and admin panel data. Or you can also choose to install afresh and deploy your application(s) again.

We are thankful to all the people who reported the issues on Lighthouse and the mailing list. We would be very happy to receive more feedback/comments and bug-reports. If you have some time, please run your ruby web application on it and let us know how it goes.


2 Responses to “WebROaR v0.2.6 - Bugfix Release”

  1. Glenn Rempe Says:


    Why are you still telling people to add the github gem source?

    gem sources -a http://gems.github.com

    GitHub gem building is no longer functional, and is permanently deprecated. Only old, out of date gems that have not been built in ages are being served from there and people should be encouraged to remove gems.github.com as a gem source, not add it (especially if it is higher in their source list than gemcutter).

    If this is about starling, why not check into requiring a fork of 0.10.0 which has been pushed to gemcutter for your next release?

    http://github.com/xhr/starling/ http://gemcutter.org/gems/xhr-starling

    Cheers.

  2. Aditya Babbar Says:


    @Glenn,

    Yes, it is the starling gem that is unfortunately forcing WebROaR to have github as a gem source.

    We were just a little busy with the work on the server, but I do plan to request the Starling folks very soon to move their latest gem over to Gemcutter.

    If for some reason, it does not get done, we would look in to forking it and moving it over there ourselves.

Sorry, comments are closed for this article.