为了解决以下错误Cucumber Rails 3.1 uninitialized constant ActionController::Dispatcher (NameError),我正在关注这篇文章-> http://www.ruby-on-rails-outsourcing.com/articles/2011/01/07/getting -started-with-rvm-and-rails/。
在我的终端上运行此命令时,
sudo apt-get install build-essential bison openssl libreadline6 libreadline6-dev curl git-core zlib1g zlib1g-dev libssl-dev libyaml-dev libsqlite3-0 libsqlite3-dev sqlite3 libxml2-dev libxslt-dev autoconf libc6-dev
我得到这个错误:zsh: command not found: apt-get
。很少有帖子建议使用 Macports,但我不知道如何使用它。