I built my ruby 2.5.8 environment and project in the same directory on Ubuntu 20.04.06 LTS.
I have deployed the ruby environment successfully in a specific folder for my project. I try and i see it work very well.
Now i want to change the directory of my project or develope my project on another computer. I get have a problem.
ruby: error while loading shared libraries: libruby.so.2.5: cannot open shared object file
I built ruby 2.5.8 environment in the directory: myproject/vendor
When i change the directory of my project or change another computer, I see the file libruby.so.2.5 still exists in: myproject/vendor/lib
I try to set PATH for ruby but it is not work
How can i solve it?
Tân Cao is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.