Comments (12)
why is this issue closed? Does this mean "rubycas-server" will not support ruby 2.2?
from rubycas-server.
Exact same problem on Ruby 2.3.0 on Linux. It's sad that this project is not being updated for newer Ruby versions.
NameError: uninitialized constant Psych::ENGINE
from rubycas-server.
I know I'm late to this issue, but I get the same problem with the same setup. Centos, running ruby 2.2.2. It seems to be something to do with syck being unsupported past 2.2. The ruby docs state that syck was removed in 2.0.0, but I was able to get past this error by downgrading my ruby version to 2.1.5. There is an open issue in the syck gem on this subject.
from rubycas-server.
The problem is this code in the r18n-core gem:
# r18n-core-1.1.11/lib/r18n-core/yaml_methods.rb
#...
module R18n
# Base methods to load translations for YAML.
# It is used by YAML and Rails loaders.
module YamlMethods
# Detect class for private type depend on YAML parser.
def detect_yaml_private_type
@private_type_class = if defined?(JRUBY_VERSION)
::YAML::Yecht::PrivateType
elsif '1.8.' == RUBY_VERSION[0..3]
::YAML::PrivateType
elsif 'syck' == ::YAML::ENGINE.yamler
::Syck::PrivateType
end
end
YAML::ENGINE is removed in Ruby 2.2 (see https://bugs.ruby-lang.org/issues/8344 )
So this method in the r18n gem needs to be updated to understand Psych as the YAML engine.
And it may mean that RubyCAS needs to update the .yml files by loading with Syck and dumping with Psych.
See http://devblog.arnebrasseur.net/2014-02-yaml-syck-vs-psych and http://www.darwinweb.net/articles/convert-syck-to-psych-yaml-format
from rubycas-server.
Still have this error. ruby 2.2.4. linux.
from rubycas-server.
Will "rubycas-server" support ruby 2.4.2?
from rubycas-server.
Still have the same error in ruby 2.7.1p83 (2020-03-31 revision a0c7c23c9c) [x86_64-linux].
from rubycas-server.
seems this project is abandon by authers.
I will opensource my project ( another CAS based on ruby ) in future.
from rubycas-server.
Is not abandon. Just lack of time. Feel free to contribute it's open source!. If you would commit long term you can become maintainer. Personally I have plans to extend functionality of Ruby CAS with SSI in the future but due to the commitments in other projects didn't had time to look here recently.
from rubycas-server.
thanks for your response!
In fact I am very thankful for your job!
and there's a fact that there's no such heavy weight of CAS implementation in the Ruby world.
CAS is very useful and important for the growing & big projects.
I would consider how to improve this project and it would be great if you allow someone to maintain this project.
from rubycas-server.
Sure thing, as soon as I would notice substantial contribution from you or someone else who would willing to help move the project, I am more then happy to grant maintainer rights.
from rubycas-server.
are there any more modern (not necessarily Ruby) alternatives to rubycas-server now? people in ~2015 seemed to recommend CASino, but this no longer exists...
from rubycas-server.
Related Issues (20)
- Issues authenticating with remote devise HOT 2
- Deal with inactive or frozen account
- Deal with inactive or frozen account HOT 2
- Cross domain ajax between rubycas client apps HOT 1
- How users can change their password with rubycas-server?? HOT 3
- user active flag HOT 1
- Security bug report HOT 14
- ProxyTicket not validated
- SQLAuthLogic and SQLRestAuth call user_model class method HOT 1
- Logout endpoint tries to render non-existent view in some cases
- New install, getting error creating DB:
- Using Multiple authenticators fails when one or more of them are not loaded
- Logout error HOT 1
- unable to login HOT 1
- Attributes always treated as arrays? HOT 1
- can't render login view with service url if login failed
- uninitialized constant Psych::ENGINE (NameError) HOT 11
- Is this repo still alive? HOT 1
- ActiveRecord::DangerousAttributeError - changed is defined by ActiveRecord
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from rubycas-server.