Question

Has anyone used RubyMine who could help me out?

I am new to RubyMine, and when I create my first project and add a few classes and wire them together for a simple meaningless application I am getting this error: "uninitialized constant RubyApp (NameError)"

But when I take all the classes and put them in one file then run it, it runs fine.

What am I missing about using RubyMine here?

Thanks for the help.

Was it helpful?

Solution

Is "RubyApp" one of your classes? If so, it sounds like you're not requiring the other ruby files you're creating.

RubyMine pretty much doesn't get in your way at all, although it does like having gems 'attached' to the project.

OTHER TIPS

Not sure if this applies to your case, since I've only run into this issue with gems. But, Rubymine requires you to link the gems your using and what not into your project settings for things to work. At least that is how I remember it when I tried it out.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top