rails runner giving problem

I have a rails 2.3.8 application, which has some ruby script in scripts
folder which has ran through the cron.

I just upgraded my application to rails 3. My problem is I am not able
found a solution to run these scripts.

In Rails 2.3.8:-
ruby script/runner test.rb

In Rails 3:-
rails runner test.rb does not working.

Can anyone tell me How can I run the scripts?


What error do you get when trying to run rails runner test.rb?