jcasimir/draper — Issue #45: active_support dependency
Author: anlek
Created: 2011-10-13 02:56:00+00:00
State: open

I'm trying to build a plugin for draper and when requiring draper/base, I get this:

```
/Users/andrew/code/ruby_apps/draper-cancan/vendor/ruby/1.9.1/gems/draper-0.8.1/lib/draper/base.rb:3:in `require': cannot load such file -- active_support/core_ext/class/attribute (LoadError)
from /Users/andrew/code/ruby_apps/draper-cancan/vendor/ruby/1.9.1/gems/draper-0.8.1/lib/draper/base.rb:3:in `'
from /Users/andrew/code/ruby_apps/draper-cancan/vendor/ruby/1.9.1/gems/draper-0.8.1/lib/draper/base.rb:2:in `'
from /Users/andrew/code/ruby_apps/draper-cancan/vendor/ruby/1.9.1/gems/draper-0.8.1/lib/draper/base.rb:1:in `'
```

Does that not mean that draper has an active_support dependency? I know it's only to be used with a rails app and active_support will always be there, but I'm trying to test my addon and it's effects on draper, so there is no need for rails.
Just figured I'd ask...