Excerpts from Ingmar Vanhassel's message of Wed Jan 09 23:05:40 -0800 2008:
> [EMAIL PROTECTED] /var/temp/portage/net-mail/sup-9999/work $ rake gem
> (in /home/temp/portage/net-mail/sup-9999/work)
> [Thu Jan 10 07:48:47 +0100 2008] using character set encoding "UTF-8"
> rake aborted!
> can't convert Fixnum into String
> /home/temp/portage/net-mail/sup-9999/work/Rakefile:15:in `new'
Well Rake helpfully omits the backtrace, and I can think of a very easy
way to convert a fixnum into a string, but I'm guessing this is a
problem with an earlier version of RubyGems than I have. Does this patch
help?
diff --git a/Rakefile b/Rakefile
index 33e9883..69f0b68 100644
--- a/Rakefile
+++ b/Rakefile
@@ -10,7 +10,7 @@ end # thanks to "Mike H"
## allow people who use development versions by running "rake gem"
## and installing the resulting gem it to be able to do this. (gem
## versions must be in dotted-digit notation only).
-version = Redwood::VERSION == "git" ? 999 : Redwood::VERSION
+version = Redwood::VERSION == "git" ? "999" : Redwood::VERSION
Hoe.new('sup', version) do |p|
p.rubyforge_name = 'sup'
--
William <[EMAIL PROTECTED]>
_______________________________________________
sup-talk mailing list
[email protected]
http://rubyforge.org/mailman/listinfo/sup-talk