Reputation: 15
I'm trying to build a test site using the Sinatra gem but it seems like I can't find the gem when running the server, even though I can find the version through the terminal.
`require': cannot load such file -- sinatra (LoadError)
I've tried reinstalling all gems, etc but with no success. Advice?
Running: OS X 10.11
Upvotes: 1
Views: 104
Reputation: 1433
Looks like you need to add gem 'sinatra', '~> 1.4.6'
to your Gemfile and run bundle install
.
Upvotes: 1