diff options
| author | Pirate Praveen <praveen@debian.org> | 2015-11-10 12:51:25 -0500 |
|---|---|---|
| committer | Pirate Praveen <praveen@debian.org> | 2015-11-10 12:51:25 -0500 |
| commit | 2823f05dcfa12edc41ab0b3bcaf1959f1690f8bb (patch) | |
| tree | 4723ee1209111233e623bf0057b5b8eaa3cc6e6d /bin/check | |
| parent | 79fdf65c71e90773fbf52d6832b74cf5a7124755 (diff) | |
| download | gitlab-shell-2823f05dcfa12edc41ab0b3bcaf1959f1690f8bb.tar.gz | |
use load path instead of require_relative
Diffstat (limited to 'bin/check')
| -rwxr-xr-x | bin/check | 5 |
1 files changed, 3 insertions, 2 deletions
@@ -1,7 +1,8 @@ #!/usr/bin/env ruby -require_relative '../lib/gitlab_init' -require_relative '../lib/gitlab_net' +$:.unshift File.expand_path('../lib', __FILE__) +require 'gitlab_init' +require 'gitlab_net' # # GitLab shell check task |
