This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 111837 - WEBrick ignores settings for Ruby Interpreter
Summary: WEBrick ignores settings for Ruby Interpreter
Status: RESOLVED FIXED
Alias: None
Product: ruby
Classification: Unclassified
Component: Project (show other bugs)
Version: 6.x
Hardware: All Linux
: P3 blocker (vote)
Assignee: Torbjorn Norbye
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-08-02 23:23 UTC by esmithbss
Modified: 2007-09-05 13:26 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description esmithbss 2007-08-02 23:23:45 UTC
I set the Options->Miscelaneous->Ruby configuration options to use Ruby 1.8 (/usr/bin/ruby for me).

Next I created a simple Ruby on Rails project using NetBeans 6.0M10.  Call the program "Demo"

I created a controller (test) and a view (index) and deliberately introduced a run-time error in my controller code (two
render's within one method.

class TestController < ApplicationController
   def index
      render :text => "Line 1"
      render :text => "Line 2"
   end
end

Now I run the application using the Run item on the Project's pull down menu.

Navigate to the location http://localhost:3000/test/index

The error is correctly identifed, but the ruby interpreter is jruby instead of the ruby setting from my options.
Comment 1 Martin Krauskopf 2007-09-05 13:26:52 UTC
There were a lot of work to be done in this area. I've also tried to reproduce and got correct stack trace. Please
reopen if this is still reproducible for you. Thanks for feedback.