Sha256: 2fd4aa6a5e933d8ee82cb1b372bd4a4b755c8d9908b7beb374fecfd2d5d54d78
Contents?: true
Size: 630 Bytes
Versions: 2
Compression:
Stored size: 630 Bytes
Contents
def listgemsremote begin # exception trapped block commandline = $xpcommand + "gem query --remote" system( commandline+' > temp.output' ) fileName = "temp.output" @gemsqueryresult = " gem listing retrieved remotely, click below to view it. " path_to = File.join( "rwd_files", "remotegemlist.txt" ) path_from = File.join( $progdir, fileName ) FileUtils.cp(path_from, path_to) rescue @gemsqueryresult = "RubySlippers remote listing error" end # exception rescue end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
rubyslippers-0.93 | code/ii6rubyslippers/ii7listgemsremote.rb |
rubyslippers-0.92 | code/ii6rubyslippers/ii7listgemsremote.rb |