===>首先需要使用https<===https://ruby.taobao.org/ 第一步 下载http://pan.baidu.com/s/1kU0rxtH 复制到ruby安装的根目录 第二步 添加系统环境变量: SSL_CERT_FILE=ruby的根目录加\cacert.pem(类似C:\Ruby22-x64\cacert.pem) 第三步 关闭命令行,重新打开,重新键入 gem sources -a https://ruby.taobao.org/…
用gulp启动,错误如下 Error: watch ENOSPC at exports._errnoException (util.js:746:11) at FSWatcher.start (fs.js:1172:11) at Object.fs.watch (fs.js:1198:11) at Gaze._watchDir (/home/ajaxGu/work/froad/anhui-standard/personal-h5/node_modules/gulp/node_modules/vi…
最近使用ruby-china的源连接不上 使用gem update遇到这个问题, 原来是ruby没有包含SSL证书,所以Https的链接被服务器拒绝. 解决方法很简单,首先在这里下载证书(http://curl.haxx.se/ca/cacert.pem), 然后再环境变量里设置SSL_CERT_FILE这个环境变量,并把value指向这个文件 就解决了 http://blog.csdn.net/leorowe/article/details/41968349…
ruby官网提供的 淘宝的gem源 不起作用 https://ruby.taobao.org/ taobao Gems 源已停止维护,现由 ruby-china 提供镜像服务 http://gems.ruby-china.org  …
由于Node官方模块仓库太慢,建议将模块仓库切换到阿里源 C:\workspace\angular>npm config set registry https://registry.npm.taobao.org/ 执行下面的命令,确认是否切换成功 C:\workspace\angular>npm config get registry https://registry.npm.taobao.org/ https://registry.npmjs.org/ 这是官方的npm地址源…
gyp ERR! configure error gyp ERR! stack Error: Can't find Python executable "python", you can set the PYTHON env variable. gyp ERR! stack at failNoPython (C:\Users\guxuelong\Desktop\dragon-ui\node_modules\.npminstall\node-gyp\3.3.1\node-gyp\lib\…
第一步:npm config get prefix ,获取输出path“C:\Users\jaxGu\AppData\Roaming\npm”加上"\node_modules"用于第二步值 第二步:添加系统环境变量:NODE_PATH:C:\Users\jaxGu\AppData\Roaming\npm\node_modules 第三步:关掉命令行,重新打开.…
不废话直接上代码: HTML: <a class="js-tel tel" data-tel="1312414"></a> JS: // zepto tel $('body').on('tap', '.js-tel', function() { var _this = $(this); if (!_this.attr('href')) { _this.attr('href', 'tel:' + _this.data('tel')); _thi…
Malformed lock file found: /var/cache/dnf/metadata_lock.pid.Ensure no other dnf process is running and remove the lock file manually or run systemd-tmpfiles --remove dnf.conf.[root@jaxGu ajaxGu]# systemd-tmpfiles --remove dnf.conf 英文不好看不懂的有木有,网上搜出来全部…
这是因为  app.use(function * (){ 语句中有一个 * ,这种方式被称为generator functions ,一般写作function *(){...} 的形式,在此类function 中可以支持ES6的一种yield概念. 为了保证这种新型的方法可以编译通过,在运行node 命令的时候加上一个harmony参数就可以了: node --harmony hello.js 假如在插件中使用的化可以引入harmony 并自执行. harmonize = require('ha…