rails s 出错解决方案
来源:互联网 发布:厄米矩阵的性质 编辑:程序博客网 时间:2024/05/16 06:28
zhudf@Linux64:~/Rails/demo$ rails s/home/zhudf/.rbenv/versions/2.1.1/lib/ruby/gems/2.1.0/gems/railties-4.1.0/lib/rails/app_rails_loader.rb:37: warning: Insecure world writable dir /opt/android-sdk-linux/platform-tools in PATH, mode 040777/home/zhudf/.rbenv/versions/2.1.1/lib/ruby/gems/2.1.0/gems/bundler-1.6.2/lib/bundler/runtime.rb:222: warning: Insecure world writable dir /opt/android-sdk-linux/platform-tools in PATH, mode 040777/home/zhudf/.rbenv/versions/2.1.1/lib/ruby/gems/2.1.0/gems/execjs-2.0.2/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 /home/zhudf/.rbenv/versions/2.1.1/lib/ruby/gems/2.1.0/gems/execjs-2.0.2/lib/execjs.rb:5:in `<module:ExecJS>'from /home/zhudf/.rbenv/versions/2.1.1/lib/ruby/gems/2.1.0/gems/execjs-2.0.2/lib/execjs.rb:4:in `<top (required)>'from /home/zhudf/.rbenv/versions/2.1.1/lib/ruby/gems/2.1.0/gems/uglifier-2.5.0/lib/uglifier.rb:3:in `require'from /home/zhudf/.rbenv/versions/2.1.1/lib/ruby/gems/2.1.0/gems/uglifier-2.5.0/lib/uglifier.rb:3:in `<top (required)>'from /home/zhudf/.rbenv/versions/2.1.1/lib/ruby/gems/2.1.0/gems/bundler-1.6.2/lib/bundler/runtime.rb:76:in `require'from /home/zhudf/.rbenv/versions/2.1.1/lib/ruby/gems/2.1.0/gems/bundler-1.6.2/lib/bundler/runtime.rb:76:in `block (2 levels) in require'from /home/zhudf/.rbenv/versions/2.1.1/lib/ruby/gems/2.1.0/gems/bundler-1.6.2/lib/bundler/runtime.rb:72:in `each'from /home/zhudf/.rbenv/versions/2.1.1/lib/ruby/gems/2.1.0/gems/bundler-1.6.2/lib/bundler/runtime.rb:72:in `block in require'from /home/zhudf/.rbenv/versions/2.1.1/lib/ruby/gems/2.1.0/gems/bundler-1.6.2/lib/bundler/runtime.rb:61:in `each'from /home/zhudf/.rbenv/versions/2.1.1/lib/ruby/gems/2.1.0/gems/bundler-1.6.2/lib/bundler/runtime.rb:61:in `require'from /home/zhudf/.rbenv/versions/2.1.1/lib/ruby/gems/2.1.0/gems/bundler-1.6.2/lib/bundler.rb:132:in `require'from /home/zhudf/Rails/demo/config/application.rb:7:in `<top (required)>'from /home/zhudf/.rbenv/versions/2.1.1/lib/ruby/gems/2.1.0/gems/railties-4.1.0/lib/rails/commands/commands_tasks.rb:79:in `require'from /home/zhudf/.rbenv/versions/2.1.1/lib/ruby/gems/2.1.0/gems/railties-4.1.0/lib/rails/commands/commands_tasks.rb:79:in `block in server'from /home/zhudf/.rbenv/versions/2.1.1/lib/ruby/gems/2.1.0/gems/railties-4.1.0/lib/rails/commands/commands_tasks.rb:76:in `tap'from /home/zhudf/.rbenv/versions/2.1.1/lib/ruby/gems/2.1.0/gems/railties-4.1.0/lib/rails/commands/commands_tasks.rb:76:in `server'from /home/zhudf/.rbenv/versions/2.1.1/lib/ruby/gems/2.1.0/gems/railties-4.1.0/lib/rails/commands/commands_tasks.rb:40:in `run_command!'from /home/zhudf/.rbenv/versions/2.1.1/lib/ruby/gems/2.1.0/gems/railties-4.1.0/lib/rails/commands.rb:17:in `<top (required)>'from /home/zhudf/Rails/demo/bin/rails:8:in `require'from /home/zhudf/Rails/demo/bin/rails:8:in `<top (required)>'from /home/zhudf/.rbenv/versions/2.1.1/lib/ruby/gems/2.1.0/gems/spring-1.1.2/lib/spring/client/rails.rb:27:in `load'from /home/zhudf/.rbenv/versions/2.1.1/lib/ruby/gems/2.1.0/gems/spring-1.1.2/lib/spring/client/rails.rb:27:in `call'from /home/zhudf/.rbenv/versions/2.1.1/lib/ruby/gems/2.1.0/gems/spring-1.1.2/lib/spring/client/command.rb:7:in `call'from /home/zhudf/.rbenv/versions/2.1.1/lib/ruby/gems/2.1.0/gems/spring-1.1.2/lib/spring/client.rb:26:in `run'from /home/zhudf/.rbenv/versions/2.1.1/lib/ruby/gems/2.1.0/gems/spring-1.1.2/bin/spring:48:in `<top (required)>'from /home/zhudf/.rbenv/versions/2.1.1/lib/ruby/gems/2.1.0/gems/spring-1.1.2/lib/spring/binstub.rb:11:in `load'from /home/zhudf/.rbenv/versions/2.1.1/lib/ruby/gems/2.1.0/gems/spring-1.1.2/lib/spring/binstub.rb:11:in `<top (required)>'from /home/zhudf/.rbenv/versions/2.1.1/lib/ruby/2.1.0/rubygems/core_ext/kernel_require.rb:55:in `require'from /home/zhudf/.rbenv/versions/2.1.1/lib/ruby/2.1.0/rubygems/core_ext/kernel_require.rb:55:in `require'from /home/zhudf/Rails/demo/bin/spring:16:in `<top (required)>'from bin/rails:3:in `load'from bin/rails:3:in `<main>'
gem install execjsgem install therubyracer
修改项目根目录下名为GemFile的文件,加入 gem 'therubyracer'.
0 0
- rails s 出错解决方案
- rails 安装出错
- Ruby on Rails Tutorial第三章关于$ bundle exec respec 出错的问题的解决方案
- 【Rails】Rails使用mysql连接数据库出错
- Rails 图表解决方案汇总
- Rails 图表解决方案汇总
- appfuse中生成以S结尾的数据表对应的代码出错的解决方案
- appfuse中生成以S结尾的数据表对应的代码出错的解决方案
- Android NDK调试出错Unknown Application ABI, Unable to detect application ABI's的解决方案
- Android NDK调试出错Unknown Application ABI, Unable to detect application ABI's的解决方案
- Rails 3.0: It's ready!
- XMLHTTP 出错解决方案
- Oracle链接出错解决方案
- sqlserver2005连接出错解决方案
- IIS出错解决方案
- DirectShow 出错及解决方案
- 安装erlang出错 && 解决方案
- opentld 出错解决方案
- java 注解不能被继承
- 汇编实现浮点数相乘
- jakarta tomcat与Apache tomcat (转载)
- 经典c程序(0024)---五人问岁
- Dialog和DialogFragment
- rails s 出错解决方案
- linux shell时间戳转日期字符串
- 各种浏览器的Hack写法(chrome firefox ie等)
- 继承的访问控制_私有继承(C++语言)
- 数据库索引,B+树
- 毕业设计--基于安卓的智能小车(二)
- Oracle 学习笔记 10 -- 约束
- Eclipse下配置使用Hadoop插件
- 关于platform_driver 是如何匹配 platform_device的和如何调用到platform_driver中的probe函数的研究