# IronRuby on NetBeans

**URL:** <https://www.ruby-forum.com/t/ironruby-on-netbeans/176570>\
**Category:** IronRuby\
**Created:** [October 2, 2009, 10:21am UTC](https://www.ruby-forum.com/t/ironruby-on-netbeans/176570 "2009-10-02T10:21:53Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![shayfriedman](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/s/bbe5ce/32.png) [@shayfriedman](https://www.ruby-forum.com/u/shayfriedman)\
**Post date:** [October 2, 2009, 10:21am UTC](https://www.ruby-forum.com/t/ironruby-on-netbeans/176570/1 "2009-10-02T10:21:53Z")

</div>

Hi friends,

I was trying to use IronRuby as a Ruby platform in NetBeans but without  
any  
success. It keeps telling me that the interpreter doesn’t seem to be a  
valid  
Ruby interpreter.  
This is what I have tried without success:

- I figured out that NetBeans was trying to run a file on the path  
“C:\program files\NetBeans 6…” which has spaces, so I tried to point  
it  
to a batch file I had created that executes ir “%\*”. No success.
- Tried to move NetBeans to a directory with no spaces at the path. No  
success.

I guess it’s something more than just doing that. From NetBeans log I  
can  
see that it fails every time with the next error:  
WARNING [org.netbeans.api.ruby.platform.RubyPlatformManager]: Detection  
of  
platform timeouted

Is someone familiar enough with NetBeans to find the reason for that?

Thanks!  
Shay.

---

<div class="post-metadata">

**Author:** ![shayfriedman](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/s/bbe5ce/32.png) [@shayfriedman](https://www.ruby-forum.com/u/shayfriedman)\
**Post date:** [October 2, 2009, 10:37am UTC](https://www.ruby-forum.com/t/ironruby-on-netbeans/176570/2 "2009-10-02T10:37:42Z")

</div>

## I guess you’d have to make ironruby a known platform for Netbeans, perhaps they only check for executable names that have ruby in them. you can try to symlink (ntfslink i believe) ir.exe to ironruby.exe and see where that gets you. (copying should also work) I’m using Rubymine, very similar to netbeans but works with IronRuby.

Met vriendelijke groeten - Best regards - Salutations  
Ivan Porto C.  
Blog: [http://flanders.co.nz](http://flanders.co.nz)  
Twitter: [http://twitter.com/casualjim](http://twitter.com/casualjim)  
Author of IronRuby in Action ([http://manning.com/carrero](http://manning.com/carrero))

---

<div class="post-metadata">

**Author:** ![shayfriedman](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/s/bbe5ce/32.png) [@shayfriedman](https://www.ruby-forum.com/u/shayfriedman)\
**Post date:** [October 2, 2009, 6:27pm UTC](https://www.ruby-forum.com/t/ironruby-on-netbeans/176570/3 "2009-10-02T18:27:50Z")

</div>

I’ve recently fixed issues with spaces in paths in %x{}. So maybe the  
latest IronRuby build would work if this is the blocker.

Tomas

From: removed\_email\_address@domain.invalid  
[[mailto:removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid)] On Behalf Of Shay F.  
Sent: Friday, October 02, 2009 1:17 AM  
To: removed\_email\_address@domain.invalid  
Subject: [Ironruby-core] IronRuby on NetBeans

Hi friends,

I was trying to use IronRuby as a Ruby platform in NetBeans but without  
any success. It keeps telling me that the interpreter doesn’t seem to be  
a valid Ruby interpreter.  
This is what I have tried without success:

- I figured out that NetBeans was trying to run a file on the path  
“C:\program files\NetBeans 6…” which has spaces, so I tried to point  
it to a batch file I had created that executes ir “%\*”. No success.
- Tried to move NetBeans to a directory with no spaces at the path. No  
success.

I guess it’s something more than just doing that. From NetBeans log I  
can see that it fails every time with the next error:  
WARNING [org.netbeans.api.ruby.platform.RubyPlatformManager]: Detection  
of platform timeouted

Is someone familiar enough with NetBeans to find the reason for that?

Thanks!  
Shay.

---

<div class="post-metadata">

**Author:** ![shayfriedman](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/s/bbe5ce/32.png) [@shayfriedman](https://www.ruby-forum.com/u/shayfriedman)\
**Post date:** [October 2, 2009, 5:45pm UTC](https://www.ruby-forum.com/t/ironruby-on-netbeans/176570/4 "2009-10-02T17:45:05Z")

</div>

I donâ€™t know about ntfslink, but I know mklink will work for NTFS  
symlinks and hard links (and junctions)

JD

From: removed\_email\_address@domain.invalid  
[[mailto:removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid)] On Behalf Of Ivan Porto  
Carrero  
Sent: Friday, October 02, 2009 1:31 AM  
To: removed\_email\_address@domain.invalid  
Subject: Re: [Ironruby-core] IronRuby on NetBeans

I guess you’d have to make ironruby a known platform for Netbeans,  
perhaps they only check for executable names that have ruby in them. you  
can try to symlink (ntfslink i believe) ir.exe to ironruby.exe and see  
where that gets you. (copying should also work)

## I’m using Rubymine, very similar to netbeans but works with IronRuby.

Met vriendelijke groeten - Best regards - Salutations  
Ivan Porto C.  
Blog: [http://flanders.co.nz](http://flanders.co.nz)  
Twitter: [http://twitter.com/casualjim](http://twitter.com/casualjim)  
Author of IronRuby in Action ([http://manning.com/carrero](http://manning.com/carrero))

On Fri, Oct 2, 2009 at 10:16 AM, Shay F.  
\<removed\_email\_address@domain.invalid[mailto:removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid)\> wrote:  
Hi friends,

I was trying to use IronRuby as a Ruby platform in NetBeans but without  
any success. It keeps telling me that the interpreter doesn’t seem to be  
a valid Ruby interpreter.  
This is what I have tried without success:

- I figured out that NetBeans was trying to run a file on the path  
“C:\program files\NetBeans 6…” which has spaces, so I tried to point  
it to a batch file I had created that executes ir “%\*”. No success.
- Tried to move NetBeans to a directory with no spaces at the path. No  
success.

I guess it’s something more than just doing that. From NetBeans log I  
can see that it fails every time with the next error:  
WARNING [org.netbeans.api.ruby.platform.RubyPlatformManager]: Detection  
of platform timeouted

Is someone familiar enough with NetBeans to find the reason for that?

Thanks!  
Shay.

* * *

Shay F.  
Author of IronRuby Unleashed  
[http://www.IronShay.com](http://www.IronShay.com)  
Follow me: [http://twitter.com/ironshay](http://twitter.com/ironshay)

* * *

Ironruby-core mailing list  
removed\_email\_address@domain.invalid[mailto:removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid)  
[http://rubyforge.org/mailman/listinfo/ironruby-core](http://rubyforge.org/mailman/listinfo/ironruby-core)
