fix undefine method error when running rake tasks
Merge pull request #946 from eitoball/fix_rakefile_error

Fix "undefined method `licenses='"  when running rake tasks