开发者

RadRails (Eclipse plug-in) not recognizing 1.9.1 ruby features

开发者 https://www.devze.com 2022-12-15 22:38 出处:网络
I installed RadRails as a plugin to eclipse, and I set the interpreter to C:\\ruby, the location of my ruby insta开发者_StackOverflow中文版llation. I\'ve also installed RubyGems 1.3.5 via the ruby set

I installed RadRails as a plugin to eclipse, and I set the interpreter to C:\ruby, the location of my ruby insta开发者_StackOverflow中文版llation. I've also installed RubyGems 1.3.5 via the ruby setup.rb script.

When I run the following, however, I get syntax errors in eclipse, although running works.

test = {
   raw: '1',
   symbols: '2'
}

p test

Furthermore, when I start eclipse, a prompt asks me to install a number of gems. When I continue, I receive a number of unexpected tCONSTANT, expecting $end errors. Has anyone run into this, and is there a viable solution?


Assuming you've installed the latest version of RadRails, it seems as if 1.9 is not yet supported.

The quick and easy solution is to not use Eclipse and RadRails. Personally, the only Windows IDE I've been remotely pleased with is RubyMine. If you're on a Mac, the choice is much simpler: TextMate.

0

精彩评论

暂无评论...
验证码 换一张
取 消