Fixed the dirname error in line 21 of install_generator.rb