I just installed the Ruby plugin for Eclipse. During creating my first Ruby project I fall into problems selecting the ruby interpreter.
I did New Project => Ruby project. But when it asked for an interpreter, the default was undefined, nothing showed up on the project-specific interpreter drop-down menu and when I clicked on 'Configure Interpreters' link it opened up a bad url page on my web browser.
What is the correct interpreter to use and how to configure ruby interpreter? Thanks for your help!
Eclipse is the most commonly used Java IDE. Ruby on Rails provides some plugins to use Ruby on Rails in Eclipse. Two such plugins are Ruby Development Tools and RadRails. Ruby Development Tools (RDT) and RadRails are open source Ruby IDEs for the Eclipse platform.
A Ruby interpreter is any program that is able to interpret source code written in the Ruby language. Just like you might use different human translators or interpreters, there's not a single version of the Ruby interpreter. Instead, there are multiple interpreter options for Ruby developers.
IntelliJ IDEA supports the reference implementation of Ruby (Ruby MRI) and alternative implementations, such as JRuby or TruffleRuby. Before installing the Ruby interpreter, you need to install the dependencies required to compile Ruby on your machine.
I started my ruby project in eclipse Indigo in Ubuntu 12.04 and have the same problem. If you installed ruby already and can create a ruby project in eclipse, then you can find/add interpreters by the following way:
For my case, the location of the interpreter is /usr/bin/ruby
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With