fix missing RubyMine var

add Warning messge