lib/user.rb in sprout-0.3.36 vs lib/user.rb in sprout-0.5.0
- old
+ new
@@ -115,10 +115,16 @@
def library
return home
end
def platform
- return Platform::IMPL
+ if(Platform::OS == :win32)
+ return :win32
+ elsif(Platform::IMPL == :macosx)
+ return :macosx
+ else
+ return Platform::IMPL
+ end
end
def execute(tool, options='')
tool = Sprout.load(tool)
target = tool.archive_path