#1379 ✓resolved

RDoc::Parser::Ruby failure around line 116 of lib/dm-core/collection.rb

Reported by Sonja | July 30th, 2010 @ 12:19 AM

[00:40] * Now talking in #ruby-lang
[00:40] * Topic is 'Ruby - The programming language, http://ruby-lang.org | Ruby 1.9.1 is out | Read http://ruby.stadik.net/ | Paste >3 Lines of Text on http://pastie.org'
[00:40] * Set by zenspider!~user@envy.zenspider.com on Thu Jun 24 18:17:30
[00:40] <Sonja> i'm having a lot of problems with rdoc
[00:40] <Sonja> whenever gems get installed
[00:44] <Asher-> what sort of problem?
[00:50] <Sonja> Asher- this sort: http://pastie.org/1066665
[01:00] <Asher-> it's not just you
[01:00] <Asher-> just tested it and got the same
[01:01] <Asher-> looks like it's caused by the line "alias & intersection"
[01:08] <Asher-> ok there are three files to edit
[01:10] <Asher-> you need to find the directory with your gems; mine is: /usr/local/lib/ruby/gems/1.9.1/gems/dm-core-1.0.0
[01:12] <Asher-> from there you need to edit three files: lib/dm-core/collection.rb (line 116), lib/dm-core/query/conditions/operation.rb (line 251), lib/dm-core/query.rb (line 450); on each line you need to change the names ("&" and "intersection") to :name, so :& and :intersection
[01:13] <Asher-> sonja- then you can do gem build dm-core.gemspec, and then gem install ./dm-core-1.0.0.gem
[01:13] <Asher-> and your rdoc will build in ./doc if you type rdoc
[01:13] <Sonja> thank you for your help!!
[01:14] <Asher-> sonja - for sure; would you mind emailing the developers with these changes?
[01:14] <Sonja> i will!
[01:14] <Asher-> great :)

Comments and changes to this ticket

Please Sign in or create a free account to add a new ticket.

With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.

New-ticket Create new ticket

Create your profile

Help contribute to this project by taking a few moments to create your personal profile. Create your profile »