You probably have your library named differently than a gem. So check how is your library named and change argument for require
respectively.
Unable to load the gem
-
15-07-2023 - |
Vra
I created a gem with a name 'my_gem'. I use this in my Gemfile as like
gem 'my_gem' path: "/home/user/project" #git: "git@bitbucket.org:Teamlaunch/launch-service-app.git", branch: "master"
I am able to build the gem. I also can install this gem with "bundle install" command. But When I run this through rails console it can not identify the gem
$rails c
2.1.0 :007 > require 'my_gem'
LoadError: cannot load such file -- my_gem
Oplossing
Gelisensieer onder: CC-BY-SA met toeskrywing
Nie verbonde aan StackOverflow