点击Rubymine中的 Run按钮是出现 error:
/usr/bin/ruby -e $stdout.sync=true;$stderr.sync=true;load($0=ARGV.shift) /Users/****/Desktop/Activities/bin/rails server -b 0.0.0.0 -p 3000 -e development /Users/****/Desktop/Activities/bin/rails:3: undefined method `require_relative' for main:Object (NoMethodError) from -e:1:in `load' from -e:1 Process finished with exit code 1
出现这个问题有可能是RubyMine的Ruby SDK 设置有问题。
你可以打开 RubyMine的 Preferences ,然后点击 Ruby SDK and Gems ,里面有个Ruby SDK 的选择,选择正确的Ruby SDK。