Skip to content

convert gem to rails engine#72

Open
autotelik wants to merge 7 commits intomasterfrom
update-to-support-spree-4-and-rails-6
Open

convert gem to rails engine#72
autotelik wants to merge 7 commits intomasterfrom
update-to-support-spree-4-and-rails-6

Conversation

@autotelik
Copy link
Owner

No description provided.

@seizad
Copy link

seizad commented Jul 31, 2020

@autotelik when I run thor datashift_spree:load:products -v -i tmp/product_template.xls with this code I get an error. Any idea how to fix this?

Traceback (most recent call last):
	15: from /Users/seizadsh/.rvm/gems/ruby-2.7.0/bin/ruby_executable_hooks:24:in `<main>'
	14: from /Users/seizadsh/.rvm/gems/ruby-2.7.0/bin/ruby_executable_hooks:24:in `eval'
	13: from /Users/seizadsh/.rvm/gems/ruby-2.7.0/bin/thor:23:in `<main>'
	12: from /Users/seizadsh/.rvm/gems/ruby-2.7.0/bin/thor:23:in `load'
	11: from /Users/seizadsh/.rvm/gems/ruby-2.7.0/gems/thor-0.20.3/bin/thor:6:in `<top (required)>'
	10: from /Users/seizadsh/.rvm/gems/ruby-2.7.0/gems/thor-0.20.3/lib/thor/base.rb:466:in `start'
	 9: from /Users/seizadsh/.rvm/gems/ruby-2.7.0/gems/thor-0.20.3/lib/thor.rb:387:in `dispatch'
	 8: from /Users/seizadsh/.rvm/gems/ruby-2.7.0/gems/thor-0.20.3/lib/thor/invocation.rb:126:in `invoke_command'
	 7: from /Users/seizadsh/.rvm/gems/ruby-2.7.0/gems/thor-0.20.3/lib/thor/command.rb:128:in `run'
	 6: from /Users/seizadsh/.rvm/gems/ruby-2.7.0/gems/thor-0.20.3/lib/thor/command.rb:29:in `run'
	 5: from /Users/seizadsh/.rvm/gems/ruby-2.7.0/gems/thor-0.20.3/lib/thor/runner.rb:42:in `method_missing'
	 4: from /Users/seizadsh/.rvm/gems/ruby-2.7.0/gems/thor-0.20.3/lib/thor/base.rb:466:in `start'
	 3: from /Users/seizadsh/.rvm/gems/ruby-2.7.0/gems/thor-0.20.3/lib/thor.rb:387:in `dispatch'
	 2: from /Users/seizadsh/.rvm/gems/ruby-2.7.0/gems/thor-0.20.3/lib/thor/invocation.rb:126:in `invoke_command'
	 1: from /Users/seizadsh/.rvm/gems/ruby-2.7.0/gems/thor-0.20.3/lib/thor/command.rb:27:in `run'
/Users/seizadsh/.rvm/gems/ruby-2.7.0/bundler/gems/datashift_spree-94f65e1ea0a4/lib/thor/spree/products_images.thor:39:in `products': uninitialized constant Thor::Sandbox::DatashiftSpree::ProductLoader (NameError)

My Gemfile:

gem 'spree', '~> 4.1'
gem 'spree_auth_devise', '~> 4.1'
gem 'spree_gateway', '~> 3.7'
gem 'spree_multi_domain', github: 'spree-contrib/spree-multi-domain', branch: 'rails_6_spree_4'
gem 'spree_analytics_trackers'
gem 'pg', '~> 1.2.3'

# datashift product import engine by Vinsol
gem 'datashift', github: 'autotelik/datashift', branch: 'update-to-support-rails-6'
gem 'datashift_spree', github: 'autotelik/datashift_spree', branch: 'update-to-support-spree-4-and-rails-6'

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

Successfully merging this pull request may close these issues.

2 participants