bin/rails generate solidus:install --frontend=soli...
# support
c
bin/rails generate solidus:install --frontend=solidus_starter_frontend is stuck while running "" " break down solidus installing solidus_starter_frontend Warning: the running version of Bundler (2.1.4) is older than the version that created the lockfile (2.3.22). We suggest you to upgrade to the version that created the lockfile by running
gem install bundler:2.3.22
.""
Can anybody help what could be cause? Tried multiple time
e
Did you try already by upgrading bundler as suggested by the error?
c
Yes, Still stuck after that
rter_frontend, solidus_frontend, none] (solidus_starter_frontend) solidus_starter_frontend break down solidus Fetching gem metadata from https://rubygems.org/......... Resolving dependencies.... Removing gems from /home/ubuntu/ecom_app/Gemfile solidus (~> 3.2) was removed. installing solidus_starter_frontend
e
also
gem update --system
seems worth a try
c
After this,console gets lost as well until i kill process
that command also i ran after updating bundler
e
the solidus_starter_frontend app-template is fetched from
<https://github.com/solidusio/solidus_starter_frontend/raw/main/template.rb>
so a proxy or other network config could impact that
c
Is there anyway to debug that. or any alternate way to avoid this
?
Traceback (most recent call last): 36: from -e1in `<main>' 35: from /root/.rbenv/versions/2.7.1/lib/ruby/site_ruby/2.7.0/rubygems/core_ext/kernel_require.rb85in `require' 34: from /root/.rbenv/versions/2.7.1/lib/ruby/site_ruby/2.7.0/rubygems/core_ext/kernel_require.rb85in `require' 33: from /root/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/spring-2.1.1/lib/spring/application/boot.rb19in `<top (required)>' 32: from /root/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/spring-2.1.1/lib/spring/application.rb139in `run' 31: from /root/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/spring-2.1.1/lib/spring/application.rb139in `loop' 30: from /root/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/spring-2.1.1/lib/spring/application.rb145in `block in run' 29: from /root/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/spring-2.1.1/lib/spring/application.rb180in `serve' 28: from /root/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/spring-2.1.1/lib/spring/application.rb180in `fork' 27: from /root/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/spring-2.1.1/lib/spring/application.rb220in `block in serve' 26: from /root/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/spring-2.1.1/lib/spring/command_wrapper.rb38in `call' 25: from /root/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/spring-2.1.1/lib/spring/commands/rails.rb6in `call' 24: from /root/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/spring-2.1.1/lib/spring/commands/rails.rb6in `load' 23: from /home/ubuntu/ecom_app/bin/rails9in `<main>' 22: from /root/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/zeitwerk-2.6.1/lib/zeitwerk/kernel.rb35in `require' 21: from /root/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/bootsnap-1.13.0/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb32in `require' 20: from /root/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/bootsnap-1.13.0/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb32in `require' 19: from /root/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/railties-6.0.6/lib/rails/commands.rb18in `<main>' 18: from /root/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/railties-6.0.6/lib/rails/command.rb46in `invoke' 17: from /root/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/railties-6.0.6/lib/rails/command/base.rb69in `perform' 16: from /root/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/thor-1.2.1/lib/thor.rb392in `dispatch' 15: from /root/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/thor-1.2.1/lib/thor/invocation.rb127in `invoke_command' 14: from /root/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/thor-1.2.1/lib/thor/command.rb27in `run' 13: from /root/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/railties-6.0.6/lib/rails/commands/generate/generate_command.rb26in `perform' 12: from /root/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/railties-6.0.6/lib/rails/generators.rb276in `invoke' 11: from /root/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/thor-1.2.1/lib/thor/base.rb485in `start' 10: from /root/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/thor-1.2.1/lib/thor/group.rb232in `dispatch' 9: from /root/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/thor-1.2.1/lib/thor/invocation.rb134in `invoke_all' 8: from /root/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/thor-1.2.1/lib/thor/invocation.rb134in `map' 7: from /root/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/thor-1.2.1/lib/thor/invocation.rb134in `each' 6: from /root/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/thor-1.2.1/lib/thor/invocation.rb134in `block in invoke_all' 5: from /root/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/thor-1.2.1/lib/thor/invocation.rb127in `invoke_command' 4: from /root/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/thor-1.2.1/lib/thor/command.rb27in `run' 3: from /root/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/solidus_core-3.2.2/lib/generators/solidus/install/install_generator.rb179in `install_frontend' 2: from /root/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/solidus_core-3.2.2/lib/generators/solidus/install/install_generator/install_frontend.rb19in `call' 1: from /root/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/solidus_core-3.2.2/lib/generators/solidus/install/install_generator/install_frontend.rb45in `install_solidus_starter_frontend' /root/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/solidus_core-3.2.2/lib/generators/solidus/install/install_generator/install_frontend.rb45in ``': Interrupt bin/rails: [BUG] Segmentation fault at 0x0000000000000480
This Backtrace is coming
e
Looks like it’s dying on this line
Copy code
`LOCATION="<https://raw.githubusercontent.com/solidusio/solidus_starter_frontend/main/template.rb>" bin/rails app:template`
what happens if you ran that manually?
c
installing [solidus_starter_frontend] checking versions unsupported You are installing solidus_starter_frontend on an outdated Rails version. Please keep in mind that some features might not work with it. Do you wish to proceed?
this prompt came
after that it completes in less than 30 sec
e
yes that warning is there because you’re using Rails 6.0, would be advisable to upgrade first, either to 6.1 or 7.x
c
sure.. thanks @elia