[Rubygems-developers] Hoe, Rubyforge, and name confusion

Rick DeNatale rick.denatale at gmail.com
Thu May 28 17:50:36 EDT 2009


On Thu, May 28, 2009 at 5:23 PM, John Barnette <jbarnette at gmail.com> wrote:
> On May 28, 2009, at 11:20 AM, Rick DeNatale wrote:
>>
>> How?  I've found the 'documentation' for hoe rather ephemeral.
>
> Have you tried the basics? "ri Hoe" was how I found rubyforge_project, and
> it looks like pretty complete docs to me. Is there a bad website out there
> somewhere we need to update?

Yes, the problem is that I'm finding stuff too abstract and I can't
map to what I'm seeing on the Rubyforge web api. As I said, I think
that my project name is ri_cal, but rubyforge had me also give a unix
name which couldn't have underscores, so I made that ri-cal.

For example, from the ri

       Hoe.new("project_name", Project::VERSION) do |p|
         p.rubyforge_name = "rf_project"
         p.developer("Joe Blow", "joe at example.com")
         # add other details here
       end

What's the difference here between "project_name" and "rf_project",
how do I map those to RubyForge?  Right now I've got:

$hoe = Hoe.new('ri_cal', RiCal::VERSION) do |p|
  p.developer('author=Rick DeNatale', 'rick.denatale at gmail.com')
  p.changes              = p.paragraphs_of("History.txt", 0..1).join("\n\n")
  p.rubyforge_name       = 'ri-cal'
  p.extra_dev_deps = [
    ['newgem', ">= #{::Newgem::VERSION}"]
  ]

  p.clean_globs |= %w[**/.DS_Store tmp *.log]
  path = (p.rubyforge_name == p.name) ? p.rubyforge_name :
"\#{p.rubyforge_name}/\#{p.name}"
  p.remote_rdoc_dir = File.join(path.gsub(/^#{p.rubyforge_name}\/?/,''), 'rdoc')
  p.rsync_args = '-av --delete --ignore-errors'
end

The last thing I changed was  p.rubyforge_name   from 'ri_cal' to  'ri-cal'

And now when I try to release it ends with:

no <processor_id> configured for <Any>


I'm generally pretty good at figuring my way through configuration
issues like this, but for whatever reason, I'm stymied and a bit
frustrated here.

-- 
Rick DeNatale

Blog: http://talklikeaduck.denhaven2.com/
Twitter: http://twitter.com/RickDeNatale
WWR: http://www.workingwithrails.com/person/9021-rick-denatale
LinkedIn: http://www.linkedin.com/in/rickdenatale


More information about the Rubygems-developers mailing list