报名 +1
感谢分享,刚好为不怎么使用的个人域名加层护甲
先解决问题,再认真看下楼上链接
bundle config mirror.https://rubygems.org https://gems.ruby-china.org
👍
#  Gemfile
gem 'rubocop'
gem 'rubycritic'
$  bundle  install
$  bundle exec rubocop ruby-code-folder/
$  bundle exec rubycritic
Writing Fast Ruby  —— Collect Common Ruby idioms. — https://github.com/JuanitoFatas/fast-ruby
惭愧,技术各种菜,不吝指教
心得:不要在正式环境做压力测试
me too
➜  test git:(master) ✗ gem sources --add https://gems.ruby-china.org/ --remove https://rubygems.org/
Error fetching https://gems.ruby-china.org/:
    hostname "gems.ruby-china.org" does not match the server certificate (https://gems.ruby-china.org/specs.4.8.gz)
感觉 ruby-china 声望要更上一层楼
 
中庸用户表示文化震惊!
👏🏻
文笔思路很清晰,学习了
iphone6 plus --- 爱疯 6 普流斯
不动则已,一动惊天动地...
报名聆听
:thumbsup:
赞一个
个人推荐
gem "sinatra-contrib", "~>1.4.2"
require "sinatra/multi_route"
route :get, :post, "/" do
  // todo
end
route "/one", "/two" do
  // todo
end
http://www.sinatrarb.com/contrib/multi_route.html https://github.com/sinatra/sinatra-contrib
金正恩皇家赞。
    / ̄ ̄ ̄Y ̄ ̄。 \
   l         l
 ヽ,,,,,/  ̄ ̄ ̄ ̄ ヽノ
 |:::::        l
 |:::   __     |
(6   \●      ●  丨
 !       )・・(  l
 ヽ      (三)  ノ
 /\       二 ノ
 /⌒ヽ。‘ー — 一 \
l    |   ヽ o ヽ
关注...
1   972  9.72097%   ls
     2  904  9.0409%    git
     3  834  8.34083%   cd
     4  492  4.92049%   cat
     5  446  4.46045%   bundle
     6  432  4.32043%   gcmsg
     7  417  4.17042%   grep
     8  402  4.0204%    rm
     9  356  3.56036%   cp
    10  293  2.93029%   gst
    11  255  2.55026%   vim
    12  240  2.40024%   ruby
    13  218  2.18022%   subl
    14  183  1.83018%   gaa
    15  153  1.53015%   open
    16  153  1.53015%   mv
    17  153  1.53015%   gem
    18  143  1.43014%   du
    19  110  1.10011%   ggpush
    20  100  1.0001%    convert
👏🏻👏🏻👏🏽👏🏾👏🏿