Giter Site home page Giter Site logo

Comments (8)

jmettraux avatar jmettraux commented on July 24, 2024

https://github.com/floraison/fugit/actions/runs/8087806417/job/22100554384#step:3:30 argh

from fugit.

jmettraux avatar jmettraux commented on July 24, 2024

https://github.com/floraison/fugit/actions/runs/8087932820/job/22100915876 no 2.2.6, but no luck with 2.2.10 :-(

from fugit.

jmettraux avatar jmettraux commented on July 24, 2024

@aunghtain Hello and thanks for the detailed report!

I have trouble finding a Ruby 2.2.x or 2.2.6 to test directly, neither on GitHub Actions, neither for my development station (some kind of compile error). Could you please test this include Enumerable version on your Ruby 2.2.6 and tell me if that fixes it?

When we are successful, I will release a fugit 1.10.1.

from fugit.

aunghtain avatar aunghtain commented on July 24, 2024

It still gives me the same error.

/usr/share/rvm/gems/ruby-2.2.6/bundler/gems/fugit-4c12b6120f20/lib/fugit.rb:16:in `require': /usr/share/rvm/gems/ruby-2.2.6/bundler/gems/fugit-4c12b6120f20/lib/fugit/cron.rb:323: syntax error, unexpected tIDENTIFIER, expecting '<' or ';' or '\n' (SyntaxError)
    class CronIterator include Enumerable
                              ^

But if I move the include to a new line, it works fine.

    class CronIterator
      include Enumerable

Also, this works.

    class CronIterator
      include ::Enumerable

from fugit.

jmettraux avatar jmettraux commented on July 24, 2024

Well done! I will change and release 1.10.1. Thanks a lot!

from fugit.

jmettraux avatar jmettraux commented on July 24, 2024

1.10.1 released https://rubygems.org/gems/fugit/versions/1.10.1

Please tell me if it works for you.

Thanks!

from fugit.

aunghtain avatar aunghtain commented on July 24, 2024

1.10.1 works! Thank you so much @jmettraux

from fugit.

jmettraux avatar jmettraux commented on July 24, 2024

@aunghtain You're welcome! Well done!

from fugit.

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.