Thimblr 0.8.0 → 0.8.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- data/lib/thimblr.rb +1 -1
- metadata +2 -2
data/lib/thimblr.rb
CHANGED
|
@@ -51,7 +51,7 @@ class Thimblr::Application < Sinatra::Base
|
|
|
51
51
|
|
|
52
52
|
if not File.directory?(File.expand_path(File.join(Locations[Platform]['dir'],"data")))
|
|
53
53
|
FileUtils.mkdir_p(File.expand_path(File.join(Locations[Platform]['dir'],"data")))
|
|
54
|
-
FileUtils.cp(File.join(config,'demo.
|
|
54
|
+
FileUtils.cp(File.join(config,'demo.yml'),File.expand_path(File.join(Locations[Platform]['dir'],'data','demo.yml')))
|
|
55
55
|
end
|
|
56
56
|
|
|
57
57
|
begin # Try to load the settings file, if it's crap then overwrite it with the defaults
|