RUBY requirements

hi im new in ruby what tools will i need to start my project development
in ruby? can anyone drop a link for the tutorial in settingup ruby on
rails btw my machine is unix(fedora) sorry for my noob question hope you
help me

Hi,

Best way ( my opinion) is to install RVM ( http://beginrescueend.com/ )
which allows you to easily install rubies and update them as new
versions are released.

You can use any editor for project development as running the code can
be performed from the shell script. ( VIM, Emacs ) also some IDEs
provide support for ruby (IntelliJ, Eclipse, Netbeans, Redcar) if you
search in google for the editor + ruby you should get some pretty
straight instructions on how to set it up.

Follow the basic tutorial for ruby and irb on the ruby page (
Ruby in Twenty Minutes)

Regards,
Vicente

Vicente B. Campos wrote in post #1025529:

Hi,

Best way ( my opinion) is to install RVM ( http://beginrescueend.com/ )
which allows you to easily install rubies and update them as new
versions are released.

You can use any editor for project development as running the code can
be performed from the shell script. ( VIM, Emacs ) also some IDEs
provide support for ruby (IntelliJ, Eclipse, Netbeans, Redcar) if you
search in google for the editor + ruby you should get some pretty
straight instructions on how to set it up.

Follow the basic tutorial for ruby and irb on the ruby page (
Ruby in Twenty Minutes)

Regards,
Vicente

thanks for the reply i already install the gems but im having a hardtime
with the local server i cant get the webrick right do you have any
suggestion

Vicente B. Campos wrote in post #1025549:

What is the issue exactly ? Webrick is part of the Ruby standard
library.

Try to follow the following tutorial
http://segment7.net/projects/ruby/WEBrick/servlets.html

Regards,
Vicente

actually theres no error yet i cant seems to work them both at the same
time sorry for my bad english

No issues :slight_smile:

I think this is a problem concept. The concept is not to launch ruby and
launch webrick separately webrick is a model ( with set of classes )
that you instantiate and the object is the server.

When in the tutorial ( I linked last email) the author performs this:

server = WEBrick::HTTPServer.new

The server is instantiated hence you have webrick running and you can do
with it as you like as defined by the rest of the code.

Webrick is not conceived ( my opinion ) used as a standalone app that
you launch like you would IIS or Apache and that loads your code, its an
object to facilitate coding with it and for development
purposes.

Kind regards,
Vicente

What is the issue exactly ? Webrick is part of the Ruby standard
library.

Try to follow the following tutorial
http://segment7.net/projects/ruby/WEBrick/servlets.html

Regards,
Vicente