lib/dvm/cli.rb in dvm-0.1.5 vs lib/dvm/cli.rb in dvm-0.1.6
- old
+ new
@@ -45,10 +45,10 @@
%w(public/upload log vendor)
end
def shared_files
Dir.glob(current_path('config', '**', '*.example')).collect do |c|
- File.join 'config', c.split('config')[1][1..-1].split('.')[0..-2].join('.')
+ File.join 'config', c.split('config')[1..-1].join('config')[1..-1].split('.')[0..-2].join('.')
end
end
def version(order)