Ok, here goes how I did it.
If x is the length of the side of the triangle, the height is sqrt(3)*x/2. So, the area is now: 1/2*sqrt(3)*x/2*x=(sqrt(3)*x^2)/4.
All right, so now that the areas have to be equal, let y be the length of the side of a square. y^2=(sqrt(3)*x^2)/4, so the length of the side is: y=(3^(1/4)*x)/2
Ok, so now we have the perimeters. 3x for the triangle, and 4y or 4*(3^(1/4)*x)/2 or 2x*3^(1/4) for the square.
3x:2x*3^(1/4).
edit:
by plugging in numbers I got 1.139753528:1 , but I can't replicate that algebraically
If you put a number into mine and simplify, you will get 1:0.877383, and 1/0.877383=what you got.