I am new to Ruby. I have been using in on Mac OSX and every time I
run a ruby application I get the same long error. Here is the error
when I run "rake --version". Does anyone know what may be causing
this?
Matt B
rake --version
WARNING: compile error
/Library/Ruby/Gems/1.8/specifications/english-0.3.0.gemspec:23: syntax
error, unexpected '=', expecting ')'
s.add_dependency(%q<facets >=2.0.0
^
/Library/Ruby/Gems/1.8/specifications/english-0.3.0.gemspec:23:
no .<digit> floating literal anymore; put 0 before dot
s.add_dependency(%q<facets >=2.0.0
^
/Library/Ruby/Gems/1.8/specifications/english-0.3.0.gemspec:24: syntax
error, unexpected ')', expecting kEND
WARNING: Gem::Specification.new do |s|
s.name = %q{english}
s.version = "0.3.0"
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 = ["tigerops-community@rubyforge.org\n", "7rans
<transfire@gmail.com>", "George Moschovitis"]
s.date = %q{2008-09-27}
s.description = %q{English is an general purpose English language
processing library. It includes a number of useful libraries, such as
inflect.rb, similarity.rb, metaphone.rb, and so on.}
s.extra_rdoc_files = ["README", "MANIFEST", "CHANGES", "VERSION",
"NEWS", "COPYING"]
s.files = ["MANIFEST", "test", "test/test_levenshtein.rb", "test/
test_similarity.rb", "test/test_soundex.rb", "test/test_inflect.rb",
"test/test_double_metaphone.rb", "test/test_porter_stemming.rb", "test/
test_censor.rb", "test/fixture", "test/fixture/soundex.txt", "test/
fixture/metaphone.txt", "test/fixture/double_metaphone.txt", "test/
fixture/porter_stemming_input.txt", "test/fixture/metaphone_lp.txt",
"test/fixture/porter_stemming_output.txt", "test/test_dresner.rb",
"test/test_metaphone.rb", "CHANGES", "README", "meta", "meta/created",
"meta/homepage", "meta/summary", "meta/abstract", "meta/releases",
"meta/authors", "meta/requires", "meta/contact", "task", "task/test",
"task/rdoc", "task/clean", "lib", "lib/english", "lib/english/
double_metaphone.rb", "lib/english/style_orm.rb", "lib/english/
censor.rb", "lib/english/porter_stemming.rb", "lib/english/
levenshtein.rb", "lib/english/dresner.rb", "lib/english/jumble.rb",
"lib/english/soundex.rb", "lib/english/metaphone.rb", "lib/english/
textfilter.rb", "lib/english/similarity.rb", "lib/english/inflect.rb",
"lib/english/roman.rb", "lib/english/style.rb", "lib/english/
numerals.rb", "lib/english/array.rb", "lib/english/patterns.rb", "lib/
english/string.rb", "VERSION", "NEWS", "COPYING"]
s.has_rdoc = true
s.homepage = %q{http://english.rubyforge.org
}
s.rdoc_options = ["--inline-source", "--title", "english api", "--
main", "README"]
s.require_paths = ["lib"]
s.rubyforge_project = %q{english}
s.rubygems_version = %q{1.0.1}
s.summary = %q{English is an general purpose English language
processing library.}
s.test_files = ["test/test_levenshtein.rb", "test/
test_similarity.rb", "test/test_soundex.rb", "test/test_inflect.rb",
"test/test_double_metaphone.rb", "test/test_porter_stemming.rb", "test/
test_censor.rb", "test/fixture", "test/fixture/soundex.txt", "test/
fixture/metaphone.txt", "test/fixture/double_metaphone.txt", "test/
fixture/porter_stemming_input.txt", "test/fixture/metaphone_lp.txt",
"test/fixture/porter_stemming_output.txt", "test/test_dresner.rb",
"test/test_metaphone.rb"]
s.add_dependency(%q<facets >=2.0.0
, [">= 0"])
s.add_dependency(%q<>, [">= 0"])
end
rake, version 0.8.7