I'm new to rails, and initially I'm just trying to get a simple app to
work. I've read the basics and got rails up and running, but I can't get
my app to find the required gem.
I'm attempting to use this gem: https://github.com/mislav/instagram, and
I've installed the gem (it appears when using list --local) but when
running the Example code in the docs, I get this error still:
No such file to load -- instagram
I created a new model called photo.rb and copied the Example code into
that, not sure if that's correct or not though.
I know this probably isn't enough info to provide help so I can provide
more detail as needed
I’ve installed the gem (it appears when using list --local)
When you installed the gem, did you install it with a sudo command or did you just run gem install instagram? The reason I’m asking it that it sounds like the gem is installed but not to a path that is being searched by ruby for gems. The gem may be installed in a local home folder location instead of where ruby is installed.