서버를 실행하고 싶지만 콘솔에 오류가 표시됩니다.레일 서버를 실행하지 마십시오
/usr/local/rvm/gems/ruby-2.1.3/gems/execjs-2.2.0/lib/execjs/runtimes.rb:51:in `autodetect': Could not find a JavaScript runtime. See https://github.com/sstephenson/execjs for a list of available runtimes. (ExecJS::RuntimeUnavailable)
from /usr/local/rvm/gems/ruby-2.1.3/gems/execjs-2.2.0/lib/execjs.rb:5:in `<module:ExecJS>'
문제를 해결하는 방법? 당신의 Gemfile에
삭제 Gemfile.lock 매우 위험 프로젝트에서 JS 런타임에 대해 걱정할 필요가 없습니다 그 방법 (자연적으로 당신이하지 않는 git을 사용하면 모든 젬이 가능한 모든 최신 변경 사항을 포함하여 최신 버전으로 업데이트됩니다. – BroiSatse