rake freeze problem !

when i am trying to run rake rails:freeze:1.2.3 command i am having this
kind of error in my command prompt !
how can i freeze my rails version !
help !

D:\Malav\IR\InstantRails\rails_apps\work\rorjob>rake rails:freeze:1.2.3
(in D:/Malav/IR/InstantRails/rails_apps/work/rorjob)
rake aborted!
no such file to load --
D:/Malav/IR/InstantRails/rails_apps/work/rorjob/config/../vendor/rails/railties/lib/initializer
D:/Malav/IR/InstantRails/rails_apps/work/rorjob/rakefile:4
(See full trace by running task with --trace)

I think the correct syntax is rake rails:freeze -v=1.2.3

Ryan Bigg wrote:

I think the correct syntax is rake rails:freeze -v=1.2.3

it shows invalid option -- = error .......
help !