refinery / refinerycms-page-images

Adds an images tab to your pages so you can format a group of images really nicely on the frontend
104 stars 120 forks source link

Post-install issue on 0.9.9 #5

Closed jonjenkins closed 13 years ago

jonjenkins commented 13 years ago

I got the install to work all the way through db:migrate. Once I go to edit any page in the app, I now get this. Any ideas?

ActionView::MissingTemplate in Admin/pages#new

Showing /home/jon/.rvm/gems/ruby-1.9.2-p0@refinery/gems/refinerycms-page-images-1.0/app/views/admin/pages/tabs/_images.html.erb where line #2 raised:

Missing partial admin/pages/images_bar with {:handlers=>[:erb, :rjs, :builder, :rhtml, :rxml], :formats=>[:html], :locale=>[:en, :en]} in view paths "/home/jon/Projects/waipio/app/views", "/home/jon/.rvm/gems/ruby-1.9.2-p0@refinery/gems/refinerycms-i18n-0.9.9.7/app/views", "/home/jon/.rvm/gems/ruby-1.9.2-p0@refinery/gems/refinerycms-generators-0.9.9.1/app/views", "/home/jon/.rvm/gems/ruby-1.9.2-p0@refinery/gems/refinerycms-0.9.9/resources/app/views", "/home/jon/.rvm/gems/ruby-1.9.2-p0@refinery/gems/refinerycms-0.9.9/dashboard/app/views", "/home/jon/.rvm/gems/ruby-1.9.2-p0@refinery/gems/refinerycms-0.9.9/core/app/views", "/home/jon/.rvm/gems/ruby-1.9.2-p0@refinery/gems/devise-1.1.5/app/views", "/home/jon/.rvm/gems/ruby-1.9.2-p0@refinery/gems/refinerycms-0.9.9/authentication/app/views", "/home/jon/.rvm/gems/ruby-1.9.2-p0@refinery/gems/refinerycms-0.9.9/images/app/views", "/home/jon/.rvm/gems/ruby-1.9.2-p0@refinery/gems/refinerycms-0.9.9/settings/app/views", "/home/jon/.rvm/gems/ruby-1.9.2-p0@refinery/gems/refinerycms-0.9.9/base/app/views", "/home/jon/.rvm/gems/ruby-1.9.2-p0@refinery/gems/refinerycms-0.9.9/pages/app/views", "/home/jon/.rvm/gems/ruby-1.9.2-p0@refinery/gems/refinerycms-page-images-1.0/app/views" Extracted source (around line #2):

1:

2: <%= render :partial => 'images_bar' %> 3: <%= render :partial => 'images_field' %> 4:
5: Trace of template inclusion: /home/jon/.rvm/gems/ruby-1.9.2-p0@refinery/gems/refinerycms-0.9.9/pages/app/views/admin/pages/_form_page_parts.html.erb, /home/jon/.rvm/gems/ruby-1.9.2-p0@refinery/gems/refinerycms-0.9.9/pages/app/views/admin/pages/_form.html.erb, /home/jon/.rvm/gems/ruby-1.9.2-p0@refinery/gems/refinerycms-0.9.9/pages/app/views/admin/pages/new.html.erb

Rails.root: /home/jon/Projects/waipio

parndt commented 13 years ago

Are you using git source or the official gem releases?

If git source, try bundle update refinerycms-page-images and restart your webserver.

jonjenkins commented 13 years ago

Well, I couldn't get the gem to install using the Gemfile reference and 'bundle install' alone, so I cloned this https://github.com/resolve/refinerycms-page-images.git and did 'gem build' using the .gemspec ... sounds like I need to use a different source?

Lastly, if there is a way to get the Gemfile 'gem' reference to be aware of the correct source (something like a :git or :source parameter), can you share that? I've done it before for local gems but never a remote gem for which the gem installer couldn't just find it... thanks for the help if so.