A hard student. College slang.

1

1847.  A man must not be ashamed to be called a ‘grub’ in college, if he would shine in the world.—Wells and Davis, ‘Sketch of Williams College,’ p. 76. (N.E.D.)

2