initialize!' 20: from /home/wg/.rvm/gems/ruby-2.7.1/gems/railties-6.1.4/lib/rails/initializable.rb:60:in
run_initializers'
19: from /home/wg/.rvm/rubies/ruby-2.7.1/lib/ruby/2.7.0/tsort.rb:205:in tsort_each' 18: from /home/wg/.rvm/rubies/ruby-2.7.1/lib/ruby/2.7.0/tsort.rb:226:in
tsort_each'
17: from /home/wg/.rvm/rubies/ruby-2.7.1/lib/ruby/2.7.0/tsort.rb:347:in each_strongly_connected_component' 16: from /home/wg/.rvm/rubies/ruby-2.7.1/lib/ruby/2.7.0/tsort.rb:347:in
call'
15: from /home/wg/.rvm/rubies/ruby-2.7.1/lib/ruby/2.7.0/tsort.rb:347:in each' 14: from /home/wg/.rvm/rubies/ruby-2.7.1/lib/ruby/2.7.0/tsort.rb:349:in
block in each_strongly_connected_component'
13: from /home/wg/.rvm/rubies/ruby-2.7.1/lib/ruby/2.7.0/tsort.rb:431:in each_strongly_connected_component_from' 12: from /home/wg/.rvm/rubies/ruby-2.7.1/lib/ruby/2.7.0/tsort.rb:350:in
block (2 levels) in each_strongly_connected_component'
11: from /home/wg/.rvm/rubies/ruby-2.7.1/lib/ruby/2.7.0/tsort.rb:228:in block in tsort_each' 10: from /home/wg/.rvm/gems/ruby-2.7.1/gems/railties-6.1.4/lib/rails/initializable.rb:61:in
block in run_initializers'
9: from /home/wg/.rvm/gems/ruby-2.7.1/gems/railties-6.1.4/lib/rails/initializable.rb:32:in run' 8: from /home/wg/.rvm/gems/ruby-2.7.1/gems/railties-6.1.4/lib/rails/initializable.rb:32:in
instance_exec'
7: from /home/wg/.rvm/gems/ruby-2.7.1/gems/solidus_razorpay-0.2.0/lib/solidus_razorpay/engine.rb:21:in block in <class:Engine>' 6: from /home/wg/.rvm/gems/ruby-2.7.1/gems/activesupport-6.1.4/lib/active_support/dependencies/interlock.rb:13:in
loading'
5: from /home/wg/.rvm/gems/ruby-2.7.1/gems/activesupport-6.1.4/lib/active_support/concurrency/share_lock.rb:151:in exclusive' 4: from /home/wg/.rvm/gems/ruby-2.7.1/gems/activesupport-6.1.4/lib/active_support/dependencies/interlock.rb:14:in
block in loading'
3: from /home/wg/.rvm/gems/ruby-2.7.1/gems/bootsnap-1.7.5/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:59:in load' 2: from /home/wg/.rvm/gems/ruby-2.7.1/gems/bootsnap-1.7.5/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:59:in
load'
1: from /home/wg/.rvm/gems/ruby-2.7.1/gems/solidus_razorpay-0.2.0/app/models/solidus_razorpay/razorpay_gateway.rb:1:in <main>' /home/wg/.rvm/gems/ruby-2.7.1/gems/solidus_razorpay-0.2.0/app/models/solidus_razorpay/razorpay_gateway.rb:2:in
Followed Guide for Solidus : https://guides.solidus.io/developers/getting-started/first-time-installation.html
I get the following error with this step "rails g solidus_razorpay:install"
OS : Ubuntu 20.10
Gemfile
source 'https://rubygems.org' git_source(:github) { |repo| "https://github.com/#{repo}.git" }
ruby '2.7.1' gem 'rails', '~> 6.1.4' gem 'sqlite3', '~> 1.4' gem 'puma', '~> 5.0' gem 'sass-rails', '>= 6' gem 'jbuilder', '~> 2.7' gem 'bootsnap', '>= 1.4.4', require: false
group :development, :test do end
group :development do gem 'web-console', '>= 4.1.0' gem 'rack-mini-profiler', '~> 2.0' gem 'listen', '~> 3.3' gem 'spring' end
group :test do gem 'capybara', '>= 3.26' gem 'selenium-webdriver' gem 'webdrivers' end
gem "solidus", "~> 3.0" gem 'solidus_auth_devise' gem 'solidus_auth_devise'
gem 'solidus_razorpay'
plr@ecomtest:~/test/sld3$ /var/lib/gems/2.7.0/gems/solidus_razorpay-0.1.0/app/models/spree/gateway/razorpay_gateway.rb:2:in'
from /var/lib/gems/2.7.0/gems/bootsnap-1.7.5/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:59:in '
from /var/lib/gems/2.7.0/gems/bootsnap-1.7.5/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:23:in '
<module:Spree>': superclass must be a Class (Module given) (TypeError) from /var/lib/gems/2.7.0/gems/solidus_razorpay-0.1.0/app/models/spree/gateway/razorpay_gateway.rb:1:in
load' from /var/lib/gems/2.7.0/gems/bootsnap-1.7.5/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:59:in
load' from /var/lib/gems/2.7.0/gems/activesupport-6.1.4/lib/active_support/dependencies.rb:523:inblock in load_file' from /var/lib/gems/2.7.0/gems/activesupport-6.1.4/lib/active_support/dependencies.rb:715:in
new_constants_in' from /var/lib/gems/2.7.0/gems/activesupport-6.1.4/lib/active_support/dependencies.rb:522:inload_file' from /var/lib/gems/2.7.0/gems/activesupport-6.1.4/lib/active_support/dependencies.rb:419:in
block in require_or_load' from /var/lib/gems/2.7.0/gems/activesupport-6.1.4/lib/active_support/dependencies.rb:39:inblock in load_interlock' from /var/lib/gems/2.7.0/gems/activesupport-6.1.4/lib/active_support/dependencies/interlock.rb:14:in
block in loading' from /var/lib/gems/2.7.0/gems/activesupport-6.1.4/lib/active_support/concurrency/share_lock.rb:151:inexclusive' from /var/lib/gems/2.7.0/gems/activesupport-6.1.4/lib/active_support/dependencies/interlock.rb:13:in
loading' from /var/lib/gems/2.7.0/gems/activesupport-6.1.4/lib/active_support/dependencies.rb:39:inload_interlock' from /var/lib/gems/2.7.0/gems/activesupport-6.1.4/lib/active_support/dependencies.rb:402:in
require_or_load' from /var/lib/gems/2.7.0/gems/activesupport-6.1.4/lib/active_support/dependencies.rb:558:inload_missing_constant' from /var/lib/gems/2.7.0/gems/activesupport-6.1.4/lib/active_support/dependencies.rb:213:in
const_missing' from /var/lib/gems/2.7.0/gems/solidus_razorpay-0.1.0/lib/solidus_razorpay/engine.rb:21:inblock in <class:Engine>' from /var/lib/gems/2.7.0/gems/railties-6.1.4/lib/rails/initializable.rb:32:in
instance_exec' from /var/lib/gems/2.7.0/gems/railties-6.1.4/lib/rails/initializable.rb:32:inrun' from /var/lib/gems/2.7.0/gems/railties-6.1.4/lib/rails/initializable.rb:61:in
block in run_initializers' from /usr/lib/ruby/2.7.0/tsort.rb:228:inblock in tsort_each' from /usr/lib/ruby/2.7.0/tsort.rb:350:in
block (2 levels) in each_strongly_connected_component' from /usr/lib/ruby/2.7.0/tsort.rb:431:ineach_strongly_connected_component_from' from /usr/lib/ruby/2.7.0/tsort.rb:349:in
block in each_strongly_connected_component' from /usr/lib/ruby/2.7.0/tsort.rb:347:ineach' from /usr/lib/ruby/2.7.0/tsort.rb:347:in
call' from /usr/lib/ruby/2.7.0/tsort.rb:347:ineach_strongly_connected_component' from /usr/lib/ruby/2.7.0/tsort.rb:226:in
tsort_each' from /usr/lib/ruby/2.7.0/tsort.rb:205:intsort_each' from /var/lib/gems/2.7.0/gems/railties-6.1.4/lib/rails/initializable.rb:60:in
run_initializers' from /var/lib/gems/2.7.0/gems/railties-6.1.4/lib/rails/application.rb:391:ininitialize!' from /home/plr/test/sld3/config/environment.rb:5:in
require' from /var/lib/gems/2.7.0/gems/bootsnap-1.7.5/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:23:in
block in require_with_bootsnap_lfi' from /var/lib/gems/2.7.0/gems/bootsnap-1.7.5/lib/bootsnap/load_path_cache/loaded_features_index.rb:92:inregister' from /var/lib/gems/2.7.0/gems/bootsnap-1.7.5/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:22:in
require_with_bootsnap_lfi' from /var/lib/gems/2.7.0/gems/bootsnap-1.7.5/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:31:inrequire' from /var/lib/gems/2.7.0/gems/polyglot-0.3.5/lib/polyglot.rb:65:in
require' from /var/lib/gems/2.7.0/gems/zeitwerk-2.4.2/lib/zeitwerk/kernel.rb:34:inrequire' from /var/lib/gems/2.7.0/gems/activesupport-6.1.4/lib/active_support/dependencies.rb:332:in
block in require' from /var/lib/gems/2.7.0/gems/activesupport-6.1.4/lib/active_support/dependencies.rb:299:inload_dependency' from /var/lib/gems/2.7.0/gems/activesupport-6.1.4/lib/active_support/dependencies.rb:332:in
require' from /var/lib/gems/2.7.0/gems/spring-2.1.1/lib/spring/application.rb:106:inpreload' from /var/lib/gems/2.7.0/gems/spring-2.1.1/lib/spring/application.rb:157:in
serve' from /var/lib/gems/2.7.0/gems/spring-2.1.1/lib/spring/application.rb:145:inblock in run' from /var/lib/gems/2.7.0/gems/spring-2.1.1/lib/spring/application.rb:139:in
loop' from /var/lib/gems/2.7.0/gems/spring-2.1.1/lib/spring/application.rb:139:inrun' from /var/lib/gems/2.7.0/gems/spring-2.1.1/lib/spring/application/boot.rb:19:in
<top (required)>' from /usr/lib/ruby/2.7.0/rubygems/core_ext/kernel_require.rb:72:inrequire' from /usr/lib/ruby/2.7.0/rubygems/core_ext/kernel_require.rb:72:in
require' from -e:1:in `plr@ecomtest:~/test/sld3$
Did I miss something ?