diff --git a/Gemfile b/Gemfile index 7dda595..456cb26 100644 --- a/Gemfile +++ b/Gemfile @@ -1,7 +1,7 @@ source 'http://rubygems.org' gem 'rails', "~> 3.2.16" -gem "brakeman" +# gem "brakeman" gem 'mime-types' gem 'bson_ext' diff --git a/config/mongoid.yml b/config/mongoid.yml index ec19e8c..0e227de 100644 --- a/config/mongoid.yml +++ b/config/mongoid.yml @@ -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 diff --git a/lib/tasks/new_site.rake b/lib/tasks/new_site.rake index f92e4de..c5801be 100755 --- a/lib/tasks/new_site.rake +++ b/lib/tasks/new_site.rake @@ -1,6 +1,6 @@ # encoding: utf-8 require 'fileutils' -require 'shell' +# require 'shell' require 'open-uri' require 'net/http/post/multipart'