[STABLE] Remove settings.rb from gitignore(?)

pull/103/head
Rick Carlino 2015-06-17 12:03:30 -05:00
parent 9f480875a2
commit bcc7b3215e
3 changed files with 8 additions and 2 deletions

1
.gitignore vendored
View File

@ -37,7 +37,6 @@ doc/**/*
Gemfile.lock
log/*
notes.rb
settings.rb
/lib/.build
write_db_settings.rb
snippet.coffee

View File

@ -1,4 +1,4 @@
# god -c path/to/simple.god -D
# god -c farmbot.god -D
God.watch do |w|
w.name = "farmbot_rpi_controller"
w.dir = File.expand_path(File.dirname(__FILE__))

7
lib/settings.rb 100644
View File

@ -0,0 +1,7 @@
require 'settingslogic'
module FBPi
class Settings < Settingslogic
source "settings.yml"
namespace ENV['FBENV'] || 'production'
end
end