phantom007 — 2010-11-12T23:52:19-05:00 — #1
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
mikeonrails — 2010-11-14T11:31:07-05:00 — #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.
phantom007 — 2010-11-14T13:34:23-05:00 — #3
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?
mikeonrails — 2010-11-17T20:04:20-05:00 — #4
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.
phantom007 — 2010-11-17T22:43:07-05:00 — #5
Well, I am trying to run it on my localhost first, learn it and then deploy my project on my server.