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' source 'http://rubygems.org'
gem 'rails', "~> 3.2.16" gem 'rails', "~> 3.2.16"
gem "brakeman" # gem "brakeman"
gem 'mime-types' gem 'mime-types'
gem 'bson_ext' gem 'bson_ext'

View File

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

View File

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