You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
On my Rails project, following Surveyor documentation, after adding and installing the gem (bundle add surveyor), the installation task won't work. This is the output:
$ ./bin/rails generate surveyor:install
/home/ifgarces/.rbenv/versions/3.2.0/lib/ruby/gems/3.2.0/gems/surveyor-0.20.0/lib/formtastic/surveyor_builder.rb:3:in `<module:Formtastic>': uninitialized constant Formtastic::SemanticFormBuilder (NameError) class SurveyorBuilder < SemanticFormBuilder ^^^^^^^^^^^^^^^^^^^ from /home/ifgarces/.rbenv/versions/3.2.0/lib/ruby/gems/3.2.0/gems/surveyor-0.20.0/lib/formtastic/surveyor_builder.rb:2:in `<main>' from <internal:/home/ifgarces/.rbenv/versions/3.2.0/lib/ruby/site_ruby/3.2.0/rubygems/core_ext/kernel_require.rb>:37:in `require' from <internal:/home/ifgarces/.rbenv/versions/3.2.0/lib/ruby/site_ruby/3.2.0/rubygems/core_ext/kernel_require.rb>:37:in `require'
from /home/ifgarces/.rbenv/versions/3.2.0/lib/ruby/gems/3.2.0/gems/bootsnap-1.18.3/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:30:in `require' from /home/ifgarces/.rbenv/versions/3.2.0/lib/ruby/gems/3.2.0/gems/zeitwerk-2.6.12/lib/zeitwerk/kernel.rb:38:in `require' from /home/ifgarces/.rbenv/versions/3.2.0/lib/ruby/gems/3.2.0/gems/surveyor-0.20.0/lib/surveyor.rb:3:in `<main>' from /home/ifgarces/.rbenv/versions/3.2.0/lib/ruby/gems/3.2.0/gems/zeitwerk-2.6.12/lib/zeitwerk/kernel.rb:38:in `require'
from /home/ifgarces/.rbenv/versions/3.2.0/lib/ruby/gems/3.2.0/gems/zeitwerk-2.6.12/lib/zeitwerk/kernel.rb:38:in `require' from /home/ifgarces/.rbenv/versions/3.2.0/lib/ruby/gems/3.2.0/gems/bundler-2.5.4/lib/bundler/runtime.rb:60:in `block (2 levels) in require' from /home/ifgarces/.rbenv/versions/3.2.0/lib/ruby/gems/3.2.0/gems/bundler-2.5.4/lib/bundler/runtime.rb:55:in `each' from /home/ifgarces/.rbenv/versions/3.2.0/lib/ruby/gems/3.2.0/gems/bundler-2.5.4/lib/bundler/runtime.rb:55:in `block in require'
from /home/ifgarces/.rbenv/versions/3.2.0/lib/ruby/gems/3.2.0/gems/bundler-2.5.4/lib/bundler/runtime.rb:44:in `each' from /home/ifgarces/.rbenv/versions/3.2.0/lib/ruby/gems/3.2.0/gems/bundler-2.5.4/lib/bundler/runtime.rb:44:in `require' from /home/ifgarces/.rbenv/versions/3.2.0/lib/ruby/gems/3.2.0/gems/bundler-2.5.4/lib/bundler.rb:187:in `require' from /home/ifgarces/code/zoon/zoon-b2e-backend/src/config/application.rb:11:in `<main>'
from <internal:/home/ifgarces/.rbenv/versions/3.2.0/lib/ruby/site_ruby/3.2.0/rubygems/core_ext/kernel_require.rb>:37:in `require' from <internal:/home/ifgarces/.rbenv/versions/3.2.0/lib/ruby/site_ruby/3.2.0/rubygems/core_ext/kernel_require.rb>:37:in `require' from /home/ifgarces/.rbenv/versions/3.2.0/lib/ruby/gems/3.2.0/gems/bootsnap-1.18.3/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:30:in `require' from /home/ifgarces/.rbenv/versions/3.2.0/lib/ruby/gems/3.2.0/gems/railties-7.0.8/lib/rails/command/actions.rb:22:in `require_application!'
from /home/ifgarces/.rbenv/versions/3.2.0/lib/ruby/gems/3.2.0/gems/railties-7.0.8/lib/rails/command/actions.rb:14:in `require_application_and_environment!' from /home/ifgarces/.rbenv/versions/3.2.0/lib/ruby/gems/3.2.0/gems/railties-7.0.8/lib/rails/commands/generate/generate_command.rb:21:in `perform' from /home/ifgarces/.rbenv/versions/3.2.0/lib/ruby/gems/3.2.0/gems/thor-1.3.0/lib/thor/command.rb:28:in `run' from /home/ifgarces/.rbenv/versions/3.2.0/lib/ruby/gems/3.2.0/gems/thor-1.3.0/lib/thor/invocation.rb:127:in `invoke_command'
from /home/ifgarces/.rbenv/versions/3.2.0/lib/ruby/gems/3.2.0/gems/thor-1.3.0/lib/thor.rb:527:in `dispatch' from /home/ifgarces/.rbenv/versions/3.2.0/lib/ruby/gems/3.2.0/gems/railties-7.0.8/lib/rails/command/base.rb:87:in `perform' from /home/ifgarces/.rbenv/versions/3.2.0/lib/ruby/gems/3.2.0/gems/railties-7.0.8/lib/rails/command.rb:48:in `invoke' from /home/ifgarces/.rbenv/versions/3.2.0/lib/ruby/gems/3.2.0/gems/railties-7.0.8/lib/rails/commands.rb:18:in `<main>'
from <internal:/home/ifgarces/.rbenv/versions/3.2.0/lib/ruby/site_ruby/3.2.0/rubygems/core_ext/kernel_require.rb>:37:in `require' from <internal:/home/ifgarces/.rbenv/versions/3.2.0/lib/ruby/site_ruby/3.2.0/rubygems/core_ext/kernel_require.rb>:37:in `require' from /home/ifgarces/.rbenv/versions/3.2.0/lib/ruby/gems/3.2.0/gems/bootsnap-1.18.3/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:30:in `require' from ./bin/rails:4:in `<main>'
On my Rails project, following Surveyor documentation, after adding and installing the gem (
bundle add surveyor
), the installation task won't work. This is the output:Here are details on my Ruby version and OS:
The text was updated successfully, but these errors were encountered: