Skip to content
This repository was archived by the owner on Sep 18, 2021. It is now read-only.
This repository was archived by the owner on Sep 18, 2021. It is now read-only.

LoadError when requiring twitter-text as a dependency #60

@sferik

Description

@sferik

The t gem depends on twitter-text to extract mentioned screen names from Tweet text.

Five separate users, all on different operating systems and Ruby versions, reported a LoadError on the line where I require 'twitter-text'.

Originally, I assumed it was an environmental issue, since I was unable to reproduce the problem on my machine, however, when I released a version of the gem (0.9.4), which lazy-loaded twitter-text, users reported the problem had been fixed.

As you can see from this GitHub compare view, the only difference between version 0.9.3, where users were reporting a problem, and 0.9.4, where users reported that it was fixed is the lazy-loading of twitter-text: sferik/x-cli@v0.9.3...v0.9.4

Again, I am unable to reproduce the error, but I believe that there is a problem with requiring twitter-text as a dependency on some systems, which I thought you'd want to know about.

I am considering reimplementing the extract_mentioned_screen_names functionality that I'm using from twitter-text within the t gem, however I'd prefer to depend on twitter-text than maintain that code myself.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions