superiorlu / jsonapi-swagger

Create a JSONAPI Swagger.
MIT License
57 stars 29 forks source link

/usr/local/bundle/gems/i18n-1.8.9/lib/i18n.rb:196:in `translate': wrong number of arguments (given 2, expected 0..1) (ArgumentError) #12

Open Lifehack043 opened 3 years ago

Lifehack043 commented 3 years ago

Good time of day, this error jumps out after running 'bundle exec rails generate jsonapi: swagger User'. Rails version 6.1.3, Ruby 3.0.0 Снимок экрана от 2021-03-18 10-20-34

Lifehack043 commented 3 years ago

fix error in 18n.t(key, options)

Lifehack043 commented 3 years ago

https://stackoverflow.com/questions/65469682/argumenterror-after-updating-from-ruby-2-7-to-ruby-3-0