[Win32utils-devel] Attempt to build a gemspec

win32utils-devel at rubyforge.org win32utils-devel at rubyforge.org
Fri Nov 5 12:55:29 EST 2004


It works for me ...see transcript below:

win32utils-devel at rubyforge.org wrote:

>a specific version.  Second, I'm still doing something wrong.  When I
>tried that I got:
>irb(main):003:0> require_gem "win32-ipc"
>LoadError: No such file to load -- win32/ipc
>        from
Microsoft Windows XP [Version 5.1.2600]
(C) Copyright 1985-2001 Microsoft Corp.

C:\dan\win32utils\win32utils\win32-ipc>type ipc2.gemspec

require "rubygems"

spec = Gem::Specification.new do |s|

   s.name     = "win32-ipc"
   s.version  = "0.3.1"
   s.platform = Gem::Platform::WIN32
   s.summary  = "A base class for Win32 synchronization objects."

   s.files = ["ipc.so","lib/win32/ipc.c","lib/win32/ipc.h"]

   s.require_path = "lib"
   s.autorequire  = "win32/ipc"

   s.has_rdoc         = true
   s.extra_rdoc_files = ["README","CHANGES"]
   s.rdoc_options     = ["-S"]

   s.test_file = "test/tc_ipc.rb"

   s.author   = "Daniel J. Berger"
   s.email    = "djberg96 at yahoo.com"
   s.homepage = "http://www.rubyforge.org/projects/win32utils"


if $0 == __FILE__

C:\dan\win32utils\win32utils\win32-ipc>ruby ipc2.gemspec
  Successfully built RubyGem
  Name: win32-ipc
  Version: 0.3.1
  File: win32-ipc-0.3.1-mswin32.gem

C:\dan\win32utils\win32utils\win32-ipc>gem install 
Attempting local installation of 'win32-ipc-0.3.1-mswin32.gem'
Successfully installed win32-ipc, version 0.3.1
Installing RDoc documentation for win32-ipc-0.3.1-mswin32...
No definition for ipc_wait_any
No definition for ipc_wait_all
No definition for ipc_init
No definition for ipc_wait


More information about the win32utils-devel mailing list