Skip to content
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

`require': cannot load such file -- mechanize (LoadError) #4

Open
ahaghgoo opened this issue Dec 19, 2019 · 3 comments
Open

`require': cannot load such file -- mechanize (LoadError) #4

ahaghgoo opened this issue Dec 19, 2019 · 3 comments

Comments

@ahaghgoo
Copy link

ahaghgoo commented Dec 19, 2019

Hi, I tried to run this but I get the following result. I'm not experienced with command line so please forgive me if this is an easy fix. Thanks for your time and consideration!

ruby instapaper_to_pdf.rb
Traceback (most recent call last):
2: from instapaper_to_pdf.rb:15:in

' 1: from /System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/2.6.0/rubygems/core_ext/kernel_require.rb:54:in require'
/System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/2.6.0/rubygems/core_ext/kernel_require.rb:54:in require': cannot load such file -- mechanize (LoadError)``

@tricon
Copy link
Owner

tricon commented Dec 19, 2019

@ahaghgoo Thanks for opening this issue.

The quickest way to get up and running would be to run this command from the command line:

sudo gem install bundler

Then from this project's folder:

sudo bundle install

This will install a couple things you need to run the Ruby script.

Please let me know if this resolves your issue, and I'll get this added to the README.

@ahaghgoo
Copy link
Author

ahaghgoo commented Dec 20, 2019 via email

@tricon
Copy link
Owner

tricon commented Mar 10, 2022

My apologies for letting this issue language. Did you ever get this resolved?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants