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.
是:
sudo rake install -- --with-mysql-dir=/usr/local/mysql/
一个有效的终端命令?我尝试运行它,但它似乎没有正确传递变量..
然而,这样的事情很好:
sudo gem install do_mysql -- --with-mysql-dir=/usr/local/mysql/
你想用那个 rake install 命令完成什么?rake 是一个脚本实用程序,它从下一个可用的“Rakefile”中提取它的任务,该文件在当前和所有先前的目录中被监视。如果你想让它工作,你需要一个处理参数的“安装”任务(存储在 Ruby 中的 ARGV-array 中)
是的,没关系, sudo 不是你的问题。