Can't get Rails 6 to work

Highlighted
New Member
3 0 1

I am currently using Rails 6. I have followed the YouTube video tutorial of Ruby on Rails. You can find the YouTube video here: https://www.youtube.com/watch?v=yGxeoAHlQOg

 

I was able to follow along until I try to login to the application using my current Shopify store and this is when the issue happens. My Heroku app is stuck on redirect and I'm not sure how to fix this. I can't download the application to my store. 

 

I have looked over the docs on GitHub and I see that there are instructions on how to get Rails 6 to work. But I'm a bit confused about how to implement them. Found here:  https://github.com/Shopify/shopify_app#rails-6-compatibility

0 Likes
Highlighted
Shopify Staff (Retired)
Shopify Staff (Retired)
624 102 129

Hi @waterlow123 

 

 

I have looked over the docs on GitHub and I see that there are instructions on how to get Rails 6 to work. But I'm a bit confused about how to implement them. Found here:  https://github.com/Shopify/shopify_app#rails-6-compatibility

What part of these instructions do you happen to find confusing? To break them out all these instructions are saying is that when you are first starting your project, enter into your command line "SHOPIFY_APP_DISABLE_WEBPACKER=1 rails generate shopify_app" (instead of normally just `rails generate shopify_app`)

 

Then after that in your config/initializers/shopify_app.rb config file add the following line in you do block:

ShopifyApp.configure do |config|
  config.disable_webpacker = true
end

 

Hassain | Developer Support Specialist @ Shopify
 - Was my reply helpful? Click Like to let me know! 
 - Was your question answered? Click Accept as Solution 

0 Likes