Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我安装了 postgres,但是当我尝试在 rails 项目中转储我的数据库模式(sql)时,我不断在控制台中收到此错误消息pg_dump not found in rails。任何人都可以帮助解决这个问题吗?
你可以这样想办法:
find / -name pg_dump dirname ${OUTPUT_FROM_ABOVE_COMMAND} PATH=${PATH}:/path/to/dir/from/above/dirname/call; export PATH
你应该很高兴。