On Mar 19, 8:54 pm, Chris Gunnels <[email protected]>
wrote:
> I am trying to run a script in the script/console...but I dont think im
> doing it right. can some one help?
>
> I am typing:
>
> rake /lib/tasks/my_rake_file.rake
>
You're supposed to do that from the command line. If you wanted to do
that not from the command line then you'd need to require the rake
gem, load that file and then look in the rake docs for how to execute
a task programatically.
Fred
> into the console and I get:
>
> SyntaxError: compile error
> (irb):2: unknown regexp options - tak
> from (irb):2
> --
> Posted viahttp://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 [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---