mercury icon indicating copy to clipboard operation
mercury copied to clipboard

Error rails mercury:install:images

Open RamonGebben opened this issue 10 years ago • 5 comments

While installing from head the error:

Could not find "ar_paperclip_image.rb" in any of your source paths. Your current source paths are:
.../vendor/bundle/ruby/2.0.0/bundler/gems/mercury-5f178716a420/lib/generators/mercury/install/images/templates

The problem appears to be fixed when making a copy and dropping the .erb in ar_paperclip_image.rb.erb

Could someone please fix this?

--- Want to back this issue? **[Post a bounty on it!](https://www.bountysource.com/issues/2344740-error-rails-mercury-install-images?utm_campaign=plugin&utm_content=tracker%2F134071&utm_medium=issues&utm_source=github)** We accept bounties via [Bountysource](https://www.bountysource.com/?utm_campaign=plugin&utm_content=tracker%2F134071&utm_medium=issues&utm_source=github).

RamonGebben avatar May 26 '14 10:05 RamonGebben

i am having the same issue, what did you do to fix it? i don't understand where do i have to copy this file "ar_paperclip_image.rb.erb" i will appreciate any help.

pablosalgadom avatar Oct 20 '14 07:10 pablosalgadom

still getting this error...

sadafrasheed avatar Apr 28 '15 21:04 sadafrasheed

I gave up and build something into the project by myself. Sorry can't help.

RamonGebben avatar Apr 29 '15 07:04 RamonGebben

Somebody can help me I have the same issue and I want to find a fast solution?

Mardiniii avatar Aug 06 '15 22:08 Mardiniii

...there is a file called "ar_paperclip_image.rb**.erb**" in the given source path. renaming that file to "ar_paperclip_image**.rb**" leads to > Could not find "ar_paperclip_image.rb**.erb**". run cp ar_paperclip_image.rb.erb ar_paperclip_image.rb and you are good to go.

J-Zet avatar Jun 29 '16 18:06 J-Zet