Ubuntu 14.04
By default looks for gnome-open which doesn't exist in 14.04. Should also look for xdg-open before looking for firefox etc,
NVM just took a look at the code and I must have an old version.
Hi, I'm having the same issue on Ubuntu 14.04 (actually Elementary OS) while using Launchy from heroku (heroku open) how did you solve this?
@TechFreak I'm guessing @greeneca updated their version of launchy. What error are you seeing?
Actually I fixed the issue before I posted this. I just created an symlink at /usr/bin/gnome-open that pointed to /usr/bin/xdg-open.
Hi the exact issue is this one:
Opening demo... failed ! Heroku client internal error. ! Search for help at: https://help.heroku.com ! Or report a bug at: https://github.com/heroku/heroku/issues/new
Error: Unable to find a browser command. If this is unexpected, Please rerun with environment variable LAUNCHY_DEBUG=true or the '-d' commandline option and file a bug at https://github.com/copiousfreetime/launchy/issues/new (Launchy::CommandNotFoundError)
Backtrace: /usr/local/heroku/vendor/gems/launchy-2.4.2/lib/launchy/applications/browser.rb:63:in `browser_cmdline'
/usr/local/heroku/vendor/gems/launchy-2.4.2/lib/launchy/applications/browser.rb:67:in `cmd_and_args'
/usr/local/heroku/vendor/gems/launchy-2.4.2/lib/launchy/applications/browser.rb:78:in `open'
/usr/local/heroku/vendor/gems/launchy-2.4.2/lib/launchy.rb:29:in `open'
/usr/local/heroku/lib/heroku/helpers.rb:328:in `block in launchy'
/usr/local/heroku/lib/heroku/helpers.rb:227:in `action'
/usr/local/heroku/lib/heroku/helpers.rb:326:in `launchy'
/usr/local/heroku/lib/heroku/command/apps.rb:335:in `open'
/usr/local/heroku/lib/heroku/command.rb:217:in `run'
/usr/local/heroku/lib/heroku/cli.rb:33:in `start'
/usr/local/heroku/bin/heroku:25:in `<main>'
Command: heroku open
Version: heroku-toolbelt/3.10.5 (x86_64-linux) ruby/1.9.3
The issue might be that the heroku tool is using an outdated version of Launchy
@greeneca I'll try that seems like a solid workaround.
Oh, my apologies, that is actually issue #91 and I just merged the fix for that. a new release will be out soon, I may bundle another bugfix in
@copiousfreetime great to hear thanks!