IntelliJ& JRuby:如何设置项目? [英] IntelliJ & JRuby: how to setup project?

查看:431
本文介绍了IntelliJ& JRuby:如何设置项目?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我已经下载了IntelliJ 13的试用版,我已经为Windows安装了最新的JRuby版本。

I've downloaded a trial version of IntelliJ 13 and I've installed the latest JRuby version for Windows.

我在网上彻底搜索过,但无法找到有关如何在IntelliJ中设置JRuby项目的任何指导。我选择IntelliJ而不是RubyMine,因为它应该更好地支持Java / Ruby集成(参见 http ://devnet.jetbrains.com/docs/DOC-1146

I've searched thoroughly on the net, but have been unable to find any guidance as to how to setup a JRuby project in IntelliJ. I've chosen IntelliJ as opposed to RubyMine as it should have better support for Java/Ruby integration (see http://devnet.jetbrains.com/docs/DOC-1146).

所以简而言之;如何为JRuby项目设置IntelliJ - 也许只是一个简单的hello world示例?

So in short; how do I setup IntelliJ for a JRuby project - perhaps just a simple hello world example?

推荐答案

所以简而言之,创建新的项目,选择java,然后点击下一页,在下一页上选择jruby,你应该全部设置

so in short words, create new project, the select java, then hit next, on the next page select jruby and you should be all set

如果你的项目已经创建我的配置一般看起来像

if your project is created already my configuration in general looks like

项目 - > sdk java
模块 - >新模块 - > java - > jruby

project -> sdk java module -> new module -> java -> jruby

这个应该自动创建一个带有jruby东西的方面,语法高亮应该可以工作

this should automatically create a facet with jruby stuff and the syntax highlighting should work

希望它有帮助

这篇关于IntelliJ& JRuby:如何设置项目?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆