Created
April 24, 2012 18:22
-
-
Save ku1ik/2482327 to your computer and use it in GitHub Desktop.
This file contains 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
~ % source tmuxinator_completion | |
/home/kill/.rvm/gems/ruby-1.9.3-p125@global/bin/tmuxinator_completion:9: command not found: require | |
/home/kill/.rvm/gems/ruby-1.9.3-p125@global/bin/tmuxinator_completion:11: command not found: version | |
/home/kill/.rvm/gems/ruby-1.9.3-p125@global/bin/tmuxinator_completion:16: parse error near `end' | |
~ % which tmuxinator_completion | |
/home/kill/.rvm/gems/ruby-1.9.3-p125@global/bin/tmuxinator_completion | |
~ % cat =tmuxinator_completion | |
#!/home/kill/.rvm/rubies/ruby-1.9.3-p125/bin/ruby | |
# | |
# This file was generated by RubyGems. | |
# | |
# The application 'tmuxinator' is installed as part of a gem, and | |
# this file is here to facilitate running it. | |
# | |
require 'rubygems' | |
version = ">= 0" | |
if ARGV.first =~ /^_(.*)_$/ and Gem::Version.correct? $1 then | |
version = $1 | |
ARGV.shift | |
end | |
gem 'tmuxinator', version | |
load Gem.bin_path('tmuxinator', 'tmuxinator_completion', version) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment