I come from a PHP background. I have been using frameworks )(Zend, cakephp) since years.
I am planning to learn Ruby. I want to make a small project in it but was wondering if its possible to make the project without using a command line. Every tutorial I read on the internet explains how to run your ruby code using command line. In Zend or cakephp, we have the option to either use the command line or download the framework library from their respective website and start using your favourite IDE and start coding.
1) Is this also possible in Ruby?
2) Can I download the framework library and start coding using Netbeans etc?
3) Is there any (step-by-step) tutorial available for the same?
Any help will be highly appreciated.
PS: FYI - I use Ubuntu 9.04 with apache 2.2
Ruby(on rails) is just like PHP(with frameworks) in that you can develop it using the command line vs. IDE vs. text editor, etc...
Here' one tutorial for netbeans:
Just do a google search on ruby on rails ide and you'll get plenty of options.
Thanks for your reply
Question: I already have XAMPP installed on my ubuntu machine, will mysql get in conflict if I install ruby+mysql again?
You can skip the installation of mysql if you already have it installed via XAMPP... I believe it's installed in the same way that a stand-alone mysql
You might have some trouble with Apache though, since I think it is installed to a non-standard sub directory. You can get it to work, of course, if you don't mind a little pain dealing with PATH variables and config files.
Honestly though, your best bet is to do a clean install without XAMP. You can easily setup. Not sure what hosting you have, but Slicehost has some amazing articles(http://articles.slicehost.com/rails) for setup on Ubuntu.
Well, I am trying to run it on my localhost first, learn it and then deploy my project on my server.