Relatively require github_changelog_generator library

During development its possible for the gem installed version of github_changelog_generator lib to get required instead of the current development version of the library. This ensures that Ruby pulls in the correct version of the lib, specifically for development without breaking production builds.
This commit is contained in:
Shawn Neal 2015-03-23 10:39:26 -07:00 committed by Petr Korolev
parent 1456ba8913
commit a1c7ffb765

View File

@ -1,4 +1,4 @@
#! /usr/bin/env ruby #! /usr/bin/env ruby
require 'github_changelog_generator' require_relative '../lib/github_changelog_generator'
GitHubChangelogGenerator::ChangelogGenerator.new.compund_changelog GitHubChangelogGenerator::ChangelogGenerator.new.compund_changelog