```ruby
# $Id$

require 'rubygems'
SPEC = Gem::Specification.new do |s|
  s.name = "racket"
  s.version = "1.0.9"
  s.author = "Jon Hart"
  s.email = "jhart@spoofed.org"
  s.homepage = "http://spoofed.org/files/racket/"
  s.description = "Ruby Gem for reading and writing raw packets"
  s.platform = Gem::Platform::RUBY
  s.summary = "Packet foo"
  candidates =  Dir.glob("{bin,docs,examples,lib,test}/**/*")
  s.files = candidates.delete_if do |item|
              item.include?("CVS") || item.include?("rdoc") || item.include?(".svn")
            end
  s.require_path = "lib"
  s.test_files = Dir.glob("test/ts_*.rb")
  s.has_rdoc = true
  s.rdoc_options << "-A rest,octets,hex_octets,unsigned,signed,text,rest"
  s.rdoc_options << "-p"
  s.rdoc_options << "-m" << "README"
  s.rdoc_options << "-W http://spoofed.org/files/racket/src/%s"
  s.extra_rdoc_files = ["README"]
end
# vim: set ts=2 et sw=2:
```

Add pcaprub and bit-struct as dependencies
user
```ruby
# $Id$

require 'rubygems'
SPEC = Gem::Specification.new do |s|
  s.name = "racket"
  s.version = "1.0.10"
  s.author = "Jon Hart"
  s.email = "jhart@spoofed.org"
  s.homepage = "http://spoofed.org/files/racket/"
  s.description = "Ruby Gem for reading and writing raw packets"
  s.platform = Gem::Platform::RUBY
  s.summary = "Packet foo"
  candidates =  Dir.glob("{bin,docs,examples,lib,test}/**/*")
  s.files = candidates.delete_if do |item|
              item.include?("CVS") || item.include?("rdoc") || item.include?(".svn")
            end
  s.require_path = "lib"
  s.add_dependency("pcaprub")
  s.add_dependency("bit-struct")
  s.test_files = Dir.glob("test/ts_*.rb")
  s.has_rdoc = true
  s.rdoc_options << "-A rest,octets,hex_octets,unsigned,signed,text,rest"
  s.rdoc_options << "-p"
  s.rdoc_options << "-m" << "README"
  s.rdoc_options << "-W http://spoofed.org/files/racket/src/%s"
  s.extra_rdoc_files = ["README"]
end
# vim: set ts=2 et sw=2:
```
assistant