jnunemaker / httparty

:tada: Makes http fun again!
MIT License
5.81k stars 964 forks source link

Bundling Httparty results in ArgumentError: bad argument (expected URI object or URI string) #782

Open anderson-lee opened 1 year ago

anderson-lee commented 1 year ago

Hi all,

I am trying to make a personal website hosted on github using jekyll and the al-folio template, which uses httparty as one of the required gems. I first running bundle install (which installs all of the required gems correctly), I then run bundle exec jekyll serve, which throws the error /path-to-ruby/httparty/request.rb:87:in `path=': bad argument (expected URI object or URI string) (ArgumentError).

I am using ruby version 3.2.0, jekyll 4.3.2, and httparty 0.21.0. I am on an M1 chip with OSX Ventura 13.3.1. The output for gem env is this: RubyGems Environment:

If you have any suggestions, please let me know. Thanks in advance!

JonMidhir commented 1 year ago

@anderson-lee Looks like a bug in that particular template implementation. There is a workaround though: https://github.com/alshedivat/al-folio/issues/1043