-
Notifications
You must be signed in to change notification settings - Fork 269
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
Comments
+1 I'm having the same problem, any work-arounds? thanks |
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. |
@lucaspiller how is this a solution? |
I am going through a lot of pain right now. |
I have this problem solved locally; will merge my code and send a PR as soon as possible during this month. |
so much pain |
Any solution for this ? Downgrading the ruby version solves the issue ? |
@pikitgb Yes. Using ruby "1.9.3" fixed THIS problem. Then I had others. |
@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. |
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 got this problem under ruby 2.2.4 |
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:in
initialize'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:in
module: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
The text was updated successfully, but these errors were encountered: