Skip to content

Commit

Permalink
Fixed Gemfile to permit development with local Logstash clone (#82)
Browse files Browse the repository at this point in the history
Fix path Logstash path to be retrieved from `LOGSTASH_PATH` environment variable
  • Loading branch information
andsel committed Jun 1, 2023
1 parent 232849e commit a1bf84e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ source 'https://rubygems.org'

gemspec

logstash_path = "../../logstash"
logstash_path = ENV['LOGSTASH_PATH'] || '../../logstash'

if Dir.exist?(logstash_path) && ENV["LOGSTASH_SOURCE"] == "1"
gem 'logstash-core', :path => "#{logstash_path}/logstash-core"
Expand Down

0 comments on commit a1bf84e

Please sign in to comment.