Join the social network of Tech Nerds, increase skill rank, get work, manage projects...
 
  • How to use Net Beans with Ruby on Rails

    • 0
    • 0
    • 0
    • 0
    • 0
    • 0
    • 0
    • 0
    • 324
    Comment on it

    Net Beans is an IDE which can be used with many programming languages. We can use it for coding in Ruby on Rails as well.



    You can follow the following steps to get started :


    1) Download the sh file for the latest version of net-beans.
    It can be downloaded from

     http://www.oracle.com/technetwork/java/javase/downloads/jdk-netbeans-jsp-142931.html
    

    2) Once we have the .sh file for netbeans, we can either open it by double-clicking after giving Execute permission to it from the properties or we can install it via command line.


    3) To install it via command line, use following commands

      cd /path_to_file
      chmod +x filename.sh
      ./filename.sh
    

    4) After this it will start installing net-beans, and then a familiar Windows like GUI will appear, and you have to read the instructions and press Next, after that you will be prompted for Accepting the Terms & services, Accept them and select the installation path for netbeans & glassfish(Keeping the Default path is recommended).


    5) Once the installation process completes, search NetBeans from the DashBoard & open it.


    6) Now we need to have Ruby on Rails plugin for Net-beans. We can download it from

    http://plugins.netbeans.org/plugin/38549/ruby-and-rails
    

    7) After downloading you will get a zip file, we have to unzip that file.


    8) Now In your Net-beans IDE, go-to Tools --> Plugins, then select the unzipped version of the plugin we just downloaded. Select all the NBM's, and JAR files (JRuby Jar to be more specific, which is mandatory for installing other NBMs), for this we have to change the filter "Files of Type" to "All".


    9) After this click on Intsall, which will prompt for your acceptance, accept whatever it prompts you for.


    After the installation is completed, we are ready to go with our new IDE which now supports Ruby on Rails as well, and thus we can exploit the GUI facility to code in RoR easily.

 0 Comment(s)

Sign In
                           OR                           
                           OR                           
Register

Sign up using

                           OR                           
Forgot Password
Fill out the form below and instructions to reset your password will be emailed to you:
Reset Password
Fill out the form below and reset your password: