From the main menu:
Tools > RubyGems
From there you should be able to manage gems for the any Ruby installation NetBeans knows about.
For plugins, right click on any existing Rails app and select "Rails Plugins" to manage plugins for the app.
In both cases, I personally find the command line tools to be just as quick and easy as the IDE (probably moreso) but choose what works best for you.