rake aborted

I migrated the database and it gives the error

(in /home/amrit/library)

rake aborted!

no such file to load – rubygems

/home/amrit/library/Rakefile:4:in `require’

(See full trace by running task with --trace)

Please somebody suggest what got wrong?

Do you mean that when you run the migration you get that error? If so have you got rubygems installed?