'zsh: command not found: apt-get [closed]
To solve the following error Cucumber Rails 3.1 uninitialized constant ActionController::Dispatcher (NameError), I am following this post -> http://www.ruby-on-rails-outsourcing.com/articles/2011/01/07/getting-started-with-rvm-and-rails/ .
On running this command on my terminal,
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
I get this error: zsh: command not found: apt-get. Few posts suggested using Macports but I am not sure how to use that.
Solution 1:[1]
apt-get is a Linux package manager. On OS X you need to use something Mac specific like Macports or Homebrew. I recommend trying out Homebrew.
Solution 2:[2]
Install android-sdk using brew:
brew install --cask android-sdk
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|---|
| Solution 1 | |
| Solution 2 | Cody Gray |
