Update for THU

This commit is contained in:
rulingcom 2014-07-09 15:13:28 +08:00
parent 5d37bce969
commit cf8f0ab26b
3 changed files with 6 additions and 6 deletions

View File

@ -1,7 +1,7 @@
source 'http://rubygems.org'
gem 'rails', "~> 3.2.16"
gem "brakeman"
# gem "brakeman"
gem 'mime-types'
gem 'bson_ext'

View File

@ -1,5 +1,5 @@
defaults: &defaults
host: localhost
host: 127.0.0.1
# slaves:
# - host: slave1.local
port: 27017
@ -8,13 +8,13 @@ defaults: &defaults
development:
<<: *defaults
database: thu_new
database: thu_orbit
test:
<<: *defaults
database: orbit_site_new
database: thu_orbit
# set these environment variables on your prod server
production:
@ -24,4 +24,4 @@ production:
# password: <%= ENV['MONGOID_PASSWORD'] %>
# database: <%= ENV['MONGOID_DATABASE'] %>
<<: *defaults
database: thu_new
database: thu_orbit

View File

@ -1,6 +1,6 @@
# encoding: utf-8
require 'fileutils'
require 'shell'
# require 'shell'
require 'open-uri'
require 'net/http/post/multipart'