Search results

  1. T

    ENV['RAILS_ENV'] returns nil when called inside Rails 2.3.4 initializer

    Hello, if I use an initializer under config/initializer/myfile.rb, it seems that when the code is called, ENV['RAILS_ENV'] is empty when I use LiteSpeed, whereas it has a value of development or production if I use ruby script/server. Is it a known issue ? My work-around has been to...
  2. T

    Do you plan to issue a release working with Rack 1.0.1 ?

    Hello, after rereading this thread, I believe starting from Rails 2.3.5 (which apparently requires Rack 1.0.1), it won't be possible to run Rails on LiteSpeed. Am I right ? If so, do you have plans to publish a new release of either ruby-lsapi or the server itself that would make this...
  3. T

    production.log not written - any hint ?

    My app runs perfectly fine, except I cannot get any input in log/production.log. My app (and dispatch.lsapi) are owned by a given user:group, and the log folder (+ production.log) are writable to this user. If that matters, the log folder is a symlink, as I'm using Capistrano. Any idea...
  4. T

    Stuck with SSL + EasyRailsWithSuEXEC - any hint ?

    Hi, I've deployed a new application using EasyRailsWithSuEXEC template. The application is properly listed in the member virtual hosts. I've also created a secure listener (and also secured the admin with the same certificate). I'm following the guidelines but when I do so, the Virtual...
  5. T

    Multiple Ruby versions at the same time ?

    Hello, I have two old Rails applications that rely on ruby 1.8.4 (they should be upgraded later) on one LiteSpeed instance - cannot be upgraded right now. I need to deploy a brand new Rails 2.2.2 on the same server, most likely with Ruby 1.8.6. Is there a way I can specify a different...
  6. T

    LSWS fails to start after installation (no error logs)

    Hi, I'm trying to deploy LSWS 3.3.1 (package: http://www.litespeedtech.com/packages/3.0/lsws-3.3.1-std-i386-solaris.tar.gz) on Solaris (Joyent Accelerator M to be accurate). To give it a try on Solaris (I have never installed LSWS on this OS), I use a test account (not root). The installation...
  7. T

    Internal redirect in standard version ?

    Hello I'm about to implement a service with protected file downloads; I'm thinking about using LiteSpeed with internal redirect for that purpose. Rails would check the authorization, and LiteSpeed would then serve the content accordingly. I cannot see this feature on the comparison chart...
  8. T

    Ajax call is not interpreted as an ajax call

    Hi! I'm having an issue which only appears with LSWS. I have a rails 1.2 app on LSWS 2.2.2 with LSAPI (which also hosts another rails app). Everything works perfectly fine, except Ajax calls : they all render non-ajax versions of the pages. I have the feeling that the application does not...
  9. T

    Change the user/group

    Hi! First I have to say I'm very happy with LSWS (I'm using it with LSAPI and Rails applications) - everything is working very well, adding SSL support was really straightforward etc. So, well, thanks! During one installation, I choosed nobody:nogroup as the user to run lsws (now I would...
  10. T

    Accounts / security tips ?

    Hi! I'm willing to learn more about the recommended way(s) to setup the various accounts and rights etc on a LSWS+Rails deployment platform. Here's my configuration: - ubuntu 6.06 on a dedicated box - capistrano 1.2.0 and rails 1.1.6 - the latest LSWS / free edition is up and running (I'm...
Top