I created a new Ruby project from an existing code base. I have the vendor directory set up as follows:
- ls -l vendor:
lrwxrwxrwx 1 jgordon jgordon 29 2007-01-15 10:32 actionmailer -> /usr/share/rails/actionmailer
lrwxrwxrwx 1 jgordon jgordon 27 2007-01-15 10:32 actionpack -> /usr/share/rails/actionpack
lrwxrwxrwx 1 jgordon jgordon 33 2007-01-15 10:32 actionwebservice -> /usr/share/rails/actionwebservice
lrwxrwxrwx 1 jgordon jgordon 29 2007-01-15 10:32 activerecord -> /usr/share/rails/activerecord
lrwxrwxrwx 1 jgordon jgordon 30 2007-01-15 10:32 activesupport -> /usr/share/rails/activesupport
drwxr-xr-x 7 jgordon jgordon 4096 2007-01-23 15:18 hpricot-0.4-mswin32
drwxr-xr-x 4 jgordon jgordon 4096 2007-01-23 15:18 plugins
lrwxrwxrwx 1 jgordon jgordon 1 2007-01-15 10:32 rails -> .
lrwxrwxrwx 1 jgordon jgordon 25 2007-01-15 10:32 railties -> /usr/share/rails/railties
When the plugin attempts to scan the vendor directory, it gets in an infinite recursive loop when trying to traverse the vendor/rails directory, since it points back to the vendor directory. Is it possible to resolve symlinks before parsing files? Or is this an upstream problem with IntelliJ itself?
Thanks!
Environment: Linux:
Linux kubuntu 2.6.15-23-386 #1 PREEMPT Tue May 23 13:49:40 UTC 2006 i686 GNU/Linux
Java:
java version "1.6.0"
Java(TM) SE Runtime Environment (build 1.6.0-b105)
Java HotSpot(TM) Client VM (build 1.6.0-b105, mixed mode, sharing)
Issue was resolved
Thanks,
Jonathan.
To bypass this problem you can update your rails, it doesn't create those symlinks anymore.