SitePoint Sponsor

User Tag List

Results 1 to 5 of 5
  1. #1
    SitePoint Guru phantom007's Avatar
    Join Date
    May 2008
    Posts
    742
    Mentioned
    3 Post(s)
    Tagged
    0 Thread(s)

    Question Ruby without commandline?

    Hello

    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.


    Many thanks


    PS: FYI - I use Ubuntu 9.04 with apache 2.2

  2. #2
    SitePoint Enthusiast
    Join Date
    Jul 2010
    Posts
    25
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    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:
    http://netbeans.org/kb/docs/ruby/rapid-ruby-weblog.html

    Just do a google search on ruby on rails ide and you'll get plenty of options.

  3. #3
    SitePoint Guru phantom007's Avatar
    Join Date
    May 2008
    Posts
    742
    Mentioned
    3 Post(s)
    Tagged
    0 Thread(s)
    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?

  4. #4
    SitePoint Enthusiast
    Join Date
    Jul 2010
    Posts
    25
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    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.

  5. #5
    SitePoint Guru phantom007's Avatar
    Join Date
    May 2008
    Posts
    742
    Mentioned
    3 Post(s)
    Tagged
    0 Thread(s)
    Well, I am trying to run it on my localhost first, learn it and then deploy my project on my server.


Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •