Giter VIP home page Giter VIP logo

Comments (7)

ctran avatar ctran commented on May 29, 2024

That's not good but I don't know what I can do about that. Any suggestion?

from annotate_models.

grimen avatar grimen commented on May 29, 2024

hah, maybe have an additional bin that do the same thing, named "annote-rails" or something like that. That's what I did before, just don't forget adding the new bin command to the Gem spec - I forgot that plenty of times in vain. =)

from annotate_models.

masa-iwasaki avatar masa-iwasaki commented on May 29, 2024

I solved this issue on my fork.

http://github.com/masa-iwasaki/annotate_models/commit/27a0fe964e306a83a61aca886d505bea5150cb6c

from annotate_models.

ctran avatar ctran commented on May 29, 2024

What I'll do is to create 2 executables, "annotate" and "annotate-rails". People with the gdlib2 will use annotate-rails while others can still use annotate.

from annotate_models.

ari avatar ari commented on May 29, 2024

How about making this gem work as a rake command rather than a system binary? Then you can have

rake annotate:all
rake annotate:routes
etc

from annotate_models.

 avatar commented on May 29, 2024

+1 to ari's suggestion. This should create a rake task rather than make a binary. Or, if you want maximum flexibility, have it do both so that those of us with gdlib or ImageMagick installed can still run annotate without messing with $PATH.

from annotate_models.

pupeno avatar pupeno commented on May 29, 2024

+1 for making it a rake task! If you do it, can you please follow thinking sphinx style so that it's easy to use it as a gem: http://github.com/freelancing-god/thinking-sphinx/blob/master/tasks/rails.rake

from annotate_models.

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.