11

I have a file "Gemfile" in my Rails project root.

It says source :gemcutter in the very first line.

Do I still need the line? If I'm correct, http://rubygems.org/ is the official source, and Gem Cutter was merged into rubygems.org.

TK.
  • 27,073
  • 20
  • 64
  • 72

2 Answers2

9

You're correct. You don't need it any longer, and yes, it was merged.

Make sure you have an alternate source specified:

source 'https://rubygems.org'
Delameko
  • 2,544
  • 21
  • 19
  • 2
    I don't think this answer is correct. Here's what I get: Your Gemfile doesn't have any sources. You can add one with a line like 'source :gemcutter' – Andrew Vit Jun 14 '10 at 09:47
  • this answer is wrong. I just got a stack trace that went away as soon as I added `source :gemcutter`. Of course `source :rubygems` should work as well. – iconoclast Nov 05 '12 at 23:38
  • I'll expand the answer, I was making the assumption he already had the source rubygems line. – Delameko Nov 07 '12 at 08:18
8

You still need it. Instead of using :gemcutter, use :rubygems instead.

joshkim
  • 81
  • 1
  • 1