To update an app I routinely run:
bundle exec rails g db
bundle exec rake db:migrate
Today I am getting the following error when I run bundle exec rails g db.
<top (required)>': undefined method configure’ for Authentication:Module (NoMethodError)
Does anyone know how I should troubleshoot this error. I have already run git pull, bundle install and bundle update on the gems directories. Also, I have re-run bundle install and bundle update and then bundle exec rails g db on this app a few times with the same result.
Stuck in rails g db
What are you expecting rails g db to do?
Maybe you’re looking for:
bundle exec rake db:create
No I usually use bundle exec rails g db with no problems.
Can you post a private gist of your Gemfile and config/application.rb?
Not sure i can post this kind of info. How about if I share my screen via Skype? My skype id is kimkhan111.
Well our repos are private so i am not sure if I can post to gist. I will have to ask first.
Ok the solution was rather complex. It involved configuring some .pow files and the bash_profile files.
Also, had to upload an gemfile into my home directory and reference it in the bash_profile file.
I appreciate the support!!