Code Monkey home page Code Monkey logo

Comments (12)

sg552 avatar sg552 commented on July 28, 2024 7

why is this issue closed? Does this mean "rubycas-server" will not support ruby 2.2?

from rubycas-server.

Prajjwal avatar Prajjwal commented on July 28, 2024 1

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.

RyanSnodgrass avatar RyanSnodgrass commented on July 28, 2024

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.

jimmys avatar jimmys commented on July 28, 2024

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.

sg552 avatar sg552 commented on July 28, 2024

Still have this error. ruby 2.2.4. linux.

from rubycas-server.

samanihamid avatar samanihamid commented on July 28, 2024

Will "rubycas-server" support ruby 2.4.2?

from rubycas-server.

kajal98 avatar kajal98 commented on July 28, 2024

Still have the same error in ruby 2.7.1p83 (2020-03-31 revision a0c7c23c9c) [x86_64-linux].

from rubycas-server.

sg552 avatar sg552 commented on July 28, 2024

seems this project is abandon by authers.
I will opensource my project ( another CAS based on ruby ) in future.

from rubycas-server.

mitfik avatar mitfik commented on July 28, 2024

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.

sg552 avatar sg552 commented on July 28, 2024

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.

mitfik avatar mitfik commented on July 28, 2024

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.

thosgood avatar thosgood commented on July 28, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.