RubyFlow The Ruby and Rails community linklog

×

The Ruby and Rails community linklog

Made a library? Written a blog post? Found a useful tutorial? Share it with the Ruby community here or just enjoy what everyone else has found!

Mistakes I've made treating file paths as strings

It bugs me about how long I’ve manipulated paths as strings without having a failure, but in the last couple of months things have broken in Ruby and Node projects. So I wrote about the issues I’ve faced and how we should approach path names to avoid them (TL;DR use the standard lib Pathname and File.join in Ruby).

Post a comment

You can use basic HTML markup (e.g. <a>) or Markdown.

As you are not logged in, you will be
directed via GitHub to signup or sign in