products forums blog support careers about
  History | Log In     View a printable version of the current page.  
PRO USERS, to ensure 'PRIORITY SUPPORT' make sure that your ASAP account is "tagged" when you file the request. Click here for instructions on how to tag your account.
Issue Details (XML | Word | Printable)

Key: ROR-980
Type: Bug Bug
Status: Resolved Resolved
Resolution: Fixed
Priority: Unprioritized Unprioritized
Assignee: Chris Williams
Reporter: Gary Taylor
Votes: 1
Watchers: 1
Operations

If you were logged in you would be able to see more operations.
Aptana RadRails

Eclipse 3.4 Radrails and linux

Created: 06/Oct/08 01:53 PM   Updated: 10/Mar/09 12:23 PM
Return to search
Component/s: None
Affects Version/s: 1.1.0, 1.0.3
Fix Version/s: 1.1.1

Impact on Workflow: Major
Studio Install Type: Eclipse Plugin
Operating System: Ubuntu
Participants: Chris Williams, Gary Taylor, Lukas K and Mukesh Meena


 Description  « Hide
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)



 All   Comments   Change History      Sort Order: Ascending order - Click to sort in descending order
Change by Chris Williams - 18/Dec/08 01:29 PM
Field Original Value New Value
Status Open [ 1 ] Resolved [ 5 ]
Resolution Fixed [ 1 ]
Fix Version/s 1.1.1 [ 10150 ]
Affects Version/s 1.1.0 [ 10021 ]

Change by Chris Williams - 30/Dec/08 03:38 PM
Fix Version/s 1.2.0 [ 10082 ]

Change by Chris Williams - 10/Mar/09 12:01 PM
Fix Version/s 1.1.2 [ 10153 ]
Fix Version/s 1.2.0 [ 10082 ]
Fix Version/s 1.1.1 [ 10150 ]

Change by Chris Williams - 10/Mar/09 12:23 PM
Fix Version/s 1.1.1 [ 10150 ]
Fix Version/s 1.1.2 [ 10153 ]