-
Notifications
You must be signed in to change notification settings - Fork 21
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
uninitialized constant ActiveAdminRole::Dsl (NameError) #27
Comments
@melashu Did you find any solution to this? |
Oh, I'm sorry i didn't fix it yetOn Nov 7, 2023 12:18 PM, palash-kulkarni15 ***@***.***> wrote:
@melashu Did you find any solution to this?
—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you were mentioned.Message ID: ***@***.***>
|
@melashu I got the solution, This autoload issue is compatibility issue with Rails 7. And This issue has been fixed under - NOTE : This PR is merged in master branch but not yet released. So you can fork from the master branch and create your own repo and use it. Or else Add this line in your Gemfile, get the gem installed from its master branch. Like This has worked for me. Cheers! |
Thank you so much, I will check out this. On Nov 8, 2023 3:18 PM, palash-kulkarni15 ***@***.***> wrote:
@melashu I got the solution,
This autoload issue is compatibility issue with Rails 7. And This issue has been fixed under -
NOTE : This PR is merged in master branch but not yet released.
So you can fork from the master branch and create your own repo and use it.
Or else
Add this line in your Gemfile, get the gem installed from its master branch. Like
gem 'activeadmin', '>= 2.9.0', '< 3.0'
gem "active_admin_role", git: "https://github.com/activeadmin-plugins/active_admin_role.git", branch: "master"
This has worked for me. Cheers!
—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you were mentioned.Message ID: ***@***.***>
|
Hello, I need your kind support
I am working on rails 7.0.5, after I install this gem and when I run bin/rails generate active_admin_role: install I got the following error
C:/Ruby31-x64/lib/ruby/gems/3.1.0/gems/active_admin_role-0.2.2/lib/active_admin_role/engine.rb:8:in `block (2 levels) in class:Engine': uninitialized constant ActiveAdminRole::Dsl (NameError)
The text was updated successfully, but these errors were encountered: