ChiliProject is not maintained anymore. Please be advised that there will be no more updates.

We do not recommend that you setup new ChiliProject instances and we urge all existing users to migrate their data to a maintained system, e.g. Redmine. We will provide a migration script later. In the meantime, you can use the instructions by Christian Daehn.

Ruby server

Added by Olivier BATARD at 2012-11-29 06:54 pm

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 have followed the process in the how to here and my installation works fine with webrick.

But when I ran puma I got an error :

#puma -b unix://var/run/puma.sock

development database is not configured

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

Anyone can guide us on this ?

Anyway, globally what's the best way and best servers to run Chiliproject on debian ?

Thanks.


Replies (3)

RE: Ruby server - Added by Holger Just at 2012-12-04 05:07 pm

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.

RE: Ruby server - Added by Holger Just at 2012-12-04 05:08 pm

As for the recommended way to Run ChiliProject on Debian, please see Installation on Debian Squeeze.

RE: Ruby server - Added by cafay Smith at 2012-12-29 07:03 am

thanks a lot.

(1-3/3)