A
ara.t.howard
i have this
jib:~/eg/ruby/rubyforge/rubyforge-0.1.1 > file bin//rubyforge
bin//rubyforge: a ruby script text executable
jib:~/eg/ruby/rubyforge/rubyforge-0.1.1 > cat ./gemspec.rb
lib, version = File::basename(File::dirname(File::expand_path(__FILE__))).split %r/-/, 2
require 'rubygems'
spec = Gem::Specification.new do |s|
s.name = lib
s.version = version
s.platform = Gem:latform::RUBY
s.summary = lib
s.files = Dir["lib/*"] + Dir["bin/*"]
s.require_path = "lib"
s.autorequire = lib
s.has_rdoc = File::exist? "doc"
s.test_suite_file = "test/#{ lib }.rb" if File::directory? "test"
s.author = "Ara T. Howard"
s.email = "(e-mail address removed)"
s.homepage = "http://codeforpeople.com/lib/ruby/#{ lib }/"
end
and this gem, apparently, does not install a 'rubyforge' script into the system
bin dir. why not?
regards.
-a
jib:~/eg/ruby/rubyforge/rubyforge-0.1.1 > file bin//rubyforge
bin//rubyforge: a ruby script text executable
jib:~/eg/ruby/rubyforge/rubyforge-0.1.1 > cat ./gemspec.rb
lib, version = File::basename(File::dirname(File::expand_path(__FILE__))).split %r/-/, 2
require 'rubygems'
spec = Gem::Specification.new do |s|
s.name = lib
s.version = version
s.platform = Gem:latform::RUBY
s.summary = lib
s.files = Dir["lib/*"] + Dir["bin/*"]
s.require_path = "lib"
s.autorequire = lib
s.has_rdoc = File::exist? "doc"
s.test_suite_file = "test/#{ lib }.rb" if File::directory? "test"
s.author = "Ara T. Howard"
s.email = "(e-mail address removed)"
s.homepage = "http://codeforpeople.com/lib/ruby/#{ lib }/"
end
and this gem, apparently, does not install a 'rubyforge' script into the system
bin dir. why not?
regards.
-a