Skip to content

Commit a3f711b

Browse files
sorin-ionescubalupton
authored andcommitted
Require RubyGems on Ruby 1.8.7.
1 parent 3f87a38 commit a3f711b

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

lib/exchange/plugins/ruby/ruby.plugin.coffee

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@ module.exports = (BasePlugin) ->
2323
EOF
2424
document = Hash.new()
2525
26+
require 'rubygems' unless defined? Gem
2627
require 'json'
2728
document = JSON.parse <<-EOF
2829
#{data}
@@ -60,4 +61,4 @@ module.exports = (BasePlugin) ->
6061
else
6162
next()
6263
catch err
63-
return next(err)
64+
return next(err)

0 commit comments

Comments
 (0)