# Setting up Netbeans and Rails

**URL:** <https://www.ruby-forum.com/t/setting-up-netbeans-and-rails/115045>\
**Category:** Rails\
**Created:** [September 20, 2007, 4:11am UTC](https://www.ruby-forum.com/t/setting-up-netbeans-and-rails/115045 "2007-09-20T04:11:57Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![slindsey3000](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/s/aca169/32.png) [@slindsey3000](https://www.ruby-forum.com/u/slindsey3000)\
**Post date:** [September 20, 2007, 4:11am UTC](https://www.ruby-forum.com/t/setting-up-netbeans-and-rails/115045/1 "2007-09-20T04:11:57Z")

</div>

Hi, I’m new to Ruby/Rails/Netbeans.

I would like to use Netbeans to do all my Ruby, and Ruby on Rails  
development.

Questions,

1. Does my installation of Netbeans include a Ruby interpreter (or is  
it JRuby only), and Rails?

2. What are the differences in developing with Ruby on Rails and  
JRuby on Rails?

3. Do you think it is better to use regular Ruby and Rails with  
Netbeans, or JRuby?

4. What is your opinion of the best way to develop using Ruby on Rails  
and then deploy using  
someone else’s hosting services.

Sorry if my questions are silly, they may not even make total sense to  
an experienced developer. I have a Computer Science degree, but no  
real world knowledge (sucks for me).

I just want the best most efficient way to start developing with Ruby  
on Rails, and i’d like to use Netbeans (not sure why, but I just think  
it might be best IDE for me)

Thanks million!

---

<div class="post-metadata">

**Author:** ![slindsey3000](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/s/aca169/32.png) [@slindsey3000](https://www.ruby-forum.com/u/slindsey3000)\
**Post date:** [September 20, 2007, 4:44am UTC](https://www.ruby-forum.com/t/setting-up-netbeans-and-rails/115045/2 "2007-09-20T04:44:01Z")

</div>

Answers inline

slindsey3000 wrote:

> Hi, I’m new to Ruby/Rails/Netbeans.
> 
> I would like to use Netbeans to do all my Ruby, and Ruby on Rails  
> development.
> 
> Questions,
> 
> 1. Does my installation of Netbeans include a Ruby interpreter (or is  
> it JRuby only), and Rails?

it doesn’t include ruby, only jruby. It can use the existing ruby  
installation on your system.

> 1. What are the differences in developing with Ruby on Rails and  
> JRuby on Rails?

You can do interactive debugging with ruby, not with jRuby. If you don’t  
need java stuff in your app using ruby is probably the way to go. but  
it’s easy to switch between the two so no big deal.

> 1. Do you think it is better to use regular Ruby and Rails with  
> Netbeans, or JRuby?

Regular ruby since you can use the debugging features. But it depends on  
what you are doing I suppose.

> 1. What is your opinion of the best way to develop using Ruby on Rails  
> and then deploy using  
> someone else’s hosting services.

your development environment probably doesn’t matter so much.

> Sorry if my questions are silly, they may not even make total sense to  
> an experienced developer. I have a Computer Science degree, but no  
> real world knowledge (sucks for me).
> 
> I just want the best most efficient way to start developing with Ruby  
> on Rails, and i’d like to use Netbeans (not sure why, but I just think  
> it might be best IDE for me)

I use and like NetBeans.

What Operating System are you using? I’m using Ubuntu and followed the  
guide on the NetBeans Ruby wiki to install a private copy of Ruby and  
manage my gems with NetBeans, makes life easy.  
[http://wiki.netbeans.org/wiki/view/RubyGems](http://wiki.netbeans.org/wiki/view/RubyGems)

Cheers,

Anthony R.

---

<div class="post-metadata">

**Author:** ![slindsey3000](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/s/aca169/32.png) [@slindsey3000](https://www.ruby-forum.com/u/slindsey3000)\
**Post date:** [September 20, 2007, 4:48am UTC](https://www.ruby-forum.com/t/setting-up-netbeans-and-rails/115045/3 "2007-09-20T04:48:01Z")

</div>

Hi,

> Questions,
> 
> 1. Does my installation of Netbeans include a Ruby interpreter (or is  
> it JRuby only), and Rails?

The installation includes the JRuby and Rails runtimes by default.  
However, you are free to use native ruby interpreter if you have  
installed it on your system. On first time you create a rails  
application after installation, NetBeans wizard will ask you to choose  
the interpreter for your rails project. You can also find the setting  
on NetBeans’ Menu: Tools -\> Options -\>Miscellaneous -\>Ruby.

> 1. What are the differences in developing with Ruby on Rails and  
> JRuby on Rails?

The only difference I find so far is that, you should use JDBC driver  
and ActiveRecord-JDBC adapter instead of native ones to talk to  
database if you are using JRuby on Rails. For example, if you are  
developing a rails project with Oracle db, you can’t use the Ruby-OCI8  
driver and native Oracle adapter. The correct one should be Oracle  
JDBC driver with ActiveRecord-JDBC adapter. However, this is only  
configuration difference, you will feel nothing different when  
programming Rails codes.

> 1. Do you think it is better to use regular Ruby and Rails with  
> Netbeans, or JRuby?

My preference is Rails on native Ruby, but I am not sure if it is the  
better one.

> 1. What is your opinion of the best way to develop using Ruby on Rails  
> and then deploy using  
> someone else’s hosting services.

Sorry, no idea.

Regards,  
Liming
