I am trialling using linux for my development environment instead of mac osx.
So, I have installed the latest version of eclipse (3.4) and then installed aptana studio, setup my professional license, then installed radrails, let it do its updates and tried to use it.
The environment itself seems to be more stable than the mac version which is a bonus, but I cannot get the debug to work.
If I go into the server of a brand new rails project (setup via aptana) and do 'Start As Debug' , I get an error and I have enclosed the log file so that you can see it for yourself.
It appears that it cannot find rdebug-ide which I installed using gem install ruby-debug I think.
It seems that it cannot resolve GEM_LIB - not sure what this means ?
When I installed rad rails, it could not find my ruby VM, so I had to tell it where it was. Seemed strange as it is installed in its default location (/usr/bin).
Here is part of my logfile :-
!ENTRY org.rubypeople.rdt.launching 1 -1 2008-10-06 19:32:18.519
!MESSAGE Starting: /usr/bin/ruby -I /home/garywork/Applications/eclipse/plugins/org.rubypeople.rdt.launching_1.0.3.200807071913NGT/ruby/flush -rrdt_stream_sync.rb – /usr/bin/gem dependency rails -v 2.0.2
!ENTRY com.aptana.ide.editors 4 0 2008-10-06 19:32:19.438
!MESSAGE (Build 1.1.7.015414) Could not get a service factory for mime type: text/javascript
!ENTRY com.aptana.ide.editors 4 0 2008-10-06 19:32:19.438
!MESSAGE (Build 1.1.7.015414) Could not get a service factory for mime type: text/javascript
!ENTRY com.aptana.ide.editors 4 0 2008-10-06 19:32:19.438
!MESSAGE (Build 1.1.7.015414) Could not get a service factory for mime type: text/javascript
!ENTRY com.aptana.ide.editors 4 0 2008-10-06 19:32:19.439
!MESSAGE (Build 1.1.7.015414) Could not get a service factory for mime type: text/javascript
!ENTRY com.aptana.ide.editors 4 0 2008-10-06 19:32:19.439
!MESSAGE (Build 1.1.7.015414) Could not get a service factory for mime type: text/javascript
!ENTRY com.aptana.rdt 1 -1 2008-10-06 19:32:19.601
Unable to render embedded object: File (MESSAGE Got into a bad state) not found.
!ENTRY org.rubypeople.rdt.launching 1 -1 2008-10-06 19:32:19.846
!MESSAGE Starting: /usr/bin/ruby -r rubygems -e p(Gem.path) -I /home/garywork/Applications/eclipse/plugins/org.rubypeople.rdt.launching_1.0.3.200807071913NGT/ruby/flush -rrdt_stream_sync.rb – /usr/bin/gem
!ENTRY org.rubypeople.rdt.core 1 0 2008-10-06 19:32:51.397
!MESSAGE Was unable to resolve path: GEM_LIB/bin/rdebug-ide
!ENTRY org.rubypeople.rdt.launching 1 -1 2008-10-06 19:32:51.758
!MESSAGE Starting: /usr/bin/ruby -e p(Process.pid.to_s) -e load(ARGV.shift) -I /home/garywork/Applications/eclipse/plugins/org.rubypeople.rdt.launching_1.0.3.200807071913NGT/ruby/flush -rrdt_stream_sync.rb – --port 53391 script/server – webrick --port=3000 --environment=development --binding=127.0.0.1
!ENTRY org.eclipse.core.jobs 4 2 2008-10-06 19:32:51.797
!MESSAGE An internal error occurred during: "Starting server".
!STACK 0
java.lang.NullPointerException
at java.lang.ProcessBuilder.start(ProcessBuilder.java:441)
at java.lang.Runtime.exec(Runtime.java:593)
at org.eclipse.debug.core.DebugPlugin.exec(DebugPlugin.java:798)
at org.rubypeople.rdt.launching.AbstractVMRunner.exec(AbstractVMRunner.java:87)
at org.rubypeople.rdt.internal.launching.StandardVMDebugger.run(StandardVMDebugger.java:107)
at org.rubypeople.rdt.launching.RubyLaunchDelegate.launch(RubyLaunchDelegate.java:106)
at org.eclipse.debug.internal.core.LaunchConfiguration.launch(LaunchConfiguration.java:764)
at org.eclipse.debug.internal.core.LaunchConfiguration.launch(LaunchConfiguration.java:614)
at org.eclipse.debug.internal.core.LaunchConfiguration.launch(LaunchConfiguration.java:607)
at org.radrails.server.core.Server.startServer(Server.java:581)
at org.radrails.server.core.Server.access$2(Server.java:561)
at org.radrails.server.core.Server$8.run(Server.java:918)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:55)