Hulihan Applications
about projects portfolio services contact_us

dreamhost rails upgrade kills my blog

Added by Anonymous User 147 days ago

Hi. I installed Amethyst a couple of months back, just as an experiment. All was well till the past day or so when Dreamhost upgraded Rails to 2.2.2. Now I get an error message, 2.0.2 not found. See link:
http://amethyst.podsnap.org/

Question: does Amethyst not work with 2.2.2? How can I make the installation compatible?

- Anonymous Guest


Replies

RE: dreamhost rails upgrade kills my blog - Added by Dave Hulihan 147 days ago

Hi Anonymous Guest - Are you familiar with upgrading a Rails App to a newer version? Here's a couple things you usually need to do:

1 - Upgrade environment.rb,change the line:
RAILS_GEM_VERSION = '2.0.2' unless defined? RAILS_GEM_VERSION
to:
RAILS_GEM_VERSION = '2.2.2' unless defined? RAILS_GEM_VERSION
2 - You'll also probably have to run: 'rake rails:update' from the command line. You might have to do more(usually not), depending on your shared host.

In a shared hosting environment, I like to freeze my applications(this save a version of rails that you're using in your app) so when the server is upgraded, my applications don't break. Here's a good page on how to freeze rails/gems: http://support.tigertech.net/freeze-rails Let me know if you have any more questions. Have a good one -
Dave

RE: dreamhost rails upgrade kills my blog - Added by Anonymous User 147 days ago

Dave,

Thanks for getting back. Success! I just re-raked...I was waiting for guidance on that questions, that was the problem. Amethyst is back up.

I had changed the version line in environment.rb, but then it errored out at environment, and that's where I got stuck. It needed the rake.

I would indeed have frozen my app if I'd known that the upgrade was coming.

Thanks again!

-Anonymous Guest

I like this place very much - Added by Chooppede Chooppede 113 days ago

I like this place very much.

This is really a extraordinary website.

This is not like other money bound place, the message here is genuinely useful.

I am definitely bookmarking it as well as sharin it with my friends.

:)



Hulihan Applications © 2007-2009
No portion of this site may be copied, altered, duplicated or otherwise used without the express written approval of Hulihan Applications.