Olivier BATARD wrote:
Hi,
I'm coming from Redmine and I want to use Chiliproject. I'm running debian squeeze
But I have to use nginx and puma as the Ruby server. That works fine with redmine but I can't use it with Chiliproject.
I haven't worked with Puma yet, so I can not give you a definite answer on everything puma specific. I do try my best however...
development database is not configured
The default environment when starting ChiliProject (or any rails application for that matter) is development. To start ChiliProject in the production environment, set the RAILS_ENV
envoronment variable to production
before starting Puma. It depends on how you start it how you can achieve this, an example could be to run
RAILS_ENV=production puma -b unix://var/run/puma.sock
And it ask for a confi.ru file. No file like that in the directory. Because of a version problem, puma is version 0.8.0
Rails 2.3.14 doesn't really work well when started as a Rack-only application. We tried to introduce a config.ru
once but had too many issues that we removed it again, see #789 and #849 for details. Right now, you should rather try to use Passenger, Thin, or Unicorns as an app Server. Once we are on Rails 3, support for newer App servers will be much better.