Can you email me your entire config.yml file? There may be a stray hidden character in there or some whitespace problem. Hard to tell from the paste.
Hello, i use Rubycas-Server for intranet inside the company, it run perfectly with Webrick but now i want to deploy it with Passenger Nginx or Apache, i have read a lot of documentation about it and i missing something i think.here my config.yml for Passenger.--### Phusion Passenger (running under Apache configured for SSL)#### No additional configuration is requried to run RubyCAS-Server under# passsenger. Just follow the normal instructions for a Passenger app# (see http://www.modrails.com/).## Here's an example Apache vhost config for RubyCAS-Server and Passenger:#Listen 443<VirtualHost *:442>ServerAdmin ad...@example.netServerName login.example.netSSLEngine OnSSLCertificateFile /etc/apache2/ssl.crt/example.pemRailsAutoDetect offDocumentRoot /usr/lib/ruby/gems/1.8/gems/rubycas-server-0.8.0/public<Directory "/usr/lib/ruby/gems/1.8/gems/rubycas-server-0.8.0/public">AllowOverride allAllow from all</Directory></VirtualHost>###### DATABASE ################################################################## Set up the database connection. Make sure that this database is secure!## By default, we use MySQL, since it is widely used and does not require any# additional ruby libraries besides ActiveRecord.## With MySQL, your config would be something like the following:# (be sure to create the casserver database in MySQL beforehand,# i.e. `mysqladmin -u root create casserver`)#database:# adapter: mysql# database: casserver# username: root# password:# host: localhost# reconnect: true# IMPORTANT! By default, the server can handle up to ~5 concurrent requests# (without queuing). You can increase this by setting the database connection# pool size to a higher number. For example, to handle up to ~10 concurrent# requests:##database:# pool: 10# adapter: mysql# database: casserver# username: root# password:# host: localhost## Instead of MySQL you can use SQLite3, PostgreSQL, MSSQL, or anything else# supported by ActiveRecord.## With SQLite3 (which does not require a separate database server), your# configuration would look something like the following (don't forget to install# the sqlite3-ruby gem beforehand!):database:adapter: sqlite3database: /var/lib/casserver.dband now when i start the Rubycas-Server i got parsing error on "database:" line and i can't find a way to fix it, if i use webrick again the problem is solved but with Passenger config i can't start the server i only got YML Error at start : `load': syntax error on line 189, col 0: `database:' (ArgumentError)thank a lot for your help.
You received this message because you are subscribed to the Google Groups "RubyCAS" group.
To view this discussion on the web visit https://groups.google.com/d/msg/rubycas-server/-/wdX-AwJlAYYJ.
To post to this group, send email to rubycas...@googlegroups.com.
To unsubscribe from this group, send email to rubycas-serve...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/rubycas-server?hl=en.
--
You received this message because you are subscribed to the Google Groups "RubyCAS" group.
To view this discussion on the web visit https://groups.google.com/d/msg/rubycas-server/-/YbH6kbShr5IJ.