added --stdin option for reading gemfile from a pipe