This forum is now read-only. Please use our new forums at discuss.codecademy.com.

Introduction to Twitter's API Forum

View Course » View Exercise

1442 points
Ada24db96304f7da4cb9fa55e088dc4a?s=140&d=retro
Submitted by
coe8888
about 4 years ago

what is a dependency?

I hate to say this but I think this section really needs to be explained better


4 votes

permalink

A dependency is something you need to include in order to get your code to run, in this case you need to add the 'json' dependency (or gem as its usually known). To do this you have to put this towards the top of your code;

require 'json'

Put it below the two require statements that are already there and you should be able to carry on with this exercise.

Regarding difficulty, have you already completed the Ruby tutorials before trying this?

557 points
Picture
Submitted by
Ben Bull
about 4 years ago


1 vote

permalink

I agree. I'm so confused...

816 points
840468f0e2b0cc1cd475caeca808f495?s=140&d=retro
Submitted by
Esther
about 4 years ago


0 votes

permalink

I completed the Ruby tutorial before trying this but I let 20 days go by in between. Was doing all right til I hit this lesson. A little too much too fast I think. Needs a few more steps in between. Found Ben's advise above to be helpful and others Chloe88 I think on different post about same lesson.

548 points
51fbe15e548c35a6d600420a_981908165
Submitted by
Bent0
almost 4 years ago