** Create the plugin without test-unit and specify the path for the dummy application:
rails plugin new $project_name --skip-test-unit --dummy-path=spec/dummy --mountable
** Add rspec-rails as a development dependency to the gemspec file (foobar.gemspec):
Gem::Specification.new do |s|