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
Does it work with rails 3.1rc? #28
Comments
Same problem here with Ruby 1.9.2 and Rails 3.1.0.rc4
|
Anyone care to patch? |
Sure, if you give me a pointer to what the problem might be. :) |
Just encountered the same issue. I suspect it's more to do with rake 0.9, than rails 3.1 The rake task loading changed from 0.8.7 to 0.9.X Some rake methods were namespaced into Rake::DSL so I might have a play with patching/fixing this later |
Didn't work for me. I tried inserting |
Started on trying out a patch just now, but missing a few dev tools as I'm on a new computer, I'll continue this later. For anyone else trying to write a patch, it took a bit for me to work out what the development dependencies for annotate are, so I added them to the gemspec, and corrected a couple of load calls here. I'll send a pull-request for those changes once I've had a bit more of a play around and hopefully figured out this issue |
Managed to work out what looks like a quite small fix to get this working over at: #29 (would have attached the pull request here if I knew how, not sure if that's possible) |
+1 Great! |
Can you tell me how to install the new update? |
Thanks to all |
i updated my annotate using gem 'annotate', :git => "https://github.com/ctran/annotate_models.git" and it still happens to me. is there any other fix or branch i should get? |
@corroded are you remembering to call the correct executable via |
oh oh oh. sorry i forgot about that! I should've just uninstalled and installed the gem instead of just doing another bundle install(which probably didn't refresh the installation) thanks for the reminder! |
I had this same error. Got it to work by simply adding EDIT: Oh, I guess this was the small fix jeremyolliver was referring to, except it patches |
Easy one |
Thanks Jeremy for the fix. I'm currently working my way through Michael Hartl's RonR3 tutorial and this was a big help. |
As calvinl commented ,it just need a require 'rake' in file Rakefile. |
annotate-2.4.1.beta1 seems to already be out there. |
What does require 'rake' do? to the process? |
great.. this saves me :) |
Thanks it worked for me! |
Thanks! |
Great. This solved the issue. Thanks a lot. |
Awesome, thank you! |
@wxjaqy suggestion worked for me! |
Confirmed. Addding require 'rake' in RakeFile solved the problem. ruby 1.9.2-p318 |
For the first time I use this gem. I find it work on a project with rails3.0, yet I fail to make it run with rails3.1. The rails version I use include 3.1.0.rc4 and 3.1.0.rc3.
The error I get is like:
The text was updated successfully, but these errors were encountered: