Skip to content

Instantly share code, notes, and snippets.

@raypereda
Created November 30, 2012 23:21
Show Gist options
  • Save raypereda/4179415 to your computer and use it in GitHub Desktop.
Save raypereda/4179415 to your computer and use it in GitHub Desktop.
allow rubymine's command-line tool to use './path/to/filename:12345'
#!/usr/bin/ruby
filename, line_no = ARGV.pop.split ':'
exec "mine -l #{line_no} #{filename} &"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment