{"id":49,"date":"2018-01-09T03:36:12","date_gmt":"2018-01-09T03:36:12","guid":{"rendered":"https:\/\/zeroniche.com\/?p=49"},"modified":"2022-07-11T07:20:42","modified_gmt":"2022-07-11T07:20:42","slug":"cloud-ides-ruby-beginners","status":"publish","type":"post","link":"https:\/\/zeroniche.com\/cloud-ides-ruby-beginners\/","title":{"rendered":"Cloud IDEs for Ruby Beginners"},"content":{"rendered":"\n

Testing your Ruby App in the cloud using a Cloud IDE<\/h2>\n\n\n\n

Why run your ruby code in the cloud?
\nRunning code in the cloud and seeing the results is useful for a number of reasons.<\/p>\n\n\n\n

  1. Collaboration. You can edit code and have someone else review and update it and teams can work on the same project in real time.<\/li>
  2. Less clutter on your local machine. You can keep your local machine free of projects, and even free of programming languages using cloud IDEs<\/a>. If you have a Chromebook or tablet you can still code by using the cloud.<\/li>
  3. Testing. If you\u2019re afraid you might break something on the local machine then just try it out in the cloud. No matter what happens you can just start from scratch. No harm done.<\/li><\/ol>\n\n\n\n

    I\u2019ve only looked at IDEs that allow you to run the code as an app in a browser, rather than a purely development only IDE. I\u2019ve also focused on services with free options. As beginners, we\u2019re more interested in testing and learning than paying a monthly fee for storage space or multiple apps.<\/p>\n\n\n\n

    Codeanywhere.com<\/a><\/h2>\n\n\n
    \n
    \"Codeanywhere<\/figure><\/div>\n\n\n

    This is one I hadn\u2019t heard of before but I\u2019m impressed by the list of languages and OSes to choose from.
    \nThe default interface is plain (white text on black background) but I like the fact that it\u2019s easy to read and it's fast to navigate.<\/p>\n\n\n\n

    It was easy to start a new rails app and run the server, just as I would on a local machine.<\/p>\n\n\n\n

    At this point, I had to alter an unwieldy URL to include port 3000 so that I could view the app in a browser. In the end, it\u2019s a minor inconvenience.<\/p>\n\n\n\n

    Getting a Rails framework setup is as simple as selecting the Rails container (on CentOS or Ubuntu).
    \nFor plain Ruby I think the only way is to setup a blank container (which runs on CentOS by default) and install<\/p>\n\n\n\n

    Ruby from the command line: sudo yum install ruby.
    \nThen install Ruby gems: sudo yum install rubygems
    \nAnd you can run the interactive Ruby console: irb<\/p>\n\n\n\n

    For beginners, Codeanywhere provides you with everything you\u2019d need to test your code in the cloud. It's my pick for the best cloud IDE<\/a> for Ruby web development.<\/p>\n\n\n\n

    Try CodeAnywhere<\/a><\/p>\n\n\n\n

    Paiza Cloud<\/a><\/h2>\n\n\n\n
    \"\"<\/figure>\n\n\n\n