When I build a gem, I get
(in /home/agrimm/ruby开发者_如何学Go/chaser)
WARNING: no rubyforge_project specified
Successfully built RubyGem
Name: chaser
Version: 0.0.2
File: chaser-0.0.2.gem
The friendly manual says "Obviously, if your gem doesn’t have a Rubyforge project, leave this setting alone." (I don't have a Rubyforge project)
Trying to set rubyforge_project
to nil
still produced the warning, and setting it to false
caused the build to fail.
Is there anything I can currently do about the warning, or should I just wait?
I registered a project on RubyForge called "nowarning" to avoid this warning. Feel free to point to it by putting this in your gemspec:
s.rubyforge_project = "nowarning"
If the user ever manages to navigate to the project page they just get a note about going back to look at the home page. Have a look at http://rubyforge.org/projects/nowarning/
Feel free to suggest any copy updates for the description on that page.
Just ignore it. It's harmless, and eventually it will go away.
精彩评论