joshfrench/rakismet

v1.0.1 doesn't work with Rails 2.3.10 (possibly anything pre Rails 3?)

bvandenbos opened this issue · 2 comments

The railtie require doesn't work pre rails 3. Blows up as follows:

ruby-1.9.2-p0 :004 > require 'rakismet' 
MissingSourceFile: no such file to load -- rails
    from <internal:lib/rubygems/custom_require>:29:in `require'
    from <internal:lib/rubygems/custom_require>:29:in `require'

That is correct. From the Readme:

Rakismet 1.0.0 works with Rails 3 and other Rack-based frameworks. Rakismet 0.4.2 is compatible with Rails 2.

There's very little functional difference between 0.4.2 and 1.0.x, most of the rewrite between the two was just to move it to Rails 3. So you wouldn't be missing anything by using 0.4.2 on Rails 2.

Ah. Sorry, I should have paid closer attention to the readme. Thanks!

ben