I presume you're just using the phantomjs command line tool and don't need the gem?

But would installing the gem install the tool? If so, then listing the gem in `Gemfile` is a convenient way to specify the dependency and avoid having the user install the tool separately. If not, then I agree that it shouldn't be here.