Skip to content

Commit

Permalink
Handle include paths separated by colons when launching ruby
Browse files Browse the repository at this point in the history
  • Loading branch information
bgarret committed Dec 14, 2010
1 parent 0a7de8c commit 307fdc2
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion lib/snailgun/server.rb
Expand Up @@ -76,7 +76,9 @@ def start_ruby(args)
e << v
end
opts.on("-I DIR") do |v|
$:.unshift v
v.split(':').each do |value|
$:.unshift value
end
end
opts.on("-r LIB") do |v|
require v
Expand Down

0 comments on commit 307fdc2

Please sign in to comment.