Hi,

This should be easy, for some reason I can't remember how to do it.

I have in /lib a file called "joe_converter.rb" that I want to be able
to run from terminal.  Here's the beginning of "joe_converter.rb":
**********************************************
require 'active_record'

# Takes in a URL, creates all needed objects, and ends up creating an
LqSnapshot for that URL
class JoeConverter
  def self.do_the_conversion url, scores, user_id
**********************************************

How can I run this from terminal correctly?  I tried with
"script/runner", and put in the necessary parameters, but I get back
this:

 wrong number of arguments (0 for 5) (ArgumentError)

Anyone have any ideas about this?
-- 
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+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to