Shouldn't have changed this line. But I really don't understand why

app_name = JSON.parse(File.read(File.join options[:path], 'manifest.json'))['name']
works, while
app_name = manifest(options[:path]) ['name']

doesn't. Seems to do the same thing in my understanding, but it clearly doesn't.