Rails runner giving problem

Hi,
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?

Thanks,
Mike

On Mon, Apr 18, 2011 at 7:44 AM, Mike D. [email protected]
wrote:

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?

B.

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs