In the Rails 3 timeframe, I would like Rails to...

Stop using plugins and just write gems

Plugins are really no different than gems. Why have both systems?

347 votes
Vote
Sign in
Check!
(thinking…)
Reset
or sign in with
  • facebook
  • google
    Password icon
    I agree to the terms of service
    Signed in as (Sign out)
    You have left! (?) (thinking…)
    jaknowldenjaknowlden shared this idea  ·   ·  Flag idea as inappropriate…  ·  Admin →

    12 comments

    Sign in
    Check!
    (thinking…)
    Reset
    or sign in with
    • facebook
    • google
      Password icon
      I agree to the terms of service
      Signed in as (Sign out)
      Submitting...
      • Roy QuaderRoy Quader commented  ·   ·  Flag as inappropriate

        I really don't see why removing a feature that has obvious uses and doesn't get in the way of using gems would make any sense. As long as it doesn't cost a lot to keep plugin support around, why get rid of it?

      • Vlad HveckovicsVlad Hveckovics commented  ·   ·  Flag as inappropriate

        If there are no performance issues, plugins should stay where they are. And the difference is - you might have several projects running on the same box, and would not like to load 30 gems even though in a particular project only 10 are used?

      • RailsGunRailsGun commented  ·   ·  Flag as inappropriate

        Please keep the pugins inside Rails. It's stupid to move to gems only. They are painful to maintain, people even try to 'vendor everything', but plugins are already there for that, they come bundled with the app, so will go through the trouble of gems?

      • brandonzylstrabrandonzylstra commented  ·   ·  Flag as inappropriate

        "stop using plugins and just write gems" is not a behavior of Rails but of developers. If you think you can persuade all developers to stop using plugins and just write gems, be my guest. I'd love to hear your arguments in favor of gems, but at the moment I'm pretty convinced that in some cases plugins make more sense.

      • Blake ChambersBlake Chambers commented  ·   ·  Flag as inappropriate

        I like that I can tar my app up and give it to a friend. Sure all they need to do is gem:install, but that is still more that I want. Plus, I am not a fan of the "gem list skyscraper" that is on my laptop and I would like that to change.

      • schmurfyschmurfy commented  ·   ·  Flag as inappropriate

        being able to distribute plugins as gems is a great feature but it should not means simple plugins support should go away since the latest method is the best when developing plugins or using internal plugins.

      • SoleoneSoleone commented  ·   ·  Flag as inappropriate

        Maybe it would make sense to name public gems "plugins" and name the current plugin functionality (for internal use, modularization) something else. But I guess that's pretty hard to realize at this point.

      • jaknowldenjaknowlden commented  ·   ·  Flag as inappropriate

        @dhh - I believe you have a LOT of plugins at 37 signals. I know we have a lot at Centro and I don't necessarily want to convert them all right now, but I like way more doing things in only one way.

        My only "fear" is that I would have gem explosion, but I more than confident that the community can help me solve that problem through some fancy gem management techniques that are still to come.

      • phlawskiphlawski commented  ·   ·  Flag as inappropriate

        In a fact many plugin's developers provides both versions of their extensions for now - as gems and as plugins, and I always choose gem versions. I think plugins are just mess. Gems have better mechanism for upgrades and maintenance.

      • dhhdhh commented  ·   ·  Flag as inappropriate

        Plugins pulled from a git repository makes plenty of sense for internal development. I'd hate to have to make gems out of all the internal plugins we have at 37signals. But I do agree that public, published plugins could do well as gems. Support for non-gem plugins is not likely to go anywhere, though.

      • cheapRoccheapRoc commented  ·   ·  Flag as inappropriate

        I ran out of votes but this is HUGELY important to me. This whole "Rails plugin" thing is terrible. Lets move to gems and a peaceful plugin API to support them. If the WillPaginate guys can do it, so can you.

      Feedback and Knowledge Base