Lines Matching full:path
64 subprefix = lambda {|path|
65 re === path and path.sub(re, '$prefix')
90 'path',
91 'path prefix of target environment' ] ],
93 'path',
96 'path',
99 'path',
102 'path',
105 'path',
108 'path',
111 'path',
113 [ 'ruby-path', [ rubypath,
114 'path',
115 'path to set to #! line' ] ],
175 ent[1] == 'path'
282 add_config name, 'path', default, desc
322 path = dirs[0..idx].join('')
323 Dir.mkdir path unless dir? path
511 def srcfile( path )
512 curr_srcdir + '/' + path
515 def srcexist?( path )
516 File.exist? srcfile(path)
519 def srcdirectory?( path )
520 dir? srcfile(path)
523 def srcfile?( path )
524 File.file? srcfile(path)
527 def srcentries( path = '.' )
528 Dir.open( curr_srcdir + '/' + path ) {|d|
533 def srcfiles( path = '.' )
534 srcentries(path).find_all {|fname|
535 File.file? File.join(curr_srcdir, path, fname)
539 def srcdirectories( path = '.' )
540 srcentries(path).find_all {|fname|
541 dir? File.join(curr_srcdir, path, fname)
602 def add_rubypath( path )
603 $stderr.puts %Q<set #! line to "\#!#{config('ruby-path')}" for #{path} ...> if verbose?
606 tmpfile = File.basename(path) + '.tmp'
608 File.open( path ) {|r|
613 w.print first.sub( SHEBANG_RE, '#!' + config('ruby-path') )
616 mv tmpfile, File.basename(path)
928 path = $1
929 path = File.expand_path(path) unless path[0,1] == '/'
930 @options['install-prefix'] = path
968 '--rbconfig=path', 'your rbconfig.rb to load', "running ruby's"