Todayβs reason for an hour wasted on debugging: Ruby 2.0.0 enforces FD_CLOEXEC on file descriptors by default, need to pass --keep-file-descriptors
to bundle exec
to fix. What the hell? Apparently they were concerned about security. Okay, but doing that on interpreter level was super unexpected.
Tag #ruby
Thatβs what the hipsters call βSmalltalk inspiredβ nowadaysβ¦
nil.empty? # NoMethodError: undefined method `empty?' for nil:NilClass
In Objective-C, any message to nil returns nil. In Ruby? Exception :-(