zoukankan      html  css  js  c++  java
  • sublime ruby [Decode error

    今天用sublime3 写ruby,然后最简单的 pust "hello" 都出不来, ctrl + b的时候报错。注:win7下

    [Decode error - output not utf-8]
    [Finished in 0.2s with exit code 1]
    [shell_cmd: ruby "C:UsersLucasDesktop1.rb"]
    [dir: C:UsersLucasDesktop]
    [path: C:Program FilesCommon FilesNetSarang;C:Program FilesJavajdk1.7.0in;C:Program FilesPC Connectivity Solution;C:Windowssystem32;C:Windows;C:WindowsSystem32Wbem;C:WindowsSystem32WindowsPowerShellv1.0;C:Program FilesLenovoBluetooth Software;C:Program FilesQuickTimeQTSystem;c:Program FilesMicrosoft SQL Server90Toolsinn;C:Program FilesMySQLMySQL Server 5.0in;C:Program FilesMATLABR2010b untimewin32;C:Program FilesMATLABR2010bin;C:strawberrycin;C:strawberryperlin;C:Program FilesCommon File;C:Program FilesPython27;]

    然后一直以为是 编码的问题。一顿谷歌,发现各种不行,而且网上都是关于java的。

    最后看到错误的里面,报了个path,然后就将ruby的bin文件夹路径加到了 环境变量中。

    ctrl+b  就这么显示出来了。

  • 相关阅读:
    MJExtension的使用
    Swift
    2月22号 UITableView
    1月25号 CALayer
    1月22号 animation—1
    1月22号 KVC KVO
    2016.01.22 简单动画
    2016.01.22 KVC&KVO
    2016.01.22 单例模式(Singleton)
    2016.01.21 UITabBarController
  • 原文地址:https://www.cnblogs.com/cyttina/p/3223482.html
Copyright © 2011-2022 走看看