上一页 1 ··· 4 5 6 7 8 9 10 11 12 13 下一页
  2018年3月3日
摘要: 如何部署请参照: http://blog.csdn.net/xz360717118/article/details/62422741 部署后如果发现显示:We're sorry, but something went wrong. If you are the application owner。。 阅读全文
posted @ 2018-03-03 09:38 一只猪儿虫 阅读(2447) 评论(0) 推荐(0) 编辑
摘要: 我是 win7 64位 解决办法: 1, win+r 快捷键打开 “运行”,输入regedit 打开注册表 2,找到 HKEY_CLASSES_ROOT\CLSID\{00020420-0000-0000-C000-000000000046}InprocServer32 修改 第一行(默认)的值为  阅读全文
posted @ 2018-03-03 09:33 一只猪儿虫 阅读(1255) 评论(0) 推荐(1) 编辑
摘要: 因为是win7 所以使用了官方网站的dockertoolbox 安装一路顺利,结果启动就报上面的错误, 因为安装包附带安装了virtualbox 上面的错误后来排查出来是 virtualboox的问题 所以关键就是搞定virtualbox 方案如下: http://blog.csdn.net/xz3 阅读全文
posted @ 2018-03-03 09:32 一只猪儿虫 阅读(321) 评论(0) 推荐(0) 编辑
摘要: 如图: 解决方案: 把config/puma.rb 文件中的 改成 阅读全文
posted @ 2018-03-03 09:29 一只猪儿虫 阅读(324) 评论(0) 推荐(0) 编辑
摘要: Flash[:notice]’s message will persist to the next action and should be used when redirecting to another action via the ‘redirect_to’ method. flash方法的消 阅读全文
posted @ 2018-03-03 09:29 一只猪儿虫 阅读(161) 评论(0) 推荐(0) 编辑
摘要: window 7+ruby2.33+rails5.0. 在测试的时候 rails test 报固件fixture错误: 没有某列字段存在 虽然可以直接通过开发框架去修改字段,但是开发过程中应该通过迁移文件来实现所有的修改 我错误的原因是,我在通过migration生成users表的时候把其中一个字段 阅读全文
posted @ 2018-03-03 09:28 一只猪儿虫 阅读(293) 评论(0) 推荐(0) 编辑
摘要: 环境:window 7+ruby2.33+rails5.0。。 该提示的意思是固件格式错误: 但是又没有提示是哪一行 非常蛋疼,我照成的原因居然是没有对齐,请看:(下面的activated_at没有和前面对齐) 阅读全文
posted @ 2018-03-03 09:27 一只猪儿虫 阅读(198) 评论(0) 推荐(0) 编辑
  2018年2月24日
摘要: 1,用xshell 连接服务器 2,安装 yum instal lrzsz 把服务器文件复制到 本地 用命令 sz 文件名 然后回车 把本地文件上传到服务器 直接拖拽就行 阅读全文
posted @ 2018-02-24 18:05 一只猪儿虫 阅读(1371) 评论(0) 推荐(0) 编辑
  2018年2月1日
摘要: '192.168.43.134', 'user' => 'root', 'password' => '111111', ]; function characet($data){ if( !empty($data) ){ $fileType = mb_detect_encoding($data , array('UTF-8','GBK','LAT... 阅读全文
posted @ 2018-02-01 17:56 一只猪儿虫 阅读(623) 评论(0) 推荐(0) 编辑
  2018年1月23日
摘要: 需求:把word里面的表单内容获取 按照规则拼成字符串 转换成类似下面的样子 代码如下: 阅读全文
posted @ 2018-01-23 09:09 一只猪儿虫 阅读(293) 评论(0) 推荐(0) 编辑
上一页 1 ··· 4 5 6 7 8 9 10 11 12 13 下一页