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

Please help Ruby newbie #4

Open
cyotee opened this issue Jun 15, 2017 · 3 comments
Open

Please help Ruby newbie #4

cyotee opened this issue Jun 15, 2017 · 3 comments

Comments

@cyotee
Copy link

cyotee commented Jun 15, 2017

I've been trying to install the required gems with gem install. And I tried creating a Gemfile to build it with Bundler. But several of them, pretty much everything from require set can't be found in a source. So I figure those are language library files. But even whne I inatall mechanize and nokogiri I get the following error

$ ./grab-hib.rb -d whatever > doit /System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/2.0.0/rubygems/core_ext/kernel_require.rb:55:in require': cannot load such file -- mechanize (LoadError)
from /System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/2.0.0/rubygems/core_ext/kernel_require.rb:55:in require' from ./grab-hib.rb:12:in

'`
Sorry to trouble you with a newb question, and your code obviously work.s What am I missing?

@Oblomov
Copy link
Owner

Oblomov commented Jun 17, 2017

I'm afraid I cannot be of much help, I'm not familiar with Mac OS X (which is the operating system you seem to be using). The error message indicates that ruby cannot find mechanize, so if you have actually installed it, it might just be that there are multiple versions of ruby in your system and you installed the gem for one, but grab-hib is running in another.

@cyotee
Copy link
Author

cyotee commented Jun 18, 2017

How do I install mechanize? To make sure I did it correctly.

@Oblomov
Copy link
Owner

Oblomov commented Jun 18, 2017

As I said, I'm not familiar with Mac OS X. I'm afraid I really can't help you with this.

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