juans-MacBook-Pro:~ juan$ sudo gem install rails Password:
Building native extensions. This could take a while... Successfully installed nokogiri-184.108.40.206 Fetching: loofah-2.0.3.gem (100%) Successfully installed loofah-2.0.3 Fetching: rails-html-sanitizer-1.0.2.gem (100%) Successfully installed rails-html-sanitizer-1.0.2 Fetching: rails-deprecated_sanitizer-1.0.3.gem (100%) Successfully installed rails-deprecated_sanitizer-1.0.3 Fetching: rails-dom-testing-1.0.7.gem (100%) Successfully installed rails-dom-testing-1.0.7 Fetching: actionview-4.2.5.gem (100%) Successfully installed actionview-4.2.5 Fetching: actionpack-4.2.5.gem (100%) Successfully installed actionpack-4.2.5 Fetching: sprockets-rails-3.0.0.gem (100%) Successfully installed sprockets-rails-3.0.0 Fetching: railties-4.2.5.gem (100%) railties's executable "rails" conflicts with /usr/bin/rails Overwrite the executable? [yN] ERROR: Error installing rails: "rails" from railties conflicts with /usr/bin/rails juans-MacBook-Pro:~ juan$
(I do not know What I am doing wrong)
Steve HunterTreehouse Moderator 57,652 Points
In your terminal, what do you get if you type
rails -v. That tells us what version you have installed already which seems to be causing a conflict.