-
-
Notifications
You must be signed in to change notification settings - Fork 1.4k
Closed
Description
I am completely new to using this gem and I have totally forgotten to use rails. currently, I am getting this error when I am trying to use this line on cli.
$ bin/rails generate solidus:install
the gem is being installed on a completely fresh project. the error I am getting is this.
question Which frontend would you like to use?
- [starter] Generate all necessary controllers and views directly in your Rails app (default).
- [classic] Install `solidus_frontend`, was the default in previous solidus versions (deprecated).
- [none] Skip installing a frontend.
Selecting `starter` is recommended, however, some extensions are still only compatible with `classic`.
C:/Ruby31-x64/lib/ruby/gems/3.1.0/gems/reline-0.3.3/lib/reline/ansi.rb:235:in `winsize': Bad file descriptor - <STDIN> (Errno::EBADF)
from C:/Ruby31-x64/lib/ruby/gems/3.1.0/gems/reline-0.3.3/lib/reline/ansi.rb:235:in `get_screen_size'
from C:/Ruby31-x64/lib/ruby/gems/3.1.0/gems/reline-0.3.3/lib/reline/line_editor.rb:151:in `reset'
from C:/Ruby31-x64/lib/ruby/gems/3.1.0/gems/reline-0.3.3/lib/reline.rb:312:in `inner_readline'
from C:/Ruby31-x64/lib/ruby/gems/3.1.0/gems/reline-0.3.3/lib/reline.rb:287:in `readline'
from C:/Ruby31-x64/lib/ruby/3.1.0/forwardable.rb:238:in `readline'
from C:/Ruby31-x64/lib/ruby/gems/3.1.0/gems/thor-1.2.1/lib/thor/line_editor/readline.rb:20:in `readline'
from C:/Ruby31-x64/lib/ruby/gems/3.1.0/gems/thor-1.2.1/lib/thor/line_editor.rb:7:in `readline'
from C:/Ruby31-x64/lib/ruby/gems/3.1.0/gems/thor-1.2.1/lib/thor/shell/basic.rb:460:in `ask_simply'
from C:/Ruby31-x64/lib/ruby/gems/3.1.0/gems/thor-1.2.1/lib/thor/shell/basic.rb:85:in `ask'
from C:/Ruby31-x64/lib/ruby/gems/3.1.0/gems/thor-1.2.1/lib/thor/shell.rb:60:in `ask'
from C:/Ruby31-x64/lib/ruby/gems/3.1.0/gems/solidus_core-3.3.1/lib/generators/solidus/install/install_generator.rb:220:in `block in ask_with_description'
from C:/Ruby31-x64/lib/ruby/gems/3.1.0/gems/solidus_core-3.3.1/lib/generators/solidus/install/install_generator.rb:218:in `loop'
from C:/Ruby31-x64/lib/ruby/gems/3.1.0/gems/solidus_core-3.3.1/lib/generators/solidus/install/install_generator.rb:218:in `ask_with_description'
from C:/Ruby31-x64/lib/ruby/gems/3.1.0/gems/solidus_core-3.3.1/lib/generators/solidus/install/install_generator.rb:269:in `detect_frontend_to_install'
from C:/Ruby31-x64/lib/ruby/gems/3.1.0/gems/solidus_core-3.3.1/lib/generators/solidus/install/install_generator.rb:68:in `prepare_options'
from C:/Ruby31-x64/lib/ruby/gems/3.1.0/gems/thor-1.2.1/lib/thor/command.rb:27:in `run'
from C:/Ruby31-x64/lib/ruby/gems/3.1.0/gems/thor-1.2.1/lib/thor/invocation.rb:127:in `invoke_command'
from C:/Ruby31-x64/lib/ruby/gems/3.1.0/gems/thor-1.2.1/lib/thor/invocation.rb:134:in `block in invoke_all'
from C:/Ruby31-x64/lib/ruby/gems/3.1.0/gems/thor-1.2.1/lib/thor/invocation.rb:134:in `each'
from C:/Ruby31-x64/lib/ruby/gems/3.1.0/gems/thor-1.2.1/lib/thor/invocation.rb:134:in `map'
from C:/Ruby31-x64/lib/ruby/gems/3.1.0/gems/thor-1.2.1/lib/thor/invocation.rb:134:in `invoke_all'
from C:/Ruby31-x64/lib/ruby/gems/3.1.0/gems/thor-1.2.1/lib/thor/group.rb:232:in `dispatch'
from C:/Ruby31-x64/lib/ruby/gems/3.1.0/gems/thor-1.2.1/lib/thor/base.rb:485:in `start'
from C:/Ruby31-x64/lib/ruby/gems/3.1.0/gems/railties-7.0.4.3/lib/rails/generators.rb:263:in `invoke'
from C:/Ruby31-x64/lib/ruby/gems/3.1.0/gems/railties-7.0.4.3/lib/rails/commands/generate/generate_command.rb:26:in `perform'
from C:/Ruby31-x64/lib/ruby/gems/3.1.0/gems/thor-1.2.1/lib/thor/command.rb:27:in `run'
from C:/Ruby31-x64/lib/ruby/gems/3.1.0/gems/thor-1.2.1/lib/thor/invocation.rb:127:in `invoke_command'
from C:/Ruby31-x64/lib/ruby/gems/3.1.0/gems/thor-1.2.1/lib/thor.rb:392:in `dispatch'
from C:/Ruby31-x64/lib/ruby/gems/3.1.0/gems/railties-7.0.4.3/lib/rails/command/base.rb:87:in `perform'
from C:/Ruby31-x64/lib/ruby/gems/3.1.0/gems/railties-7.0.4.3/lib/rails/command.rb:48:in `invoke'
from C:/Ruby31-x64/lib/ruby/gems/3.1.0/gems/railties-7.0.4.3/lib/rails/commands.rb:18:in `<main>'
from C:/Ruby31-x64/lib/ruby/gems/3.1.0/gems/bootsnap-1.16.0/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:32:in `require'
from C:/Ruby31-x64/lib/ruby/gems/3.1.0/gems/bootsnap-1.16.0/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:32:in `require'
from bin/rails:4:in `<main>'
Metadata
Metadata
Assignees
Labels
No labels