Skip to content

Instantly share code, notes, and snippets.

@ku1ik
Created April 24, 2012 18:22
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ku1ik/2482327 to your computer and use it in GitHub Desktop.
Save ku1ik/2482327 to your computer and use it in GitHub Desktop.
~ % 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