Skip to content
This repository has been archived by the owner on Jan 21, 2020. It is now read-only.

Commit

Permalink
Merge pull request #28 from copiousfreetime/launchy-2.0
Browse files Browse the repository at this point in the history
update to launchy 2.0
  • Loading branch information
pusewicz committed Jul 18, 2011
2 parents ba8be04 + 4e94d85 commit 4a77fe0
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ group :production do
gem "rake", "0.8.7"
gem "thor", "0.14.6"
gem "nokogiri", "1.4.4"
gem "launchy", "0.3.7"
gem "launchy", "2.0.3"
gem "thin", "1.2.7"
gem "sinatra", "1.1.2"
gem "haml", "3.0.25"
Expand Down
2 changes: 1 addition & 1 deletion lib/sonia/cli.rb
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ class CLI < Thor
def start
require "sonia"
Sonia::Server.run!(Config.new(options)) do
Launchy::Browser.run(Sonia::Server.webserver_url) unless options[:'no-auto']
Launchy.open(Sonia::Server.webserver_url) unless options[:'no-auto']
end
end

Expand Down

0 comments on commit 4a77fe0

Please sign in to comment.