Grapql & rails

Jerry54000
New Member
4 0 0

Hello Everyone,

I'm following the guide from this link https://github.com/Shopify/shopify_api/blob/master/docs/graphql.md

It says that the first step is to run 

rake shopify_api:graphql:dump SHOP_URL="https://API_KEY:PASSWORD@SHOP_NAME.myshopify.com" API_VERSION=2020-10

I ran this on my terminal window but I'm getting the errors shown below. I replaced the api_key, password & shop_name as per my test shop's info.

rake aborted! 

No Rakefile found (looking for: rakefile, Rakefile, rakefile.rb, Rakefile.rb)

What am I missing?

Thanks for your help!

0 Likes
Jerry54000
New Member
4 0 0

Sorry, my bad. I managed to make it work. I have to ran it in the main folder of my rails app.

0 Likes