Skip to content

Commit

Permalink
bug fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
gdbtek committed Jun 27, 2019
1 parent 3922a34 commit 6645fb6
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions cookbooks/foodcritic/recipes/install.bash
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,9 @@ function install()

gem install foodcritic

if [[ -f "${FOODCRITIC_RUBY_INSTALL_FOLDER_PATH}/bin/foodcritic" ]]
if [[ -f "${RUBY_INSTALL_FOLDER_PATH}/bin/foodcritic" ]]
then
symlinkListUsrBin "${FOODCRITIC_RUBY_INSTALL_FOLDER_PATH}/bin/foodcritic"
symlinkListUsrBin "${RUBY_INSTALL_FOLDER_PATH}/bin/foodcritic"
fi

displayVersion "$(foodcritic --version)"
Expand All @@ -27,6 +27,7 @@ function install()
function main()
{
source "$(dirname "${BASH_SOURCE[0]}")/../../../libraries/util.bash"
source "$(dirname "${BASH_SOURCE[0]}")/../../ruby/attributes/default.bash"

header 'INSTALLING FOODCRITIC'

Expand Down

0 comments on commit 6645fb6

Please sign in to comment.