bin/oculus in oculus-0.9.2 vs bin/oculus in oculus-0.9.3

- old
+ new

@@ -29,8 +29,9 @@ opts.on("-t", "--adapter ADAPTER", "Database adapter") do |adapter| abort "oculus: unknown adapter '#{adapter}'" unless ['mysql', 'postgres', 'pg'].include?(adapter) Oculus.connection_options[:adapter] = adapter end opts.on("-d", "--data DIRECTORY", "Data cache path (default: tmp/data)") do |path| - Oculus.cache_path = path + Oculus.storage_options[:adapter] = "file" + Oculus.storage_options[:cache_path] = path end end