我在桌面Ubunutu 14:04上安装了ruby堆栈(RubyStack-2.0.0-39)。 当我访问我的应用程序视图(http://localhost:3000/users/sign_in)时,我遇到了问题:
JSON::ParserError - 757: unexpected token at 'nodejs: /opt/rubystack-2.0.0-39/common/lib/libcrypto.so.1.0.0: no version information available (required by nodejs)
nodejs: /opt/rubystack-2.0.0-39/common/lib/libssl.so.1.0.0: no version information available (required by nodejs)
nodejs: /opt/rubystack-2.0.0-39/common/lib/libssl.so.1.0.0: no version information available (required by nodejs)
["ok"]':
json (1.8.3) lib/json/common.rb:155:in parse'
execjs (2.6.0) lib/execjs/external_runtime.rb:68:inextract_result'
execjs (2.6.0) lib/execjs/external_runtime.rb:39:in exec'
execjs (2.6.0) lib/execjs/external_runtime.rb:14:ininitialize'
execjs (2.6.0) lib/execjs/runtime.rb:44:in compile'
execjs (2.6.0) lib/execjs/module.rb:27:incompile'
coffee-script (2.4.1) lib/coffee_script.rb:50:in context'
coffee-script (2.4.1) lib/coffee_script.rb:78:incompile'
sprockets (3.3.4) lib/sprockets/coffee_script_processor.rb:21:in block in call'
sprockets (3.3.4) lib/sprockets/cache.rb:85:infetch'
sprockets (3.3.4) lib/sprockets/coffee_script_processor.rb:20:in call'
sprockets (3.3.4) lib/sprockets/processor_utils.rb:75:incall_processor'
sprockets (3.3.4) lib/sprockets/processor_utils.rb:57:in block in call_processors'
sprockets (3.3.4) lib/sprockets/processor_utils.rb:56:incall_processors'
sprockets (3.3.4) lib/sprockets/loader.rb:134:in load_from_unloaded'
sprockets (3.3.4) lib/sprockets/loader.rb:60:inblock in load'....

答案 0 :(得分:0)
1)打开ubuntu较软的中心 2)单击已安装的软件 3)在搜索栏中搜索“node”关键字 4)删除所有节点插件
在删除返回工作的ruby堆栈之后,我安装了另一个版本的节点。