2015-02-04 2 views
1

RHEL7에 루비 등을 설치했습니다. 그런 다음 "hello_app 레일"을 작성했습니다. "레일 서버"를 실행할 때ruby ​​on hello_app failure

Warning: You're using Rubygems 2.0.14 with Spring. Upgrade to at least Rubygems 2.1.0 and run `gem pristine --all` for better startup performance. 
/usr/local/share/gems/gems/abrt-0.1.0/lib/abrt.rb:6:in `require': cannot load such file -- abrt/handler (LoadError) 
    from /usr/local/share/gems/gems/abrt-0.1.0/lib/abrt.rb:6:in `block in <top (required)>' 
/usr/local/share/gems/gems/execjs-2.3.0/lib/execjs/runtimes.rb:45: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/share/gems/gems/execjs-2.3.0/lib/execjs.rb:5:in `<module:ExecJS>' 

execjs에 대한 github 참조는별로 도움이되지 않습니다. RHEL7 js-1.8.5-17.el7.x86_64와 execjs (2.3.0)가 설치되어 있습니다. 없어진 물건 있어요?

답변

1

당신은 우분투에 nodejs

yum -y install nodejs 

를 설치해야

apt-get install nodejs