我在服务器上安装了Redmine。当我运行时:
bundle install --without development test
我看到一个错误,因为我没有PostgreSQL(我也没有使用它)。我想用参数运行bundler——没有pg,但我看到了这个错误:
root@localhost:/home/work/dev.redmine# bundle install --without-pg development test
Unknown switches '--without-pg'
Bundler版本为Bundler 1.1.5版本
如何解决此问题?
我认为您的命令是错误的。你只需要删除字符之间没有和pg
bundle install --without pg development test
问候
Paul