Skip to content

Commit

Permalink
rescue load error
Browse files Browse the repository at this point in the history
  • Loading branch information
shokai committed Nov 20, 2010
1 parent 29aea54 commit 0636012
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion serial-socket-gateway
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#!/usr/bin/env ruby
begin
require 'serialport' # system gem
rescue => e
rescue LoadError => e
STDERR.puts e
end
require 'rubygems'
Expand Down

0 comments on commit 0636012

Please sign in to comment.