B
Brian Takita
Hello,
When I run rake, I get the following error.
rake pkg/TestSuiteRunner-0.1.0.gem
(in C:/Code/RubyProjects/test_suite_runner)
rake aborted!
Don't know how to build task 'pkg/TestSuiteRunner-0.1.0.gem'
Does anybody know what I'm doing wrong?
Thank you,
Brian Takita
Here is the text in Rakefile.rb
require 'rubygems'
Gem::manage_gems
require 'rake/gempackagetask'
spec = Gem::Specification.new do |s|
s.name = "Test_Suite_Runner"
s.version = "0.1.0"
s.author = "Brian Takita"
s.email = "(e-mail address removed)"
s.homepage = "http://TestSuiteRunner.rubyforge.org"
s.platform = Gem:latform::RUBY
s.summary = "Automatically runs all unit test in directory and
subdirectories."
s.files = FileList["{bin,tests,lib,docs}/**/*"].exclude("rdoc").to_a
s.require_path = "lib"
s.autorequire = "testsuiterunner"
s.test_file = "tests/ts_test_suite_runner.rb"
s.has_rdoc = true
s.extra_rdoc_files = ["README"]
end
Rake::GemPackageTask.new(spec) do |pkg|
pkg.need_tar = true
end
When I run rake, I get the following error.
rake pkg/TestSuiteRunner-0.1.0.gem
(in C:/Code/RubyProjects/test_suite_runner)
rake aborted!
Don't know how to build task 'pkg/TestSuiteRunner-0.1.0.gem'
Does anybody know what I'm doing wrong?
Thank you,
Brian Takita
Here is the text in Rakefile.rb
require 'rubygems'
Gem::manage_gems
require 'rake/gempackagetask'
spec = Gem::Specification.new do |s|
s.name = "Test_Suite_Runner"
s.version = "0.1.0"
s.author = "Brian Takita"
s.email = "(e-mail address removed)"
s.homepage = "http://TestSuiteRunner.rubyforge.org"
s.platform = Gem:latform::RUBY
s.summary = "Automatically runs all unit test in directory and
subdirectories."
s.files = FileList["{bin,tests,lib,docs}/**/*"].exclude("rdoc").to_a
s.require_path = "lib"
s.autorequire = "testsuiterunner"
s.test_file = "tests/ts_test_suite_runner.rb"
s.has_rdoc = true
s.extra_rdoc_files = ["README"]
end
Rake::GemPackageTask.new(spec) do |pkg|
pkg.need_tar = true
end