Fixed some bugs in the Install Application action under Ruby 2