anton ivanov wrote:
> Hi,
>
> I'm trying out Netbeans ruby development. I just downloaded 6.1 with ruby
> bundled. I imported an existing project, but when I run the file that I
> normally run from the command line, I get an error that I haven't seen
> before (nor has anyone else according to Google):
>
> /usr/lib/ruby/1.8/rubygems/source_index.rb:92:in `load_specification':
> undefined method `parse' for Time:Class (NoMethodError)
> from /usr/lib/ruby/1.8/rubygems/specification.rb:314:in `date='
> from /usr/lib/ruby/1.8/rubygems/specification.rb:416:in `send'
> from /usr/lib/ruby/1.8/rubygems/specification.rb:416:in `initialize'
> from /usr/lib/ruby/1.8/rubygems/specification.rb:412:in `each'
> from /usr/lib/ruby/1.8/rubygems/specification.rb:412:in `initialize'
> from (eval):1:in `new'
> from (eval):1:in `load_specification'
> from /usr/lib/ruby/1.8/rubygems/source_index.rb:128:in `eval'
> ... 22 levels...
> from /home/aivanov/voxify/src/ruby/analytics/console.rb:1
> from /usr/lib/ruby/1.8/rubygems/custom_require.rb:27:in
> `gem_original_require'
> from /usr/lib/ruby/1.8/rubygems/custom_require.rb:27:in `require'
> from /home/aivanov/voxify/src/ruby/bin/anaconsole.rb:7
>
> The error is actually inside eval. I tried to set a breakpoint on
> /usr/lib/ruby/1.8/rubygems/source_index.rb:92 to inspect what is being
> eval'ed, but the debugger doesn't break on that line...
Seems like problem in RubyGems itself. What version of RubyGems are you
using? (gem env). Does it happen also when you run the same from command
line?
m.
---------------------------------------------------------------------
To unsubscribe, e-mail:
users-unsubscribe@...
For additional commands, e-mail:
users-help@...