This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| ~$ ruby -v | |
| ruby 1.8.6 (2010-02-05 patchlevel 399) [x86_64-linux] | |
| ~$rvm 1.8.7@new_gemset | |
| error: Gemset 'new_gemset' does not exist, rvm gemset create 'new_gemset' first. | |
| ~$ echo $GEM_HOME | |
| /home/gthiesfeld/.rvm/gems/ruby-1.8.7-p174@new_gemset | |
| ~$ ruby -v | |
| ruby 1.8.7 (2009-06-12 patchlevel 174) [x86_64-linux] | |
| ~$ gem install runt |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Show hidden characters
| # See http://www.sublimetext.com/docs/build for details | |
| build gist.bat --simple "$File" | |
| showWhenFinished true | |
| workingDir $ProjectDir |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| module Pik | |
| class BashFile < ScriptFile | |
| attr_accessor :file_data, :file_name, :ruby_dir | |
| def extname | |
| ".sh" | |
| end |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| $LOAD_PATH.unshift(File.dirname(__FILE__)) | |
| $LOAD_PATH.unshift(File.join(File.dirname(__FILE__), 'vendor/lib')) | |
| require 'yaml' | |
| require 'pathname' | |
| require 'fileutils' | |
| require 'find' | |
| require 'open-uri' | |
| require 'rbconfig' |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| >pik ruby -e "puts 'hello world'" | |
| IronRuby 0.9.1.0 on .NET 2.0.0.0 | |
| hello world | |
| IronRuby 0.9.2.0 on .NET 2.0.0.0 | |
| hello world | |
| jruby 1.3.1 (ruby 1.8.6p287) (2009-06-15 2fd6c3d) (Java HotSpot(TM) Client VM 1.6.0_14) [x86-java] |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| ENV['GEM_HOME'] = nil | |
| ENV['GEM_PATH'] = nil | |
| REAL_HOME = ENV['HOME'] | |
| ENV['HOME'] = "nul" | |
| require 'rubygems' | |
| ENV['HOME'] = REAL_HOME |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| >pik run which --all pik.bat | |
| IronRuby 0.9.0.0 on .NET 2.0.0.0 | |
| c:\bin\pik.bat | |
| IronRuby 0.9.1.0 on .NET 2.0.0.0 | |
| c:\bin\pik.bat | |
| IronRuby 0.9.2.0 on .NET 2.0.0.0 | |
| c:\bin\pik.bat |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| >pik ls -r | |
| --- | |
| IronRuby: | |
| 0.3.0: http://rubyforge.org/frs/download.php/53552/ironruby-0.3.0.zip | |
| 0.5.0: http://rubyforge.org/frs/download.php/57126/ironruby-0.5.0.zip | |
| 0.6.0: http://rubyforge.org/frs/download.php/59717/ironruby-0.6.0.zip | |
| 0.9.0: http://rubyforge.org/frs/download.php/61382/ironruby-0.9.0.zip | |
| 0.9.1: http://rubyforge.org/frs/download.php/64504/ironruby-0.9.1.zip | |
| 0.9.2: http://rubyforge.org/frs/download.php/66606/ironruby-0.9.2.zip | |
| JRuby: |