GithubHelp home page GithubHelp logo

Stack overflow on Ruby 2.1.0 about anima HOT 6 CLOSED

mbj avatar mbj commented on June 13, 2024
Stack overflow on Ruby 2.1.0

from anima.

Comments (6)

mbj avatar mbj commented on June 13, 2024

@ravinggenius MRI 2.1.0 is a broken release that can crash for various reasons. Anima uses documented ruby APIs, nothing special. Its not animas fault. Use MRI 2.1.1 where this MRI bug is fixed.

from anima.

elskwid avatar elskwid commented on June 13, 2024

@ravinggenius - I can confirm this bug in 2.1.0, and that I don't see it in 2.0.0 or 2.1.1. As @mbj said, 2.1.0 wasn't a great release. Best bet is to go 2.1.1.

from anima.

dkubb avatar dkubb commented on June 13, 2024

@mbj is there a way to specify a ruby version that a gem will not work with, or specify < 2.0 and > 2.0?

We could update the gemspec to make it clear that 2.1.0 is not supported. I don't support 2.1.0 for any of my gems because the release was so buggy.

from anima.

mbj avatar mbj commented on June 13, 2024

@dkubb Very good question. I'll try something like this.

from anima.

dkubb avatar dkubb commented on June 13, 2024

Actually, after a bit of digging I believe you can do:

gem.required_ruby_version = '!= 2.1.0'

You can also build a Gem::Requirement instance with a set of requirements, but a version can only match an intersection of the specifications; I don't see a way to specify it match the union (which I would want to specify that code works with ~> 1.9 or ~> 2.0 but not '!= 2.1.0').

from anima.

ravinggenius avatar ravinggenius commented on June 13, 2024

Thank you all for the comments. I reinstalled with 2.1.1 and it worked fine.

from anima.

Related Issues (13)

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.