woocommerce / wc-api-ruby

A Ruby wrapper for the WooCommerce API.
MIT License
69 stars 74 forks source link

require "woocommerce_api" gives error "cannot load such file -- woocommerce_api" #39

Closed dhara-thacker closed 5 years ago

dhara-thacker commented 7 years ago

I have installed the gem properly. And i'm requiring the file in woocommerce_api in my code gives me this error

cannot load such file -- woocommerce_api

spada-chris commented 6 years ago

@dhara-thacker did you ever find a solution to this?

dhara-thacker commented 6 years ago

Hi @Cdspada , I don't quite remember what I did, but I just checked my code, and it seems I have commented out the require statement. So now, I'm using this API without actually requiring it.

Let me know if that helps.

Thanks, Dhara

Gil125 commented 5 years ago

I solved this just adding gem 'woocommerce_api' to my Gemfile and then using bundle install