<FromGitter>
<ondreian> `Path["/home/crystal/~/some/project"]` is not a valid path, it's treating `~` like a string literal instead of expanding it to the home directory of the current user
<FromGitter>
<ondreian> Sorry for the late response, but i was in intermittent connectivity for awhile and gitter does not work well in those situations at all
<FromGitter>
<ondreian> It should instead be expanding this to `/home/crystal/some/project`
<FromGitter>
<ondreian> Ultimately it's treating it like a String when file paths are not actually Strings
<FromGitter>
<Blacksmoke16> but what if you did `cd ~ && mkdir -p '~/some/project'`
<FromGitter>
<Blacksmoke16> you can have a directory named `~`
_whitelogger has joined #crystal-lang
<riza>
typically if you want to expand the ~ or . / .., you need to use a special function to expand them
<FromGitter>
<Blacksmoke16> can also be used with methods. E.g. say you added your own `raise` method but still want to call the default one, could do `::raise "oh no"`