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
Hi. I wanted to try you script (Mac Big Sur, ruby 3.0 installed threw homebrew) but i get the following error:
<internal:/usr/local/Cellar/ruby/3.0.0_1/lib/ruby/3.0.0/rubygems/core_ext/kernel_require.rb>:85:in `require': cannot load such file -- active_support/core_ext (LoadError)
from <internal:/usr/local/Cellar/ruby/3.0.0_1/lib/ruby/3.0.0/rubygems/core_ext/kernel_require.rb>:85:in `require'
from swag_gen_factory/gen_network_code.rb:2:in `<main>'
Google did not help me, maybe you can. Thx
The text was updated successfully, but these errors were encountered:
Change first lines in the script to
require 'json' require 'active_support'
require 'active_support/core_ext'
You have to load 'active_support' before you can use require 'active_support/core_ext'
Further I noticed that you should generate the swagger file from the "swagger code gen". I used NSwag first and got an error: "gen_network_code.rb:337:in initialize': undefined method []' for nil:NilClass (NoMethodError)" which was raised by an "invalid" generated json file.
Hi. I wanted to try you script (Mac Big Sur, ruby 3.0 installed threw homebrew) but i get the following error:
Google did not help me, maybe you can. Thx
The text was updated successfully, but these errors were encountered: