update path /gallery.rb plugin