--Apple-Mail=_3F600B51-D47E-4AE6-BDA7-E349A441A033
Content-Type: multipart/alternative;
	boundary="Apple-Mail=_D1CB62D0-5F09-414C-BF36-9DDFD998802A"


--Apple-Mail=_D1CB62D0-5F09-414C-BF36-9DDFD998802A
Content-Transfer-Encoding: quoted-printable
Content-Type: text/plain;
	charset=windows-1252


On Jul 18, 2014, at 5:02 PM, Jiajia Wang <jjwang0506 / gmail.com> wrote:

> It's been solved.
> However I don't know why.
>=20
> The problem is assets.
> 'rake assets:precompile' fixed it.

In production ENV the assets (e.g. static assets) are served by the web =
server not by rack-servers. So you have to run =91rake =
assets:precompile=92 and configure the web-server to actually serve =
them.

>=20
> Thanks guys
>=20
>=20
> On Fri, Jul 18, 2014 at 9:31 PM, Jiajia Wang <jjwang0506 / gmail.com> =
wrote:
> AWS Redhat 6.5
> RDS mysql
> ruby 2.0.0
> rails 4.0.2
>=20
>=20
> On Fri, Jul 18, 2014 at 9:25 PM, Eric MSP Veith =
<eveith / wwweb-library.net> wrote:
> On Friday 18 July 2014, 16:50:08, Harisankar P S wrote:
> > Can you share your production log? Since it dies after the request =
is made
> > the answer should definitely be in that log file.
>=20
> Could you (i.e., the OP) please also share some details about the =
environment,
> like O/S, softwares in use, etc.?
>=20
>                         --- Eric
>=20
>=20


--Apple-Mail=_D1CB62D0-5F09-414C-BF36-9DDFD998802A
Content-Transfer-Encoding: quoted-printable
Content-Type: text/html;
	charset=windows-1252

<html><head><meta http-equiv=3D"Content-Type" content=3D"text/html =
charset=3Dwindows-1252"></head><body style=3D"word-wrap: break-word; =
-webkit-nbsp-mode: space; -webkit-line-break: =
after-white-space;"><br><div><div>On Jul 18, 2014, at 5:02 PM, Jiajia =
Wang &lt;<a =
href=3D"mailto:jjwang0506 / gmail.com">jjwang0506 / gmail.com</a>&gt; =
wrote:</div><br class=3D"Apple-interchange-newline"><blockquote =
type=3D"cite"><div dir=3D"ltr">It's been solved.<div>However I don't =
know why.</div><div><br></div><div>The problem is =
assets.</div><div>'rake assets:precompile' fixed =
it.</div></div></blockquote><div><br></div><div>In production ENV the =
assets (e.g. static assets) are served by the web server not by =
rack-servers. So you have to run =91rake assets:precompile=92 and =
configure the web-server to actually serve them.</div><br><blockquote =
type=3D"cite"><div dir=3D"ltr"><div><br></div><div>Thanks =
guys</div></div><div class=3D"gmail_extra">
<br><br><div class=3D"gmail_quote">On Fri, Jul 18, 2014 at 9:31 PM, =
Jiajia Wang <span dir=3D"ltr">&lt;<a href=3D"mailto:jjwang0506 / gmail.com" =
target=3D"_blank">jjwang0506 / gmail.com</a>&gt;</span> =
wrote:<br><blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 =
.8ex;border-left:1px #ccc solid;padding-left:1ex">
<div dir=3D"ltr">AWS Redhat 6.5<div>RDS mysql</div><div>ruby =
2.0.0</div><div>rails 4.0.2</div></div><div class=3D"HOEnZb"><div =
class=3D"h5"><div class=3D"gmail_extra"><br><br><div =
class=3D"gmail_quote">On Fri, Jul 18, 2014 at 9:25 PM, Eric MSP Veith =
<span dir=3D"ltr">&lt;<a href=3D"mailto:eveith / wwweb-library.net" =
target=3D"_blank">eveith / wwweb-library.net</a>&gt;</span> wrote:<br>

<blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 =
.8ex;border-left:1px #ccc solid;padding-left:1ex"><div>On Friday 18 July =
2014, 16:50:08, Harisankar P S wrote:<br>
&gt; Can you share your production log? Since it dies after the request =
is made<br>
&gt; the answer should definitely be in that log file.<br>
<br>
</div>Could you (i.e., the OP) please also share some details about the =
environment,<br>
like O/S, softwares in use, etc.?<br>
<span><font color=3D"#888888"><br>
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; =
&nbsp; &nbsp; --- Eric<br>
</font></span></blockquote></div><br></div>
</div></div></blockquote></div><br></div>
</blockquote></div><br></body></html>=

--Apple-Mail=_D1CB62D0-5F09-414C-BF36-9DDFD998802A--

--Apple-Mail=_3F600B51-D47E-4AE6-BDA7-E349A441A033
Content-Transfer-Encoding: 7bit
Content-Disposition: attachment;
	filename=signature.asc
Content-Type: application/pgp-signature;
	name=signature.asc
Content-Description: Message signed with OpenPGP using GPGMail

-----BEGIN PGP SIGNATURE-----
Comment: Public Key Encryption

iQIcBAEBAgAGBQJTynClAAoJEPy01a8ae/7FUbIP/3Y6ipMYf5laq5bSXKt6Mcex
vnsaR+/OGXWIbEtkUlaIYL3Kh/poPa2cdpUAZkWBKTJkbGXefUGL+wpCXK7GPtLV
MBLeDMnbltWX7MStdnPKXvLiIKP62vxMWGSCBGfH1gyBMz7heiW+E4U5NVCSWqBM
DXw/yhMxglnNFFG/0TVEMMKjrVS5NxTkeXS2yxSdolFeWgn1Bz2n7f41boFoa76y
1RpZBeMqzqdcUl/yzJEkyaRU5Q1SXfvlIepw4nMFIvZw7Lzj/4NMVosUevctBfbN
ly1qi7fI/Fmuh/qQWmwL35fPGr0x/l5O+yBXFna/708xdjE4+zrD8Ce7qlrqnpqb
Fw0TtCAs4fJhZ2I5PNC0Pha7ZZ87BBbEjpkkb/uYNL39mg//oTe48wUxjLA2Kr0S
vDkfbd0U1cj1xi10hoNOT/4dVqdOdL63e/i2APQO7mr3glnDej87cupICw3shIgT
5ojc3GWlRGI6F5W212M88ev90E83/FKzj1Rj8YgBAFbxpuy20s9tkgXqtllJyz5O
vwmBqFDepfQcm9b1GkAt2SCNcRostRJLx9Nm09OSqz200OBj4etwCE3UxL2zOeT0
eliJnu5PmFHCsnTZyXg2ajGZTS/oVhlJPVC2JgJGaYKUnUi26wgPA0+yvWHKZEW3
0swz9+k1fd/kNBdqey98
=j31W
-----END PGP SIGNATURE-----

--Apple-Mail=_3F600B51-D47E-4AE6-BDA7-E349A441A033--