Hi,
I just published a generic and platform specific gem:
http://rubyforge.org/frs/?group_id=5920
It looks like the gems have replicated around the net:
http://rubyforge.iasi.roedu.net/gems/
When I do gem install ruby-usb on a Windows box, Rubygems seems to
download ruby-usb-0.1.2.gem and not ruby-usb-0.1.2-x86-mswin32.gem
This happens for both rubygems 1.0.1 and 1.1.0 (which I just updated to).
If I download ruby-usb-0.1.2-x86-mswin32.gem manually and install it
everything looks fine. Can anyone tell me how to fix this? The Windows
gemspec looks like the following:
Gem::Specification.new do |s|
s.name = %q{ruby-usb}
s.version = "0.1.2"
s.platform = %q{mswin32}
s.specification_version = 2 if s.respond_to? :specification_version=
s.required_rubygems_version = Gem::Requirement.new(">= 0") if
s.respond_to? :required_rubygems_version=
s.authors = ["Aslak Helles\303\270y", "Tanaka Akira"]
s.date = %q{2008-03-29}
s.description = %q{ruby-usb is a libusb binding library for Ruby.}
s.email = ["[EMAIL PROTECTED]", "[EMAIL PROTECTED]"]
s.extra_rdoc_files = ["History.txt", "Manifest.txt", "README.txt"]
s.files = ["COPYING", "History.txt", "Manifest.txt", "README.txt",
"README.win32", "Rakefile", "ext/constants.h", "ext/extconf.rb",
"ext/usb.c", "lib/usb.rb", "sample/usb-power", "ext/usb.so"]
s.has_rdoc = true
s.homepage = %q{http://www.a-k-r.org/ruby-usb/}
s.rdoc_options = ["--main", "README.txt"]
s.require_paths = ["lib", "ext"]
s.rubyforge_project = %q{ruby-usb}
s.rubygems_version = %q{1.0.1}
s.summary = %q{Tanaka Akira's ruby-usb packaged as gems}
end
P.S. My first upload of the Windows gem was broken, so I deleted it
and uploaded it again. Can that be the culplrit?
Aslak
_______________________________________________
Rubygems-developers mailing list
[email protected]
http://rubyforge.org/mailman/listinfo/rubygems-developers