mercury icon indicating copy to clipboard operation
mercury copied to clipboard

ar_paperclip_image.rb.erb filename problem

Open chiengineer opened this issue 11 years ago • 4 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

--- Want to back this issue? **[Post a bounty on it!](https://www.bountysource.com/issues/1072031-ar_paperclip_image-rb-erb-filename-problem?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).

chiengineer avatar Nov 08 '13 13:11 chiengineer

I confirm the same problem and will try your fix

EntilZha avatar Nov 11 '13 01:11 EntilZha

Used your fix, it worked so far. Thanks @chiengineer !

louishouette avatar Nov 19 '13 17:11 louishouette

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

@pablosalgadom There is a file where your gem is installed called ar_paperclip_image.rb.erb For example, mine was

 /home/dev/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/bundler/gems/mercury-1cc637b0bcce/lib/generators/mercury/install/images/templates/ar_paperclip_image.rb

sivsushruth avatar Nov 06 '15 05:11 sivsushruth