4 comments

There is one main rule for all development:

there is no magic )

try to go through the code and try to realise for where your config files (and other files) should be placed.
one more thing is to try to install ruby on rails one more time and create a project one more time.
more, i know that if you use windows, itll be great if you check your path environment variable to find there paths with spaces which shouldnt be there.
and of coz ur rails installation path should be without spaces.

ye this sounds dumb but even dumb answer could help someone ))

I've never used rails but I saw your question is still unanswered so I just tried to be first and helpful

0

Thanks, Alex. Regenerating/reinstalling doesn't seem to change anything. I'm pretty sure it's a side effect of the Rails::Application.configure method using instance_eval to change the scope.

I've hit a ton of other false-positives WRT RubyMine's code inspection. Honestly I think I'd like it a lot better if there were an easy way to disable the rule that causes the warning, but there isn't any easy way I've found to see how the warning maps to the underlying code inspection rule.

0

Also, let's not forget:

"Any sufficiently advanced technology is indistinguishable from magic." -- Arthur C. Clarke

;)

0

Please sign in to leave a comment.