Monday, April 18, 2011

[Rails] 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

--
Posted via http://www.ruby-forum.com/.

--
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To post to this group, send email to rubyonrails-talk@googlegroups.com.
To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.

0 Comments:

Post a Comment

Subscribe to Post Comments [Atom]

<< Home


Real Estate