# !st deployment. Rails version problems?

**URL:** <https://www.ruby-forum.com/t/st-deployment-rails-version-problems/143979>\
**Category:** Deployment\
**Created:** [July 24, 2008, 11:19am UTC](https://www.ruby-forum.com/t/st-deployment-rails-version-problems/143979 "2008-07-24T11:19:46Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![messismore](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/m/54ee81/32.png) [@messismore](https://www.ruby-forum.com/u/messismore)\
**Post date:** [July 24, 2008, 11:19am UTC](https://www.ruby-forum.com/t/st-deployment-rails-version-problems/143979/1 "2008-07-24T11:19:46Z")

</div>

Hi,

I am about to deploy my first Rails app, but am a little worried about  
certain syntax changes from Rails 1.8 to 2.1(which I will be using).  
I’m finding it hard to get my head around what happens if the web  
hosting company upgrades the Rails version…this will obviously cause  
my app to completely and utterly die.

Is there a way to get around this or would I have to purchase a  
dedicated server so I know exactly which Rails version I am developing  
for.

Thanks for any help. I’ve only been using Rails for two weeks.

Best,  
C

---

<div class="post-metadata">

**Author:** ![messismore](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/m/54ee81/32.png) [@messismore](https://www.ruby-forum.com/u/messismore)\
**Post date:** [July 24, 2008, 7:30pm UTC](https://www.ruby-forum.com/t/st-deployment-rails-version-problems/143979/2 "2008-07-24T19:30:12Z")

</div>

On Jul 24, 2:19 am, Clinton Beattie \<ruby-forum-incom…@andreas-  
[s.net](http://s.net)\> wrote:

> I am about to deploy my first Rails app, but am a little worried about  
> certain syntax changes from Rails 1.8 to 2.1(which I will be using).  
> I’m finding it hard to get my head around what happens if the web  
> hosting company upgrades the Rails version…this will obviously cause  
> my app to completely and utterly die.

Not necessarily. I’ve been able to deploy apps written in Rails 1.2 on  
a server running 2.1 with no issues. Most of the issues that are  
likely to come up are pretty well documented. (A case where Google is  
your friend.)

> Is there a way to get around this or would I have to purchase a  
> dedicated server so I know exactly which Rails version I am developing  
> for.

This is what freezing is for. If you freeze your version of Rails as  
part of your deployment, you can be guaranteed what version of Rails  
your app will be running with since the full stack will be included as  
part of your application.

–  
Alex

---

<div class="post-metadata">

**Author:** ![messismore](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/m/54ee81/32.png) [@messismore](https://www.ruby-forum.com/u/messismore)\
**Post date:** [July 24, 2008, 9:09pm UTC](https://www.ruby-forum.com/t/st-deployment-rails-version-problems/143979/3 "2008-07-24T21:09:10Z")

</div>

Thanks Alex for taking the time to explain all that. I will be looking  
into freezing shortly after your heads up.

---

<div class="post-metadata">

**Author:** ![messismore](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/m/54ee81/32.png) [@messismore](https://www.ruby-forum.com/u/messismore)\
**Post date:** [July 25, 2008, 4:45pm UTC](https://www.ruby-forum.com/t/st-deployment-rails-version-problems/143979/4 "2008-07-25T16:45:21Z")

</div>

You should never depend on a shared server gems, basically you are not  
in control and a sudden change in them could brake you application.  
Try to kee as part of your app any library or gem that you rely on to  
avoid this problems.

–  
Aníbal Rojas

> **[Home - Has Many Developers](https://hasmanydevelopers.com/)**
>
> We are the best choice for your building design and development

> **[RUBYCORNER.COM](https://www.rubycorner.com/)**
>
> RUBYCORNER.COM - Contact us for any business inquiries

[http://anibal.rojas.com.ve](http://anibal.rojas.com.ve)

On Jul 25, 2:09 pm, Clinton Beattie \<ruby-forum-incom…@andreas-

---

<div class="post-metadata">

**Author:** ![messismore](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/m/54ee81/32.png) [@messismore](https://www.ruby-forum.com/u/messismore)\
**Post date:** [July 26, 2008, 1:44pm UTC](https://www.ruby-forum.com/t/st-deployment-rails-version-problems/143979/5 "2008-07-26T13:44:47Z")

</div>

Thanks.
