Skip to content

symlink doesn't work with require path, use pathname to fix #7

@mxmilkiib

Description

@mxmilkiib

I use symlinks to add executables in git directories to my ~/bin. Unfortunately this breaks roflblat, but I fixed it by swapping out the existing require with;

require "pathname"
require File.join(File.dirname(Pathname.new(__FILE__).realpath), "../lib/roflbalt.rb")

Thanks for the game btw!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions