mattcoker mattcoker - 5 months ago 24
Ruby Question

Ruby on Rails Install Fails

I am trying to get set up using rbenv and ruby on rails. Everything has been working fine (been working through Lynda.com Ruby on Rails Essential Training) until it came time to actually install the rails gem. It fails in the sam way every time. Can someone tell me what I need to do to continue with Rails?

I've used rbenv and have been set up with Ruby 2.1.1.

Provided Terminal Screenshot


Edit: I am calling sudo because when I try to install without sudo it provides the following (folder permissions provided for context)
enter image description here

Answer

I never actually set the local ruby version with rbenv local 2.1.1. Everything worked like a charm after that.