dekellum/iudex — pull request #4 by mzsanford (2012-05-29 19:50:36+00:00)
Title: Ruby 1.9 compatibility issue: relative require

```
matt@laptop:~/src/github/iudex[ruby-1.9-fixes] ∴ jruby -v
jruby 1.7.0.preview1 (ruby-1.9.3-p203) (2012-05-19 00c8c98) (Java HotSpot(TM) 64-Bit Server VM 1.6.0_29) [darwin-x86_64-java]
matt@laptop:~/src/github/iudex[ruby-1.9-fixes] ∴ jrake --version
jrake
rake, version 0.9.2.2
matt@laptop:~/src/github/iudex[ruby-1.9-fixes] ∴ jrake
>> cd iudex-filter
/Library/Frameworks/JRuby.framework/Versions/Current/bin/jrake test
rake aborted!
There was a LoadError while evaluating iudex-filter.gemspec:
Could not find rjack-tarpit (~> 2.0) amongst [actionmailer-3.2.2, actionpack-3.2.2, activemodel-3.2.2, activerecord-3.2.2, activeresource-3.2.2, activesupport-3.2.2, addressable-2.2.8, addressable-2.2.6, albino-1.3.3, arel-3.0.2, attr_required-0.0.5, autoparse-0.3.1, bcrypt-ruby-3.0.1, builder-3.0.0, bundler-1.0.21, chronic-0.6.7, chronic_duration-0.9.6, chunky_png-1.2.5, classifier-1.3.3, cld-0.2.0, coffee-rails-3.2.2, coffee-script-2.2.0, coffee-script-source-1.2.0, compass-0.12.1, configuration-1.3.1, devise-2.0.4, directory_watcher-1.4.1, erubis-2.7.0, event-calendar-2.3.3, execjs-1.3.0, extlib-0.9.15, faraday-0.7.6, fast-stemmer-1.0.0, fb_graph-2.4.11, foreman-0.26.1, fssm-0.2.8.1, google-api-client-0.4.3, heroku-2.14.0, hike-1.2.1, httpclient-2.2.4, i18n-0.6.0, image_size-1.0.4, jekyll-0.11.2, jekyll-0.11.0, jekyll-svg-plugin-1.1.0, journey-1.0.3, jquery-rails-2.0.1, json-1.6.5, jwt-0.1.4, kramdown-0.13.4, kramdown-0.13.3, launchy-2.1.0, launchy-2.0.5, launchy-0.3.7, liquid-2.3.0, mail-2.4.3, maruku-0.6.0, mime-types-1.17.2, minitest-2.11.3, multi_json-1.1.0, multipart-post-1.1.5, numerizer-0.1.1, open_gem-1.4.2, orm_adapter-0.0.6, pg-0.13.2, polyglot-0.3.3, posix-spawn-0.3.6, rack-1.4.1, rack-cache-1.2, rack-oauth2-0.14.4, rack-ssl-1.3.2, rack-test-0.6.1, rails-3.2.2, railties-3.2.2, rake-0.9.2.2, rake-0.9.2, rake-compiler-0.7.9, rdoc-3.12, rest-client-1.6.7, rubyzip-0.9.5, sass-3.1.15, sass-rails-3.2.4, signet-0.3.2, sprockets-2.1.2, sqlite3-1.3.5, syntax-1.0.0, term-ansicolor-1.0.7, thor-0.14.6, tilt-1.3.3, treetop-1.4.10, tzinfo-0.3.32, uglifier-1.2.3, warden-1.1.1] from
/Users/matt/src/github/iudex/iudex-filter/iudex-filter.gemspec:3:in `load_gemspec'

Does it try to require a relative path? That doesn't work in Ruby 1.9.

(See full trace by running task with --trace)
rake aborted!
Command failed with status (1): [/Library/Frameworks/JRuby.framework/Versio...]

Tasks: TOP => multi
(See full trace by running task with --trace)
matt@laptop:~/src/github/iudex[ruby-1.9-fixes] ∴
```

I changed the relative requires to fix the problem. It seems odd but it was the best I could come up with. I also updated the iudex main page for GitHub to include a pointer to the docs.

I still have not managed to get the project to build but I'm making progress. Are there some docs on the build dependencies and process?