zoukankan      html  css  js  c++  java
  • jruby 异常处理

    1.运行命令:>rake db:migrate

    报错:

    ERROR: 'rake/rdoctask' is obsolete and no longer supported. Use 'rdoc/task'

    解决方法:rake版本太高,降低版本

    gem uninstall rake --version 10.0.4
    gem install rake --version 0.8.7

    2.The driver encountered an error: com.mysql.jdbc.exceptions.jdbc4.CommunicationsException: Communications link failure

    解决方法:启动mysql

    3.rake aborted!
    The driver encountered an error: org.jruby.runtime.builtin.IRubyObject.setInstanceVariable(Ljava/lang/String;Lorg/jruby/runtime/builtin/IRubyObject;)Lorg/jruby/runtime/builtin/IRubyObject;

    4.Gem 'ruby-debug-ide' isn't installed or its executable script 'rdebug-ide' doesn't exist

    解决方法:

    gem install ruby-debug-ide --pre

    gem install linecache

  • 相关阅读:
    数据库设计——多表之间的关系
    约束
    DQL
    DML
    DDL
    Mysql——基础
    IT大牛关注链接
    deepin20安装Python3.85
    Python中的模块
    python中的装饰器
  • 原文地址:https://www.cnblogs.com/dami520/p/3127764.html
Copyright © 2011-2022 走看看