Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

uninitialized constant Psych::ENGINE (NameError) #250

Closed
EMRJ opened this issue Oct 19, 2015 · 11 comments
Closed

uninitialized constant Psych::ENGINE (NameError) #250

EMRJ opened this issue Oct 19, 2015 · 11 comments

Comments

@EMRJ
Copy link

EMRJ commented Oct 19, 2015

When I run bundle exec rubycas-server -c config.yml got the following error

=> Using custom config file "config.yml"
/home/mathan/.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/mathan/.rvm/gems/ruby-2.2.0/gems/r18n-core-1.1.11/lib/r18n-core/yaml_loader.rb:42:ininitialize'
from /home/mathan/.rvm/gems/ruby-2.2.0/gems/r18n-core-1.1.11/lib/r18n-core.rb:160:in new' from /home/mathan/.rvm/gems/ruby-2.2.0/gems/r18n-core-1.1.11/lib/r18n-core.rb:160:inmodule:R18n'
from /home/mathan/.rvm/gems/ruby-2.2.0/gems/r18n-core-1.1.11/lib/r18n-core.rb:40:in <top (required)>' from /home/mathan/.rvm/gems/ruby-2.2.0/gems/sinatra-r18n-1.1.11/lib/sinatra/r18n.rb:22:in<top (required)>'
from /home/mathan/work/projects/p/rubycas-server/lib/casserver/base.rb:2:in <top (required)>' from /home/mathan/work/projects/p/rubycas-server/lib/casserver/server.rb:3:in<top (required)>'
from /home/mathan/work/projects/p/rubycas-server/lib/casserver.rb:18:in require' from /home/mathan/work/projects/p/rubycas-server/lib/casserver.rb:18:in<top (required)>'
from /home/mathan/work/projects/p/rubycas-server/bin/rubycas-server:28:in require' from /home/mathan/work/projects/p/rubycas-server/bin/rubycas-server:28:in<top (required)>'
from /home/mathan/.rvm/gems/ruby-2.2.0/bin/rubycas-server:23:in load' from /home/mathan/.rvm/gems/ruby-2.2.0/bin/rubycas-server:23:in

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

@mongeta
Copy link

mongeta commented Nov 28, 2015

+1

I'm having the same problem, any work-arounds?

thanks

@lucaspiller
Copy link

This is a duplicate of #242, the problem is one of the dependencies doesn't support Ruby 2.2. If you downgrade to Ruby 2.1.5 it will work fine.

@mitfik mitfik closed this as completed Dec 7, 2015
@jordinl
Copy link

jordinl commented Apr 27, 2016

@lucaspiller how is this a solution?

@HectorOrdonez
Copy link

I am going through a lot of pain right now.

@ribanez7
Copy link

I have this problem solved locally; will merge my code and send a PR as soon as possible during this month.

@Skill-Zozo
Copy link

so much pain

@pikitgb
Copy link

pikitgb commented Jan 31, 2017

Any solution for this ? Downgrading the ruby version solves the issue ?

@HectorOrdonez
Copy link

@pikitgb Yes. Using ruby "1.9.3" fixed THIS problem. Then I had others.
I recommend, if possible, running away from this. Installing CASino atm.

@pikitgb
Copy link

pikitgb commented Jan 31, 2017

@HectorOrdonez thanks! I figure that out 45 mins ago lol. I'm checking CASino. is working ok until now.. besides therubyracer and libv8 headache. Thanks.

@ribanez7
Copy link

ribanez7 commented Feb 1, 2017

The only problem is on the use of the R18n gem. If you replace all the R18n related lines with the I18n library it works perfectly with all newest ruby versions.
Still haven't got the time to do so on the repo...

@sg552
Copy link

sg552 commented Nov 21, 2017

still got this problem under ruby 2.2.4

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

10 participants