-
Notifications
You must be signed in to change notification settings - Fork 597
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
undefined method `namespace' #68
Comments
Have you tried the version from github? |
I get the same thing. ruby 1.9.2p290 (2011-07-09 revision 32553) [x86_64-linux] .../gems/activerecord-3.1.0/lib/active_record/railties/databases.rake:3:in |
as @ctran mentioned, you may want to pull the github version.. this worked for me. In your Gemfile: |
Try bundle exec annotate Source: http://stackoverflow.com/questions/4580892/how-to-get-annotate-gem-to-work |
I have the same problem with annotate 2.4.0 installed from rubygems, using ruby 1.9.3p0. Fixed by doing both the suggestions above, using the version from github on the rake-compatability branch and launching annotate through bundle. |
I had the same issue with a Windows 7 setup and the above mention suggestions worked for me. |
Can someone please have this "rake_compatibility" branch merged in. I confirm it worked for me on Ruby 1.9.2 and Rails 3.1.3. |
what @megalithic suggested worked for me |
gem 'annotate', '~> 2.4.1.beta' worked for me (took it off Michael Hartel's rails book, listing 6.4) |
@asafjaffi's suggestion worked for me. |
@asafjaffi wins for me too. |
@asafjaffi +1 |
Works for me I'm Ruby 1.9.2 & Rails 3.2.2 |
Ingem 'annotate', '~> 2.4.1.beta' Worked for me too! |
Works for me I'm Ruby 1.9.2 & Rails 3.2.6 |
Using megalithic's fix worked for me. This should be fixed in the "main" annotate gem, though. |
I think this is fixed in master now; could someone please confirm this is fixed in version 2.5.0.pre3 so I can close this bug? |
Works for me with |
Hello all!
I'm using Ruby 1.9.2 ruby 1.9.2p180 (2011-02-18) [x86_64-darwin10.6.0] and Rails 3.1.3
I'm trying to annotate my models and I'm getting this:
https://gist.github.com/1607731
The text was updated successfully, but these errors were encountered: