Bundler's errors and stdout

34 views
Skip to first unread message

Alexander Kurakin

unread,
Oct 6, 2015, 4:51:05 PM10/6/15
to ruby-bundler
Good day!

I'm confused very much why Bundler outputs fatal errors to stdout rather than stderr (at least by default).

???

Thanks!

Andre Arko

unread,
Oct 6, 2015, 4:54:10 PM10/6/15
to ruby-bundler
It's because originally, Bundler didn't even distinguish between error and success output. Bundler 2.0 will print errors to stderr.

Alexander Kurakin

unread,
Oct 8, 2015, 2:57:35 AM10/8/15
to ruby-bundler
Bundler 2.0 will print errors to stderr.

Yeah!!!!! +1!!! Thanks!

Because it's very strange to execute
bundle exec program > program.out
and see
Could not locate Gemfile or .bundle/ directory
in program.out... Even if console (stderr) is clear.


вторник, 6 октября 2015 г., 23:54:10 UTC+3 пользователь Andre Arko написал:
Reply all
Reply to author
Forward
0 new messages