X7ROOT File Manager
Current Path:
/opt/alt/ruby20/lib64/ruby/2.0.0/rake
opt
/
alt
/
ruby20
/
lib64
/
ruby
/
2.0.0
/
rake
/
ðŸ“
..
📄
alt_system.rb
(3.14 KB)
📄
application.rb
(21.27 KB)
📄
backtrace.rb
(622 B)
📄
classic_namespace.rb
(408 B)
📄
clean.rb
(1 KB)
📄
cloneable.rb
(482 B)
ðŸ“
contrib
📄
default_loader.rb
(164 B)
📄
dsl_definition.rb
(5.02 KB)
📄
early_time.rb
(273 B)
ðŸ“
ext
📄
file_creation_task.rb
(670 B)
📄
file_list.rb
(11.5 KB)
📄
file_task.rb
(1.28 KB)
📄
file_utils.rb
(3.01 KB)
📄
file_utils_ext.rb
(4.1 KB)
📄
gempackagetask.rb
(283 B)
📄
invocation_chain.rb
(962 B)
📄
invocation_exception_mixin.rb
(431 B)
ðŸ“
lib
ðŸ“
loaders
📄
multi_task.rb
(315 B)
📄
name_space.rb
(618 B)
📄
packagetask.rb
(5.07 KB)
📄
pathmap.rb
(26 B)
📄
phony.rb
(351 B)
📄
private_reader.rb
(364 B)
📄
promise.rb
(2.33 KB)
📄
pseudo_status.rb
(422 B)
📄
rake_module.rb
(727 B)
📄
rake_test_loader.rb
(341 B)
📄
rdoctask.rb
(6.55 KB)
📄
ruby182_test_unit_fix.rb
(843 B)
📄
rule_recursion_overflow_error.rb
(353 B)
📄
runtest.rb
(468 B)
📄
task.rb
(10.17 KB)
📄
task_argument_error.rb
(119 B)
📄
task_arguments.rb
(1.63 KB)
📄
task_manager.rb
(8.78 KB)
📄
tasklib.rb
(580 B)
📄
testtask.rb
(5.18 KB)
📄
thread_history_display.rb
(1.1 KB)
📄
thread_pool.rb
(4.67 KB)
📄
trace_output.rb
(488 B)
📄
version.rb
(187 B)
📄
win32.rb
(1.53 KB)
Editing: win32.rb
module Rake require 'rake/alt_system' # Win 32 interface methods for Rake. Windows specific functionality # will be placed here to collect that knowledge in one spot. module Win32 # Error indicating a problem in locating the home directory on a # Win32 system. class Win32HomeError < RuntimeError end class << self # True if running on a windows system. def windows? AltSystem::WINDOWS end # Run a command line on windows. def rake_system(*cmd) AltSystem.system(*cmd) end # The standard directory containing system wide rake files on # Win 32 systems. Try the following environment variables (in # order): # # * HOME # * HOMEDRIVE + HOMEPATH # * APPDATA # * USERPROFILE # # If the above are not defined, the return nil. def win32_system_dir #:nodoc: win32_shared_path = ENV['HOME'] if win32_shared_path.nil? && ENV['HOMEDRIVE'] && ENV['HOMEPATH'] win32_shared_path = ENV['HOMEDRIVE'] + ENV['HOMEPATH'] end win32_shared_path ||= ENV['APPDATA'] win32_shared_path ||= ENV['USERPROFILE'] raise Win32HomeError, "Unable to determine home path environment variable." if win32_shared_path.nil? or win32_shared_path.empty? normalize(File.join(win32_shared_path, 'Rake')) end # Normalize a win32 path so that the slashes are all forward slashes. def normalize(path) path.gsub(/\\/, '/') end end end end
Upload File
Create Folder