use Gemfile.cgi in a CGI environment
Merge pull request #322 from tdiary/fix_320

use Gemfile.cgi in a CGI environment