How to use Eclipse for Ruby on Rails (RoR)

前端 未结 5 1106
广开言路
广开言路 2021-01-30 10:58

I am new in Ruby. I have installed Ruby on Rails on Windows 7. I visited the following to choose a suitable IDE/Editor for writing Ruby code:

http://rubyonrails.org/down

5条回答
  •  一个人的身影
    2021-01-30 11:34

    Aptana is largely dysfunctional on Luna and there is no wholesale alternative. However, combining the following plug-ins one gets a good degree of support:

    • TM Terminal - provides local and remote command line sessions within Eclipse.

    • Ruby Development Tools - the reference Ruby editor.

    • JavaScript Development Tools - the base JavaScript editor.

    • EGit - the Git integration plug-in.

    I run rails and rake in the command line; I also debug through the command line (e.g. using binding.pry). Editing .erb files is the trickiest bit, the Ruby editor is ok, but in legacy code I have a great deal of JS in these files; in such cases I use the JavaScript Development tools.

    With this setup Eclipse runs considerably lighter than with Aptana.

提交回复
热议问题