omarzina / substruct

Automatically exported from code.google.com/p/substruct
0 stars 0 forks source link

Can't See Images #160

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Downloading and Installing Substruct
2. Visiting the admin pages

What is the expected output? What do you see instead?
I expected to see styled pages with image. Instead i see a rough page, with 
unstyled text.

What version of the product are you using? On what operating system?
I'm using the latest version. On Windows Vista Home Premium, 32-bit.

Please provide any additional information below.
I'm using InstantRails.
I saw another issue similar to this, but I'm kind of new to rails and can't 
understand this.

Original issue reported on code.google.com by brettbj....@gmail.com on 18 Jan 2009 at 4:44

GoogleCodeExporter commented 8 years ago
see http://code.google.com/p/substruct/issues/detail?id=148
the way to get around it is to download the diff from there
then open it in notepad, examine it, it basically specifies that in 
lib/engines.rb
around line 10
change the line to be
+        base_target_dir = File.join(destination, 
File.dirname(source_files.first.gsub(source,'')))

good luck.
-=r

Original comment by rogerpack2005 on 19 Jan 2009 at 5:21

GoogleCodeExporter commented 8 years ago
Fixed earlier this evening. Closing.

Original comment by subim...@gmail.com on 25 Jan 2009 at 8:54

GoogleCodeExporter commented 8 years ago
Where do I place this file, I seem not able to find lib\engines.rb ?

Original comment by brettbj....@gmail.com on 26 Jan 2009 at 10:45

GoogleCodeExporter commented 8 years ago
Got it fixed! I couldn't figure this out! Thanks so much!

Original comment by brettbj....@gmail.com on 26 Jan 2009 at 11:04