RubyMine 中 Ruby SDK 设置不对的错误
点击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。
相关推荐
何志文 2020-05-11
JOO 2020-04-26
龙浩然 2014-06-03
yohunl 2008-01-11
wujiajax 2011-07-22
samllQ的备忘录 2011-07-22
PMJ0 2020-10-13
longzhiwen 2020-09-06
yangxingstar 2020-08-31
LUCIEN0 2020-08-17
huangzihao00 2020-08-17
Jan 2020-08-17
AndesStay 2020-06-12
afengxg 2020-06-09
zamesking 2020-06-09
afengxg 2020-06-09
何志文 2020-06-09
teresalxm 2020-06-05
何志文 2020-05-16