Skip to content
This repository

uninitialized constant Rake (NameError) #37

blanchma opened this Issue · 3 comments

4 participants

Matias Cuong Tran Lalit Shandilya Andy Zhang

Im working with Rails 2.3.8. I put the gem in the Gemfile (I work with Bundler) and I have installed too.

$ annotate
./Rakefile:5: uninitialized constant Rake (NameError)
from /usr/lib/ruby/gems/1.8/gems/annotate-2.4.0/lib/annotate.rb:17:in load'
from /usr/lib/ruby/gems/1.8/gems/annotate-2.4.0/lib/annotate.rb:17:in
from /usr/lib/ruby/gems/1.8/gems/annotate-2.4.0/bin/annotate:66
from /usr/bin/annotate:19:in `load'
from /usr/bin/annotate:19

Lalit Shandilya

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

require 'rake'
include Rake::DSL

Andy Zhang

Seen here: #53

bundle exec annotate

Cuong Tran ctran closed this
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.