Did you put your plugin in a github repo?
You can’t just stick a plugin.rb
in /lib
it has to be in plugins, and in production, you need to add it via github as described in Install plugins on a self-hosted site
Yes. If it’s not there, it’s not there.
You really want to read all of those plugin topics. You also want to do your testing in a development environment.