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

Conflict with active_admin_role gem #224

Open
harisbilal1 opened this issue Feb 8, 2023 · 0 comments
Open

Conflict with active_admin_role gem #224

harisbilal1 opened this issue Feb 8, 2023 · 0 comments

Comments

@harisbilal1
Copy link

harisbilal1 commented Feb 8, 2023

I Get
Uncaught exception: uninitialized constant ActiveAdminRole::Dsl

    extend ActiveAdminRole::Dsl

when i add active_admin_role gem in the gemfile.

This is my gemfile :

source 'https://rubygems.org'
git_source(:github) { |repo| "https://github.com/#{repo}.git" }

ruby '3.1.0'

Bundle edge Rails instead: gem "rails", github: "rails/rails", branch: "main"
gem 'rails', '~> 7.0.4'

The original asset pipeline for Rails [https://github.com/rails/sprockets-rails]
gem 'sprockets-rails'

Use sqlite3 as the database for Active Record
gem "sqlite3", "~> 1.4"

Use the Puma web server [https://github.com/puma/puma]
gem 'puma', '~> 3.12.6'

Use JavaScript with ESM import maps [https://github.com/rails/importmap-rails]
gem 'importmap-rails'

Hotwire's SPA-like page accelerator [https://turbo.hotwired.dev]

gem 'turbo-rails'

Hotwire's modest JavaScript framework [https://stimulus.hotwired.dev]
gem 'stimulus-rails'

Build JSON APIs with ease [https://github.com/rails/jbuilder]
gem 'jbuilder'

Use Redis adapter to run Action Cable in production
gem 'redis', '~> 4.0'

Use Kredis to get higher-level data types in Redis [https://github.com/rails/kredis]
gem 'pg'
Use Active Model has_secure_password [https://guides.rubyonrails.org/active_model_basics.html#securepassword]
gem 'activeadmin'
gem 'acts_as_votable'
gem 'arctic_admin'
gem 'cancancan'
gem 'carrierwave', '>= 3.0.0.beta', '< 4.0'
gem 'carrierwave-video'
gem 'carrierwave-video-thumbnailer'
gem 'devise'
gem 'devise_token_auth'
gem 'draper'
gem 'figaro'
gem 'pundit'
gem 'rack-cors', require: 'rack/cors'
gem 'sentry-rails'
gem 'sentry-ruby'

gem 'active_admin_role'
Windows does not include zoneinfo files, so bundle the tzinfo-data gem
gem 'tzinfo-data', platforms: %i[mingw mswin x64_mingw jruby]

Reduces boot times through caching; required in config/boot.rb
gem 'bootsnap', require: false

Use Sass to process CSS
gem 'sassc-rails'

Use Active Storage variants [https://guides.rubyonrails.org/active_storage_overview.html#transforming-images]
gem "image_processing", "~> 1.2"

group :development, :test do
See https://guides.rubyonrails.org/debugging_rails_applications.html#debugging-with-the-debug-gem
gem 'debug', platforms: %i[mri mingw x64_mingw]
end

group :development do
gem 'rubocop-rails', require: false

Use console on exceptions pages [https://github.com/rails/web-console]
gem "capistrano", "> 3.10", require: false
gem 'capistrano3-puma', require: false
gem 'capistrano-bundler', require: false
gem 'capistrano-faster-assets', '
> 1.0'
gem 'capistrano-hostmenu', require: false
gem "capistrano-rails", "> 1.6", require: false
gem "capistrano-rvm"
gem 'capistrano-secrets-yml', '
> 1.1.0'
gem 'capistrano-ssh-doctor', git: 'https://github.com/capistrano-plugins/capistrano-ssh-doctor.git'
gem "web-console"
Add speed badges [https://github.com/MiniProfiler/rack-mini-profiler]
end

group :test do
end

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

No branches or pull requests

1 participant