Forum: Ruby on Rails RailsEnv error when trying to start Apache

18e718378845138fb03b3bd7248c770a?d=identicon&s=25 Larry Jones (Guest)
on 2013-08-06 10:44
(Received via mailing list)
I am trying to install Concerto (a digital signage project).  I started
an Ubuntu 12.04 server and ran into problems starting Apache.  I was
to get Xibo (another digital signage product) installed on that same
with no problems, but it does not use Ruby.

I switched to a Windows 2008R2 server because I am pretty worthless with
Linux - trying to learn, but I know Windows much better.

In both environments, if the RailsEnv production directive is in the
file for the site Apache throws an error:

The Apache service named  reported the following error:
>>> Invalid command 'RailsEnv', perhaps misspelled or defined by a module
not included in the server configuration

I know the bin folder for Ruby IS included in the Windows path.  I tried
installing the DevKit.  It installed with no errors and I am able to run

However, as long as the RailsEnv directive is in the config file, Apache
will not start.

Could anyone give me guidance on what I am doing wrong?  It doesn't
matter to me whether the product is running on Linux or Windows, so I
welcome an answer from anyone with expertise on either platform.

This is what is in the httpd-vhosts conf file.  If I comment out the
RailsEnv directive, Apache starts just fine.

<VirtualHost *:80>
    ServerName signs.yyy.yyy
    DocumentRoot "c:/concerto"
    RailsEnv production
    <Directory "c:/concerto">
      Order allow,deny
      Allow from all

Thank you in advance!
81b61875e41eaa58887543635d556fca?d=identicon&s=25 Frederick Cheung (Guest)
on 2013-08-06 10:48
(Received via mailing list)
On Monday, August 5, 2013 2:33:36 PM UTC+1, Larry Jones wrote:
> config file for the site Apache throws an error:
RailsEnv is only legal in an apache config file if you are using the
passenger apache module. Passenger doesn't run on windows so you won't
able to do this on your windows machine. On your ubuntu box. There is
extensive documentation

Please log in before posting. Registration is free and takes only a minute.
Existing account

NEW: Do you have a Google/GoogleMail, Yahoo or Facebook account? No registration required!
Log in with Google account | Log in with Yahoo account | Log in with Facebook account
No account? Register here.