running rails on my linux mint

The clue may be in the above error message.

Are you following a tutorial to get you started? If not then I
suggest working through a good one such as railstutorial.org, which is
free to use online.

Colin