-
Notifications
You must be signed in to change notification settings - Fork 35
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Missing dependency github-linguist #40
Comments
Also having problems with Linguist, receiving this error after I updated my gems earlier today.
|
This is indeed odd. We have gihub-linguist listed as a dependency here. Wonder what is causing this. What were the steps to recreate this bug? |
@schwartzmx @jakecraige Can you also try running |
@ianks I've tried that. In my case I had run |
Ah, so that would indicate that the updated Gems were part of system Ruby then? Try |
I did, I have a systemwide install of ruby (reason for |
OK. I'm working on a solution where users won't have to install any Ruby at all to make things work. In the meantime I will try to figure out what is going on here and see if I can recreate it. Sorry about the hassle. |
@ianks No problem. It is weird that after running |
Did you ever get this fixed @schwartzmx ? Can you try running |
Try to use psych 2.0.8. Does not work when it is newer on Ruby 2.2.0. By the way, it does not occur on Ruby 2.1.5. |
Same problem with me. $ gem install octodown
ERROR: While executing gem ... (Gem::UnsatisfiableDependencyError)
Unable to resolve dependency: 'github-linguist (~> 4.2.5)' requires 'rugged (~> 0.22.0b4)' |
@sorrycc That's a bit different of an issue, the one here is after octodown is successfully installed, it can fail to run. @ianks I think this is triggered when there are fenced code blocks in a file to be rendered with syntax highlighting, I have octodown installed and working for some files, but getting this error on others. Note that in html-pipeline's README section about github-linguist, it says:
And here's the relevant if RUBY_VERSION < "2.1.0"
gem "escape_utils", "~> 0.3", :require => false
gem "github-linguist", "~> 2.6.2", :require => false
else
gem "escape_utils", "~> 1.0", :require => false
gem "github-linguist", "~> 2.10", :require => false
end octodown sets its dependency on much newer versions of linguist, so apparently html-pipeline's need isn't being satisfied and it's refusing to use the version installed along with octodown. |
Keen insight. This brings up another issue: we are currently checking in a Gemfile.lock for Travelling Ruby, so dynamically altering the dependencies may be problematical with this implementation. Maybe we will just move the Lockfile to the pacakging/ dir and move manually when building the Travelling Ruby package. That way we can accommodate Ruby users with lower versions and still be able to build out the TR package. Pinging @FooBarWidget for your thoughts on this. |
Yes that works. |
Yeah, a Anyway, that's perhaps a little off topic 😁 |
Only use Gemfile.lock for packaging task [resolves #40]
Yay, looking forward to this in a release version. |
The original issue still doesn't appear to be fixed, I vote for reopening this issue. On master, Octodown's spec.add_dependency 'github-linguist', '~> 4.2.5' While |
Can you see if gem uninstalling, then changing the dependency to ~> 2.10, then running rake install fixes your issue? I'm having trouble recreating it on my end, but if that fixes it for your then I will push a change up today to make sure things are working properly for everyone. Cheers! |
I have the same issue:
I have tried everything I can think of, including changing the dependency, and running Is there anything else I can do to make Octodown work? |
@runar yes there is. I have created self-contained packages for octodown. You can run the |
@ianks Thank you, but I'm afraid it still doesn't work:
Do you want me to create a new issue? |
Yes that would be good. Can you give you OS specs on there too? |
Done! |
For what it's worth, I hit the same problem when installing the 1.1.2 gem, but |
I haven't used octodown for months (great program, by the way), tried it today and 💥 ran into this issue. Good news is, I figured out the problem. After receiving the
So I decided to reinstall
Hummm, 55.1 and 53.1
After this I explicitly uninstalled I believe the problem here was that between the last time I ran If you look at Homebrew's issues, there are various icu4u issues. Here's one. This bumped icu from 53, which is where I was when |
This error comes from https://github.com/jch/html-pipeline and it's referring to this part of the README I'm not sure if that means this gem needs to be bundled with that dependency?
The text was updated successfully, but these errors were encountered: