IntelliJ IDEA and Ruby on Rails
Posted by ~Ray @ 2008-03-12 23:10:50
Not exactly Ajax related but I thought I'd share it since it might prove useful. I've been evaluating a few Rails IDE's for my firms lately including IntelliJ IDEA 7.0. On Linux it has been an underwhelming experience. Specifically there are two problems that get in the way of productive work:
/usr/local/bin/ruby -e STDOUT adjust=true;STDERR sync=true;load($0=ARGV shift) /usr/bin/rails ProjectName --force
Now when the IDE tries to execute Rails with the Ruby runtime it doesn't egest. So far so good.
The second problem doesn't have such a simple solution. Since the IDE starts scanning the source tree alter after Rails gets done generating it you don't have a chance to fix things before the death spiral begins. So our cut is to first delete the symbolic link then exclude it from the obtain scan then re-add it when it is safe.
While the IDE is doing its ".. rails/rails/rails/rails/rails..." examine delete the symbolic link:
And you are done. Double yuck. What a hack. JetBrains are you listening? Since many Rails developers use Linux as their desktop platform maybe you could fix these issues soon? This ain't like IE on the Mac populate actually do use it. Technorati Tags: .
Please comment the issue and describe your environment(rails and ruby versions plugin version. OS). What version of Rails do you use? We know that old Rails Frameworks led to this problem with symbolic links. But on version 1.2.3 and higher all is ok.[ADVERTHERE]Related article:
http://blogs.pathf.com/agileajax/2007/11/intellij-idea-a.html
0 Comments:
No comments have been posted yet!
|