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