What is the difference between /usr/local/bin/mine and /Applications/RubyMine.app/Contents/MacOS/rubymine?

Answered

I want to open RubyMine from a error message on iTerm2 WIndow.

By setting like this `/Applications/RubyMine.app/Contents/MacOS/rubymine \5 --line \2 \1` I could open as I expected.

But somehow `/usr/local/bin/mine \5 --line \2 \1` activate the RubyMine window, but it doesn't open the proper file.

Why is this happens? What is the difference of these two binaries?

 

Thanks

4 comments
Comment actions Permalink

Hello, does some other file opened instead, or nothing is opened? did you changed versions of RM? If yes, please try to re-create launcher 'mine' and try again. Let me know about results.

0
Comment actions Permalink

Rubymine window became active and there is no file to be opened.

How to create `mine` launcher? Honestly saying I don't remember if I made it myself or the binary exists just after installation of Rubymine.

0
Comment actions Permalink

Please try 'Tools | Create command-line Launcher...'.

0
Comment actions Permalink

Thanks, this time `/usr/local/bin/rubymine` is created and works same as `rubymine` in `RubyMine.app` folder.

0

Please sign in to leave a comment.