# Specify Rails version for Rage db:migrate

**URL:** <https://www.ruby-forum.com/t/specify-rails-version-for-rage-db-migrate/143100>\
**Category:** Rails\
**Created:** [July 15, 2008, 9:18am UTC](https://www.ruby-forum.com/t/specify-rails-version-for-rage-db-migrate/143100 "2008-07-15T09:18:46Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![hildegunst](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/h/4bbf92/32.png) [@hildegunst](https://www.ruby-forum.com/u/hildegunst)\
**Post date:** [July 15, 2008, 9:18am UTC](https://www.ruby-forum.com/t/specify-rails-version-for-rage-db-migrate/143100/1 "2008-07-15T09:18:46Z")

</div>

Hi all,

I have a problem while trying to migrate using Rake.  
I have two versions of Rails on the server and want to specify the one  
(the older in this case) to be used by rake.

I tried

rake migrate RAILS\_GEM\_VERSION=1.1.6

but this doesn’t work.  
Anyone has an idea?

Regards,

Thomas
