Ruby on Rails: Uploading a modifed site.

Posted by Califer on Stack Overflow See other posts from Stack Overflow or by Califer
Published on 2010-05-18T22:36:54Z Indexed on 2010/05/18 22:40 UTC
Read the original article Hit count: 207

Filed under:
|

I'm having a heck of a time getting a site I modified to work correctly. I didn't set the site up originally, and since the person that set it up no longer works with me I had to learn ruby just to make some changes. I made all the changes in the development server and everything worked fine. Then I did a diff on the production and development and moved only my changes over. Unfortunately when I loaded my changes onto the production server I got a lot of errors.

I've changed all of the permissions to 755, which took care being able to access anything at all, but after that I started getting a lot of 500 errors. Nothing showed up in the production.log file. I really have no clue what's going wrong except that perhaps things are not noticing the new changes. I moved the old site to a backup folder, and the new site crashes whenever it goes to anything that I've changed. In particular, I added a link to a new setup with an extra controller/model/view group. It works fine on development but in production it gives me a 404. Yes, I did copy all the files up.

I even put everything back how it was, but the website is still showing the broken version of it. I checked the tmp/cache folder but it was empty. Running dispatch.fcgi shows the old site (which I expected) but it still shows the flawed new site when I connect through a browser.

I've been tearing my hair out trying to get this to work. Any ideas as to how I can get this to work?

© Stack Overflow or respective owner

Related posts about ruby-on-rails

Related posts about ruby