Giter Site home page Giter Site logo

Comments (7)

januszm avatar januszm commented on July 29, 2024 1

I'll release 3.6.1 now with this fix in gemspec

from slim-rails.

apannetrat avatar apannetrat commented on July 29, 2024

Same problem here. Even running rails c after an upgrade to 3.6.0 gives:

.rvm/gems/ruby-2.7.6/gems/slim-5.0.0/lib/slim/railtie.rb:2:in `<module:Slim>': uninitialized constant Slim::Rails::Railtie (NameError)

from slim-rails.

tagliala avatar tagliala commented on July 29, 2024

Ah sorry,

the braking change is related to Slim 5.0, which is being update together with 3.6.0

/Users/geremia/.rvm/gems/ruby-3.2.0/gems/slim-5.0.0/lib/slim/railtie.rb:2:in `<module:Slim>': uninitialized constant Slim::Rails::Railtie (NameError)

  class Railtie < Rails::Railtie

I'm leaving this open, but feel free to close or move to the proper repo

from slim-rails.

mkhairi avatar mkhairi commented on July 29, 2024

slim-template/slim#904

from slim-rails.

januszm avatar januszm commented on July 29, 2024

It's unfortunately a result of #185 which apparently wasn't fully tested with Rails and SLIM 5. We can yank 3.6.0 and release proper support for SLIM 5 when SLIM is fixed, as 3.6.1. A quick workaround for apps, until slim 5.0.1+ is released, is to lock slim in Gemfile to:

gem "slim", "!= 5.0.0", "< 6.0"

Personally, I'd prefer to wait until SLIM is resolved rather than yank this (because nothing is really wrong with this release).

from slim-rails.

tagliala avatar tagliala commented on July 29, 2024

We can yank 3.6.0

Hi, I know that yanking is not ideal, but I was about to suggesting the same thing

Should a potential 3.6.1 add != 5.0.0 to the slim version constraints even after release of 5.0.1?

from slim-rails.

tagliala avatar tagliala commented on July 29, 2024

Thanks, closing as fixed in 3.6.1

from slim-rails.

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.