You have already activated rack 1.3.2, but your Gemfile requires rack 1.2.3. Consider using bundle exec

旧时模样 提交于 2019-12-03 04:17:00

Run bundle install --binstubs and you'll get bin directory in your application root with all executables needed by app.

Then you need to add this dir to path and best place to do it - .rvmrc if you use RVM.

[ -d './bin' ] && export PATH=`pwd`/bin:$PATH

or just run ./bin/{rake|rails|etc} from your app root.

Try prefixing the command to run your server with bundle exec, i.e.

bundle exec rails server

Or in production (if you're using something like Unicorn

bundle exec unicorn [options]
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!