Skip to content

bundle exec errors #242

@ak-digital-endeavours

Description

@ak-digital-endeavours

Hi,
I'm on CentOS 7. I followed the quickstart instructions using mariadb with mysql2 and activesupport-mysql2-adapter.
When I get to bundle exec rubycas-server -c config/config.yml

I get

=> Using custom config file "config/config.yml"
/home/deploy/.rvm/gems/ruby-2.2.0/gems/activesupport-3.2.21/lib/active_support/values/time_zone.rb:270: warning: circular argument reference - now
/home/deploy/.rvm/gems/ruby-2.2.0/gems/r18n-core-1.1.11/lib/r18n-core/yaml_methods.rb:34:in detect_yaml_private_type': uninitialized constant Psych::ENGINE (NameError) from /home/deploy/.rvm/gems/ruby-2.2.0/gems/r18n-core-1.1.11/lib/r18n-core/yaml_loader.rb:42:ininitialize'
from /home/deploy/.rvm/gems/ruby-2.2.0/gems/r18n-core-1.1.11/lib/r18n-core.rb:160:in new' from /home/deploy/.rvm/gems/ruby-2.2.0/gems/r18n-core-1.1.11/lib/r18n-core.rb:160:inmodule:R18n'
from /home/deploy/.rvm/gems/ruby-2.2.0/gems/r18n-core-1.1.11/lib/r18n-core.rb:40:in <top (required)>' from /home/deploy/.rvm/gems/ruby-2.2.0/gems/sinatra-r18n-1.1.11/lib/sinatra/r18n.rb:22:in<top (required)>'
from /home/deploy/cas/lib/casserver/base.rb:2:in <top (required)>' from /home/deploy/cas/lib/casserver/server.rb:3:in<top (required)>'
from /home/deploy/cas/lib/casserver.rb:18:in require' from /home/deploy/cas/lib/casserver.rb:18:in<top (required)>'
from /home/deploy/cas/bin/rubycas-server:28:in require' from /home/deploy/cas/bin/rubycas-server:28:in<top (required)>'
from /home/deploy/.rvm/gems/ruby-2.2.0/bin/rubycas-server:23:in load' from /home/deploy/.rvm/gems/ruby-2.2.0/bin/rubycas-server:23:in

'
from /home/deploy/.rvm/gems/ruby-2.2.0/bin/ruby_executable_hooks:15:in eval' from /home/deploy/.rvm/gems/ruby-2.2.0/bin/ruby_executable_hooks:15:in'

my config.yml looks like this

server: webrick
port: 443
ssl_cert: /home/deploy/cas/ssl/rubycas-server-demo.pem
database:
adapter: mysql2
database: cas_server
username: cas
password: password
host: localhost
reconnect: true
authenticator:
class: CASServer::Authenticators::LDAP
ldap:
host: ldap.domain.org.uk
port: 389
base: 'dc=domain,dc=org,dc=uk'
username_attribute: uid
filter: (objectClass=person)
auth_user: 'cn=casauth,ou=ldapadmin,dc=domain,dc=org,dc=uk'
auth_password: 'password'
theme: simple
organization: CAS
infoline: Powered by RubyCAS-Server
log:
file: /home/deploy/casserver.log
level: DEBUG

What am I missing?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions