# File lib/fpm/package/gem.rb, line 57 def staging_path(path=nil) @gem_staging_path ||= attributes[:gem_stagingdir] || Stud::Temporary.directory("package-#{type}-staging") @staging_path = @gem_staging_path if path.nil? return @staging_path else return File.join(@staging_path, path) end end