Comments (6)
@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.
@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.
@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.
@dkubb Very good question. I'll try something like this.
from anima.
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.
Thank you all for the comments. I reinstalled with 2.1.1 and it worked fine.
from anima.
Related Issues (13)
- You should have a README file HOT 1
- Release v1.0
- Include `Anima::Update` per default. HOT 11
- Add Anima.attribute_names HOT 3
- License missing from gemspec HOT 2
- Optional attributes HOT 5
- Improper documentation for `Anima::InstanceMethods#with`?
- Anima breaks on `#with` and `#to_h` if an attribute is private or protected HOT 1
- Default values in initializer HOT 3
- Full key status report on initialization errors HOT 3
- Use of mutation testing in anima - Help needed HOT 1
- bug in README HOT 1
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 anima.