On 15 March 2016 at 09:52, Nilesh <[email protected]> wrote:
> $ bundle exec rails -v
>
> Rails 3.1.3

Did you realise that was superseded in Feb 2012 and there have been
critical security fixes since then?  That version is not suitable for
use.  If this is a new app then start again with Rails version 4, if
an existing one then at least upgrade to the latest 3.1 immediately,
and then migrate to 4 when you can.

>
>
> $ ruby -v
>
> ruby 1.9.3p448 (2013-06-27 revision 41675) [x86_64-darwin14.4.0]
>
>
> Gem versions:
>
> mongoid: 3.0.15
> paperclip: 2.3.11

That is an even earlier version dating from early 2011.  Stop wasting
time trying to make it work and upgrade to latest rails and gems.

> mongoid-paperclip: 0.0.8
>
>
>
>
>
> On Tuesday, March 15, 2016 at 3:00:27 PM UTC+5:30, Colin Law wrote:
>>
>> On 15 March 2016 at 09:22, Nilesh <[email protected]> wrote:
>> > Hi Colin,
>> >
>> > Yes, there is still a problem with ruby gem versions I am using. Using
>> > above
>> > resize :styles code, produced SVG images are invalid xml, and do not
>> > open in
>> > browser. So I want to upload as it is.
>>
>> Which version are you using?
>>
>> Colin
>>
>> >
>> > Thanks.
>> >
>> > On Tuesday, March 15, 2016 at 2:08:28 PM UTC+5:30, Colin Law wrote:
>> >>
>> >> On 15 March 2016 at 08:28, Nilesh <[email protected]> wrote:
>> >> > Currently I am working on a ROR code which uses rails paperclip gem.
>> >> >
>> >> >
>> >> > My requirement is, to process images as per its file extension.
>> >> >
>> >> >
>> >> > Case 1: If image type is “svg”, then do not process original image(as
>> >> > ImageMagick breaks on resizing svg images).
>> >>
>> >> Are you sure there is still a problem resizing svg? I thought that was
>> >> fixed some time ago, though I have not done it myself.
>> >>
>> >> Colin
>> >
>> > --
>> > You received this message because you are subscribed to the Google
>> > Groups
>> > "Ruby on Rails: Talk" group.
>> > To unsubscribe from this group and stop receiving emails from it, send
>> > an
>> > email to [email protected].
>> > To post to this group, send email to [email protected].
>> > To view this discussion on the web visit
>> >
>> > https://groups.google.com/d/msgid/rubyonrails-talk/4ea9a2c5-585d-493f-9345-53dd9b372479%40googlegroups.com.
>> >
>> > For more options, visit https://groups.google.com/d/optout.
>
> --
> You received this message because you are subscribed to the Google Groups
> "Ruby on Rails: Talk" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> To post to this group, send email to [email protected].
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/rubyonrails-talk/34c134c8-22e7-4a9b-a02a-00154d032b4d%40googlegroups.com.
>
> For more options, visit https://groups.google.com/d/optout.

-- 
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/rubyonrails-talk/CAL%3D0gLvtTecZ0KutsijQ6sf0_YXOmKSio73QQVJ4VFnB-ydX5A%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to