[STABLE] Remove settings.rb from gitignore(?)
parent
9f480875a2
commit
bcc7b3215e
|
@ -37,7 +37,6 @@ doc/**/*
|
|||
Gemfile.lock
|
||||
log/*
|
||||
notes.rb
|
||||
settings.rb
|
||||
/lib/.build
|
||||
write_db_settings.rb
|
||||
snippet.coffee
|
||||
|
|
|
@ -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__))
|
||||
|
|
|
@ -0,0 +1,7 @@
|
|||
require 'settingslogic'
|
||||
module FBPi
|
||||
class Settings < Settingslogic
|
||||
source "settings.yml"
|
||||
namespace ENV['FBENV'] || 'production'
|
||||
end
|
||||
end
|
Loading…
Reference in New Issue