1

I use eclipse kepler and the ruby DLTK plugin. From a similar answer, I learned that one can use project > properties > project facets > Convert to faceted form, to convert a project from general to a specific type. In my list of project facets, there are only java ee options and no ruby options.

I could also try to mess with project config files as suggested here. But, the commentators advise against doing it.

How do I proceed ?

Community
  • 1
  • 1
sid smith
  • 533
  • 1
  • 6
  • 18
  • I don't know if the Ruby plugin uses facets, I suspect not. Is there something in the project context menu, such as "Add Ruby nature"? Or if you create a new Ruby project, can you select an existing project in the wizard? – robinst Sep 16 '14 at 08:35

2 Answers2

1

I don't see any way of doing it through the Project properties.

Add the following XML stanzas to your .project file;

<buildSpec>
    <buildCommand>
        <name>org.eclipse.dltk.core.scriptbuilder</name>
        <arguments>
        </arguments>
    </buildCommand>
</buildSpec>
<natures>
    <nature>org.eclipse.dltk.ruby.core.nature</nature>
</natures>
Paul Keogh
  • 74
  • 6
-2

Usually use ruby like a script with just a xx.rb file, or use with some frameworks like Ruby on Rails or other else. If you want to do something with ruby to complete some little function just make a rb field is ok.

dddd1919
  • 868
  • 5
  • 13