Script/server error (undefined method `name' for "ZenTest")

Hi All,

I have an rails 2.3.11 app which I’m trying to run locally. When runnign
script/server i get this error which i googled but couldn’t find the
answer anywhere:

Gem::SourceIndex#initialize called from
/opt/local/lib/ruby/gems/1.8/gems/rails-2.3.11/lib/rails/vendor_gem_source_index.rb:100.
Invalid gemspec in
[/opt/local/lib/ruby/gems/1.8/specifications/heroku-2.11.0.gemspec]:
invalid date format in specification: “2011-10-22 00:00:00.000000000Z”
/opt/local/lib/ruby/gems/1.8/gems/rails-2.3.11/lib/rails/gem_dependency.rb:277:in
==': undefined methodname’ for “ZenTest”:String (NoMethodError)
from /opt/local/lib/ruby/site_ruby/1.8/rubygems/dependency.rb:217:in
===' from /opt/local/lib/ruby/site_ruby/1.8/rubygems/dependency.rb:217:inmatching_specs’
from
/opt/local/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:36:in
find_all' from /opt/local/lib/ruby/site_ruby/1.8/rubygems/specification.rb:410:ineach’
from
/opt/local/lib/ruby/site_ruby/1.8/rubygems/specification.rb:409:in
each' from /opt/local/lib/ruby/site_ruby/1.8/rubygems/dependency.rb:216:infind_all’
from /opt/local/lib/ruby/site_ruby/1.8/rubygems/dependency.rb:216:in
matching_specs' from /opt/local/lib/ruby/site_ruby/1.8/rubygems/dependency.rb:238:into_specs’
from /opt/local/lib/ruby/site_ruby/1.8/rubygems/dependency.rb:256:in
to_spec' from /opt/local/lib/ruby/site_ruby/1.8/rubygems.rb:1210:ingem’

Any suggestions?

Thanks & Great week

On 3 December 2011 18:17, Roy Z. [email protected] wrote:

Hi All,

I have an rails 2.3.11 app which I’m trying to run locally. When runnign
script/server i get this error which i googled but couldn’t find the
answer anywhere:

I can’t find the reference now but I think I remember seeing this
issue (or similar) reported previously and it being due to using a
version of rubygems that did not match the version of Rails being used
(or possibly the version of ruby). It might be worth looking for info
on which version is ok for 2.3.11 and your ruby version. I could be
completely wrong about this however. Also check that the version of
zentest you are using is ok for 2.3.11

Colin

Colin L. wrote in post #1034941:

On 3 December 2011 18:17, Roy Z. [email protected] wrote:

Hi All,

I have an rails 2.3.11 app which I’m trying to run locally. When runnign
script/server i get this error which i googled but couldn’t find the
answer anywhere:

I can’t find the reference now but I think I remember seeing this
issue (or similar) reported previously and it being due to using a
version of rubygems that did not match the version of Rails being used
(or possibly the version of ruby). It might be worth looking for info
on which version is ok for 2.3.11 and your ruby version. I could be
completely wrong about this however. Also check that the version of
zentest you are using is ok for 2.3.11

Colin

Hi Colin,

Thanks for your answer, i will try to look for this info and hopefully
stop fighting this issue :slight_smile:

Cheers,
Roy