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 配列に格納されている) 引数を処理する「インストール」タスクが必要です。
はい、問題ありません。sudo はここでは問題ではありません。