上一页 1 ··· 20 21 22 23 24 25 26 27 28 ··· 41 下一页
摘要: https://github.com/thoughtbot/shoulda-matchers加了gem 'shoulda-matchers', '~> 3.0',报错是因为没有配置spec/rails_helper.rb,详细内容在上面连接里的configuration里Shoulda::Match... 阅读全文
posted @ 2015-10-21 18:51 冰凌花花~ 阅读(221) 评论(0) 推荐(0) 编辑
摘要: http://stackoverflow.com/questions/5286117/incompatible-character-encodings-ascii-8bit-and-utf-8http://stackoverflow.com/questions/22932282/gemloaderr... 阅读全文
posted @ 2015-10-21 18:26 冰凌花花~ 阅读(649) 评论(0) 推荐(0) 编辑
摘要: 推荐两个网址:https://github.com/rspec/rspec-railshttp://rspec.info/documentation/上传了一个api的单元测试,https://github.com/shiralwz/grape_api_rspec主要步骤:(1)在Gemfile里加... 阅读全文
posted @ 2015-10-12 16:13 冰凌花花~ 阅读(234) 评论(0) 推荐(0) 编辑
摘要: Grape,为API设计而生DSL(Domain Specified Language),官网地址: http://intridea.github.io/grapehttp://intridea.github.io/grape/docs/index.html(1)描述性的API构建方式,代码可读性非... 阅读全文
posted @ 2015-10-08 16:20 冰凌花花~ 阅读(170) 评论(0) 推荐(0) 编辑
摘要: https://github.com/shiralwz/image-page今天在github上传了一个小的照片墙的页码源代码,主要是照片墙的功能,当鼠标移动到哪个照片的时候,照片自动放大并上浮。 照片墙 ... 阅读全文
posted @ 2015-09-28 18:00 冰凌花花~ 阅读(259) 评论(0) 推荐(0) 编辑
摘要: github page 操作步骤:https://pages.github.com/(1)Create a repository Head over toGitHubandcreate a new repositorynamedusername.github.io, whereusernamei... 阅读全文
posted @ 2015-09-23 15:33 冰凌花花~ 阅读(337) 评论(0) 推荐(0) 编辑
摘要: 查询了大神的经验贴http://stackoverflow.com/questions/19078044/disable-activerecord-for-rails-4http://stackoverflow.com/questions/821251/how-to-configure-ruby-o... 阅读全文
posted @ 2015-09-18 20:42 冰凌花花~ 阅读(366) 评论(0) 推荐(0) 编辑
摘要: (1)首先在current文件夹下新建服务有关的nginx配置文件nginx.confupstream news_server { server unix:/tmp/unicorn.news.sock fail_timeout=0;}server { listen 8888; access_l... 阅读全文
posted @ 2015-09-18 20:29 冰凌花花~ 阅读(330) 评论(0) 推荐(0) 编辑
摘要: 先在服务器上 ssh bitbucket.org点yes链接一下,才能在服务器部署或者在服务器上链接一下代码地址 git ls-remote git@bitbucket.org:xxx/xxx.git master,原因是bitbucket不在服务器的knowhosts里 阅读全文
posted @ 2015-09-18 20:11 冰凌花花~ 阅读(329) 评论(0) 推荐(0) 编辑
摘要: https://github.com/capistrano/capistranohttps://github.com/capistrano/capistrano/wikihttps://github.com/capistrano/capistrano/wiki/2.x-from-the-beginn... 阅读全文
posted @ 2015-09-18 19:57 冰凌花花~ 阅读(198) 评论(0) 推荐(0) 编辑
上一页 1 ··· 20 21 22 23 24 25 26 27 28 ··· 41 下一页