Ruby: sinatra can not be found

ruby

#1

Hi all,

can any one shed some light on this issue? Playing around with ruby I am getting the following error, even when I am just trying to run a simple hello world. I always get the following error message (also compare the attached Screen shot)

$ ruby hello.rb -p $PORT -o $IP
/usr/local/rvm/rubies/ruby-2.3.0/lib/ruby/2.3.0/rubygems/core_ext/kernel_require.rb:55:in require': cannot load such file -- sinatra (LoadError) from /usr/local/rvm/rubies/ruby-2.3.0/lib/ruby/2.3.0/rubygems/core_ext/kernel_require.rb:55:inrequire’
from hello.rb:1:in `’

Can any one help me?
Many Thanks
Jan


#2

Already solved, skip that. The gem wasn’t installed.
Cheers
Jan