Fix #2790

王权利请求将github/fork/Takuto88/master合并到master

Created by: Takuto88

Fixes #2790 (closed) - Tested and verified to work (at least for me). Any feedback is appreciated as I am just starting to learn ruby

合并请求报告