I have installed Ruby successfully, RVM, rbenv, homebrew, git, and i've tried to install Rails in so many ways (hopefully i didn't mess anything up) but every time i try to do:
gem install rails
I get the following:
/usr/local/rvm/rubies/ruby-1.9.3-p484/lib/ruby/1.9.1/rubygems/config_file.rb:253:in `read': Is a directory - /Users/MARS/.gemrc (Errno::EISDIR)
from /usr/local/rvm/rubies/ruby-1.9.3-p484/lib/ruby/1.9.1/rubygems/config_file.rb:253:in `load_file'
from /usr/local/rvm/rubies/ruby-1.9.3-p484/lib/ruby/1.9.1/rubygems/config_file.rb:191:in `initialize'
from /usr/local/rvm/rubies/ruby-1.9.3-p484/lib/ruby/1.9.1/rubygems/gem_runner.rb:78:in `new'
from /usr/local/rvm/rubies/ruby-1.9.3-p484/lib/ruby/1.9.1/rubygems/gem_runner.rb:78:in `do_configuration'
from /usr/local/rvm/rubies/ruby-1.9.3-p484/lib/ruby/1.9.1/rubygems/gem_runner.rb:51:in `run'
from /usr/local/rvm/rubies/ruby-1.9.3-p484/bin/gem:21:in `<main>'
I don't understand what this means and i'm just not sure what else i need to do to get Rails. 4.0.0 installed.
Any help or advice would be greatly appreciated.