Dnia piątek, 16 grudnia 2011 08:57:02 Roberto De Ioris pisze:
> > This is rails 3.1.1.
>
> Ok you have to use --rack config.ru for rails 3.x.
>
> The check i have now added should warn you about it
I works fine with --rack, thanks again.
In revision 1791 I see:
+ if (!access("config.ru", R_OK)) {
+ uwsgi_log("!!! a config.ru file has been found in yor
rails app, please use --rack <configfile> instead of the old --rails <app> !!!
\n");
+ }
Would it be possible for uWSGI to detect how to run rails (using --rack or --
rails) and use this method?
Would it work if we had (for example) --smart-ruby option and if there is
config.ru then uWSGI would run ruby app in the same way as it runs when --rack
option is given, and if not then it would use --rails method?
Or maybe presence of config.ru itself doesn't mean that we should use --rack?
Łukasz Mierzwa
_______________________________________________
uWSGI mailing list
[email protected]
http://lists.unbit.it/cgi-bin/mailman/listinfo/uwsgi