Not logged inGosu Forums
Forum back to libgosu.org Help Search Register Login
Up Topic Gosu / Gosu Exchange / RubyMine require "Typo: In word gosu"
- - By psylem Date 2012-04-08 16:53
Hi gurus, just evaluating RubyMine but I can't get it to recognise gosu correctly. I installed bundler and created a Gemfile that looks like this...

source :rubygems
source "http://rubygems.org"
source :rubyforge
source "http://gems.rubyforge.org"
source :gemcutter
source "http://gemcutter.org"

gem "gosu"

Still it doesn't work, though running the project works fine. Any clues for me?

Version: ruby 1.8.7 (2010-01-10 patchlevel 249) [universal-darwin10.0]
Parent - - By jlnr (dev) Date 2012-04-09 01:42
Sounds like a RubyMine project. In any case, the first and last line should be enough, you can cut out the ones inbetween :)
Parent - - By psylem Date 2012-04-09 02:45
Oh thanks, I just blindly copy/pasted from the Bundler instructions :)

Do you mean that it's just not going to work correctly in RubyMine?
Parent - - By jlnr (dev) Date 2012-04-09 07:35
I have no idea, I have never used RubyMine :) This would be a question for the/a RubyMine forum, nothing about the Gemfile is specific to Gosu.
Parent - - By psylem Date 2012-04-09 09:40
Ok, what IDE can you recommend for Gosu development? I was just using SciTE for a long time, but now I got code completion envy.
Parent - - By jlnr (dev) Date 2012-04-10 06:36
I use TextMate on OS X for everything. It has no completion, but I wrote a bundle that will complete .draw to .draw(x, y, ..., and the same for all other method calls in Gosu. Let me know if you need it, I haven't yet gotten around to pushing it to GitHub.
Parent - - By psylem Date 2012-04-10 13:07
Thanks, you should sticky a link to it here once it's worth publishing. I noticed this site mentions something too, but I couldn't find the thing he's talking about... http://lazygosu.org/

Seems like Ruby is a bit flexible for most IDE's to bother with code completion. I did lots of poking around and eventually settled on Aptana. While the hotkeys are taking some getting used to, it's still pretty impressive so far. I think I can remap hotkeys somehow too.
Parent - By jlnr (dev) Date 2012-04-10 13:52
I was waiting for TextMate 2.0 to be released, but I think I can give up on that for now, and release the bundle when I have a hobby hacking weekend.
Anyway, lazygosu seems to be about gosu the *language*, not the library. The language is unrelated and you will probably find lots of IDE hits for it, because it is based on the JVM...
Parent - By Isen Date 2012-04-14 16:23
I personally use Notepad++.
Parent - By billiam Date 2012-05-02 16:29
You can also disable the 'typo' inspection in settings. I find it gives false positives more often than not.
Up Topic Gosu / Gosu Exchange / RubyMine require "Typo: In word gosu"

Powered by mwForum 2.29.7 © 1999-2015 Markus Wichitill