rails server bin/rails:6: warning: already initialized constant APP_PATH error

前端 未结 20 874
别那么骄傲
别那么骄傲 2020-11-30 22:42

I\'ve tried a number of things like uninstalling/reinstalling rails and gems but to no avail.

When I go into my new project and run rails s or bundle exec rails serv

20条回答
  •  不思量自难忘°
    2020-11-30 23:35

    For me this issue presented as a result of bundle upgrading rvm-capistrano amongst other things.
    Adding this require:false fixed things in the end as per this previous post

    gem  'rvm-capistrano',  require: false
    

    Although could possibly be an additional issue - as running rake rails:update:bin may have helped clear the initial issue.

提交回复
热议问题