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

Introduction to Twitter's API Forum

View Course » View Exercise

1442 points
Submitted by
about 5 years ago

what is a dependency?

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

4 votes


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
Submitted by
Ben Bull
about 5 years ago

1 vote


I agree. I'm so confused...

816 points
Submitted by
about 5 years ago

0 votes


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
Submitted by
over 4 years ago