Answer the question
In order to leave comments, you need to log in
Why does it say cannot load such file?
I create my gem according to the instructions described here: guides.rubygems.org/make-your-own-gem
everything is created perfectly, it works fine in irb, as soon as I try to use this gem in rails it writes
cannot load such file -- hola
require 'hola'
class TestsController < ApplicationController
def index
Hola.hi
end
end
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question