Forums : The Ohcount Project

Dear Open Hub Users,

We’re excited to announce that we will be moving the Open Hub Forum to https://community.blackduck.com/s/black-duck-open-hub. Beginning immediately, users can head over, register, get technical help and discuss issue pertinent to the Open Hub. Registered users can also subscribe to Open Hub announcements here.


On May 1, 2020, we will be freezing https://www.openhub.net/forums and users will not be able to create new discussions. If you have any questions and concerns, please email us at [email protected]

Rules missing from Rakefile

I tried to rake install the current dev version of ohcount, but the resulting gem is missing the rules/*.rb files and the installed ohcount command thus fails.

Here is a quick one-line patch that fixed this for me:

diff --git a/Rakefile b/Rakefile
index 3d20472..986c74e 100644
--- a/Rakefile
+++ b/Rakefile
@@ -24,6 +24,7 @@ RDOCOPTS = ['--quiet', '--title', 'Ohcount Reference', '--main', 'README', '--i
PKG
FILES = %w(README COPYING Rakefile lib/ohcount.rb) +
Dir.glob(ext/ohcount_native/*.{h,c,rb}) +
Dir.glob(lib/**/*.rb) +
+ Dir.glob(rules/*.rb) +
Dir.glob(test/*) +
Dir.glob(test/**/*) +
Dir.glob(bin/*)

--
Martijn Pieters

Martijn Pieters about 17 years ago
 

Thanks Martijn,

I must admit we don't run the rake/install very often. To be honest, I don't think our gem was ever entirely correct.

Sorry for the troubles -- and thanks for the patch. I'll open a bug.

Thanks,
Robin

Robin Luckey about 17 years ago