Error When creating custom plugin

To double check, are you adding a plugins.rb or plugin.rb file? It should be plugin.rb without the s.