On Mar 19, 8:54 pm, Chris Gunnels
<rails-mailing-l...-ARtvInVfO7ksV2N9l4h3zg@public.gmane.org>
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
rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
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
-~----------~----~----~----~------~----~------~--~---