Running SQL file from inside rake task

My friends,

I have a rake task that I'm running to initialize some stuff for new

I need to run a SQL file from inside that rake task. It's just a big,
raw SQL file.

How can I run the SQL file from inside the rake task?

Thanks in advance for any good advice.

`mysql -uroot databasename < sqlfile.sql`

ActiveRecord::Base.connection.execute( <file contents here> )