Giter VIP home page Giter VIP logo

Comments (3)

shanlalit avatar shanlalit commented on May 24, 2024

User rake 0.8.7 or these two lines in "bin/annotate", it's a quick hack.

require 'rake' include Rake::DSL

from annotate_models.

blanchma avatar blanchma commented on May 24, 2024

Y did that and now I get:

$ annotate

/usr/lib/ruby/gems/1.8/gems/activesupport-2.3.8/lib/active_support/dependencies.rb:156:in
require': no such file to load -- annotate/annotate_models (MissingSourceFile) from /usr/lib/ruby/gems/1.8/gems/activesupport-2.3.8/lib/active_support/dependencies.rb:156:in require'
from
/usr/lib/ruby/gems/1.8/gems/activesupport-2.3.8/lib/active_support/dependencies.rb:521:in
new_constants_in' from /usr/lib/ruby/gems/1.8/gems/activesupport-2.3.8/lib/active_support/dependencies.rb:156:in require'
from
/usr/lib/ruby/gems/1.8/gems/annotate-2.4.0/lib/tasks/annotate_models.rake:3
from /usr/lib/ruby/gems/1.8/gems/rake-0.9.2/lib/rake/task.rb:205:in
call' from /usr/lib/ruby/gems/1.8/gems/rake-0.9.2/lib/rake/task.rb:205:in execute'
from /usr/lib/ruby/gems/1.8/gems/rake-0.9.2/lib/rake/task.rb:200:in
each' from /usr/lib/ruby/gems/1.8/gems/rake-0.9.2/lib/rake/task.rb:200:in execute'
from /usr/lib/ruby/gems/1.8/gems/rake-0.9.2/lib/rake/task.rb:158:in
invoke_with_call_chain' from /usr/lib/ruby/1.8/monitor.rb:242:insynchronize'
from /usr/lib/ruby/gems/1.8/gems/rake-0.9.2/lib/rake/task.rb:151:in
invoke_with_call_chain' from /usr/lib/ruby/gems/1.8/gems/rake-0.9.2/lib/rake/task.rb:144:in invoke'
from /usr/lib/ruby/gems/1.8/gems/annotate-2.4.0/bin/annotate:69
from /usr/bin/annotate:19:in `load'
from /usr/bin/annotate:19

On 07/26/2011 09:02 AM, shanlalit wrote:

require 'rake'
include Rake::DSL

from annotate_models.

zhangbanger avatar zhangbanger commented on May 24, 2024

Seen here: #53

Try:
bundle exec annotate

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.