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

前端 未结 20 916
别那么骄傲
别那么骄傲 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:28

    If you are on El Capitan (OS X 10.11), Security Integrity Protection (SIP) will prevent linking into /usr/lib to fix mysql. Link it into /usr/local/lib instead:

    sudo ln -s /usr/local/mysql/lib/libmysqlclient.18.dylib /usr/local/lib/libmysqlclient.18.dylib
    

提交回复
热议问题