-
Notifications
You must be signed in to change notification settings - Fork 1
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
can't modify frozen string #2
Comments
Can you give me the full stack trace? This is only showing an error in the |
/Users/frederik/.rbenv/versions/3.1.2/lib/ruby/gems/3.1.0/gems/mastodon-api-2.0.0/lib/mastodon/rest/request.rb:13:in
|
After reading about some issues in http, I upgraded this gem to version 5.1.1 jekyll mastodon setup |
I'm using http 4.4.1 in my install and it's working fine, so I don't think you need 5.0. I think the problem is that the mastodon-api gem hasn't been updated. That is, there's a newer version in GitHub that works with http 4.4+, but the author never published it to RubyGems, so if you just pull it in normally you get the old version. The other confusing thing is that the newer version on GitHub is still labelled as 2.0.0. Can you try changing your Gemfile to load mastodon-api directly from GitHub? You'll need to change the line in your Gemfile to something like
|
Thank you!! source "https://rubygems.org" |
/Users/frederik/.rbenv/versions/3.1.2/lib/ruby/gems/3.1.0/gems/liquid-4.0.4/lib/liquid/block.rb:33:in `unknown_tag': Liquid syntax error (line 85): 'end_mastodon_social' is not a valid delimiter for mastodon_social tags. use endmastodon_social (Liquid::SyntaxError) Typo in your documentation |
That's great, I'm glad it's working for you now! Thanks for the feedback. I will try opening an issue on mastodon-api to see if the author can push his latest GitHub changes to RubyGems mastodon/mastodon-api#57 |
I'll attempt to utilize your plugin, but regrettably, an error message has appeared:
jekyll 4.3.2 | Error: can't modify frozen String: ""
/Users/frederik/.rbenv/versions/3.1.2/lib/ruby/gems/3.1.0/gems/http-3.3.0/lib/http/response/body.rb:52:in `force_encoding': can't modify frozen String: "" (FrozenError)
Gemfile:
source "https://rubygems.org"
ruby "3.1.2"
gem "jekyll", "
> 4.3.2"> 2.5"gem "minima", "
group :jekyll_plugins do
gem "jekyll-feed", "
> 0.12"> 2.0"gem "nokogiri"
gem "mastodon-api", "
gem "jekyll-seo-tag"
end
The text was updated successfully, but these errors were encountered: