Topic: "index" folder for acts_as_ferret is incorrect

Hi folks,

I have an issue with the "index" folder (where acts_as_ferret stores the indexes) being incorrect.

Here's my setup:

subdomain: dev.mysite.com
rails app path: /home/mysite/rails_app
http path (as set by cPanel): /home/mysite/public_html/dev

I don't want to overide cPanel, so I've symlinked like so:

ln -s /home/mysite/rails_app/public/ /home/mysite/public_html/dev

Works fine, except for acts_as_ferret (or ferret?).

As you can see, it wrongly traverses down a directory from /home/mysite/public_html/dev instead of the symlinked location: /home/mysite/rails_app/public

Here's the error:

Errno::EACCES in DirectoriesController#show

Permission denied - /home/mysite/public_html/index/development
RAILS_ROOT: /home/mysite/public_html/dev/../config/..

Application Trace | Framework Trace | Full Trace
/usr/local/lib/ruby/1.8/fileutils.rb:243:in `mkdir'
/usr/local/lib/ruby/1.8/fileutils.rb:243:in `fu_mkdir'
/usr/local/lib/ruby/1.8/fileutils.rb:217:in `mkdir_p'
/usr/local/lib/ruby/1.8/fileutils.rb:215:in `reverse_each'
/usr/local/lib/ruby/1.8/fileutils.rb:215:in `mkdir_p'
/usr/local/lib/ruby/1.8/fileutils.rb:201:in `each'
/usr/local/lib/ruby/1.8/fileutils.rb:201:in `mkdir_p'
/usr/local/lib/ruby/gems/1.8/gems/acts_as_ferret-0.4.0/lib/acts_as_ferret.rb:95:in `ensure_directory'
/usr/local/lib/ruby/gems/1.8/gems/acts_as_ferret-0.4.0/lib/act_methods.rb:131:in `acts_as_ferret'


Has anyone had this problem? Any ideas? Thanks

Zubin