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

How to install it in a Rails app? #13

Open
MateoLa opened this issue Nov 20, 2024 · 0 comments
Open

How to install it in a Rails app? #13

MateoLa opened this issue Nov 20, 2024 · 0 comments

Comments

@MateoLa
Copy link

MateoLa commented Nov 20, 2024

Hello.

I coudn't find a way to run: scripts/generator preferences

I'm using Rails 7.2 and ruby 3.0.

I add and installed the gem to my Gemfile (gem 'preferences', '~>0.4').

I try:
rails generate preferences
rails script/generate preferences
rails runner script/generate preferences
rails runner --skip-wrapper script/generate preferences

and all those give me errors.
The only way I have found is monky-patching your migration.
Is there any solution I could try?
Thanks, Mateo.

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