Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Rails 6.1 support #56

Open
masonlouchart opened this issue Apr 7, 2023 · 0 comments · Fixed by NEWROPE/typescript-rails#1
Open

Rails 6.1 support #56

masonlouchart opened this issue Apr 7, 2023 · 0 comments · Fixed by NEWROPE/typescript-rails#1

Comments

@masonlouchart
Copy link

The last version 0.6.2.4 does not look compatible with Rails 6.1.0 released more than 2 years ago.

TypeError:
  module attributes should be defined directly on class, not singleton
# /Users/mason/.rvm/gems/ruby-3.2.1/gems/activesupport-6.1.0/lib/active_support/core_ext/module/attribute_accessors.rb:52:in `mattr_reader'
# /Users/mason/.rvm/gems/ruby-3.2.1/gems/activesupport-6.1.0/lib/active_support/core_ext/module/attribute_accessors.rb:202:in `mattr_accessor'
# /Users/mason/.rvm/gems/ruby-3.2.1/gems/typescript-rails-0.6.2.4/lib/typescript/rails/compiler.rb:7:in `singleton class'
# /Users/mason/.rvm/gems/ruby-3.2.1/gems/typescript-rails-0.6.2.4/lib/typescript/rails/compiler.rb:5:in `<module:Compiler>'
# /Users/mason/.rvm/gems/ruby-3.2.1/gems/typescript-rails-0.6.2.4/lib/typescript/rails/compiler.rb:4:in `<top (required)>'

It would be nice to have it 🙂

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant