Now this is my first question here. I'm trying to install Ruby On Rails for the first time on my Macbook, following this guide: http://hivelogic.com/articles/compiling-ruby-rubygems-and-rails-on-snow-leopard/
I think, Ruby and RubyGems are set up correctly, but when I call the "sudo gem install rails"-command, the terminal sends back the following warnings and errors:
WARNING: Installing to ~/.gem since /usr/local/lib/ruby/gems/1.8 and /usr/local/bin aren't both writable.
WARNING: You don't have /Users/benjaminkowalski/.gem/ruby/1.8/bin in your PATH, gem executables will not run.
ERROR: Error installing rails: rdoc requires json (~> 1.4, runtime)
Since I'm no expert with the terminal - what should I do next? Google and Stackoverflow don't tell..