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,
-
Does my installation of Netbeans include a Ruby interpreter (or is
it JRuby only), and Rails?
-
What are the differences in developing with Ruby on Rails and
JRuby on Rails?
-
Do you think it is better to use regular Ruby and Rails with
Netbeans, or JRuby?
-
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!
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,
- 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.
- 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.
- 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.
- 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
Cheers,
Anthony R.
Hi,
Questions,
- 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.
- 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.
- 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.
- 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