lib/ramaze/tool/project_creator.rb in Pistos-ramaze-2008.09 vs lib/ramaze/tool/project_creator.rb in Pistos-ramaze-2008.12
- old
+ new
@@ -3,10 +3,11 @@
require 'fileutils'
require 'find'
class ProjectCreator
- PROTO = ['~/.proto/']
+ PROTO = []
+ PROTO << '~/.proto/' if ENV["HOME"] # Guard against Windows
attr_accessor :name, :options
def initialize(name, options = {})
@name, @options = name, options
end