ain't the  problem the . you're using in the path?
In Linux the . points to the root directory of he user, and not nescecarly
to the root of the tree you're in.

I could be mistaken though.

2009/8/29 Colin Law <[email protected]>

>
> 2009/8/29 Ritvvij <[email protected]>:
> >
> > Hello guys,
> >
> > We developed in windows and deployed on Linux server. Most of our
> > partials started behaving indecently.
> > Our coding <%= render :partial => './shared/footer' %>
> > Deployment works with <%= render :partial => '/shared/footer' %>
> >
> > We have images in folders public/images/flags and public/images/
> > twitter
> > which we used to access image_tag("./twitter/twitter.png"
> > Now in deployment image_tag("./twitter/twitter.png" of course does not
> > work but also image_tag("/twitter/twitter.png" doesnt work.
> >
> > Does any one know about this?
>
> If the images are in public/images/twitter them
> image_tag("twitter/twitter.png") should work.  If not have a look at
> the html source in the browser and see where it is pointing.
>
> Colin
>
> >
>


-- 
Arne De Herdt
Blog: http://risusmumblings.blogspot.com/

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Talk" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to