Directed by The Spectacular Now's James Ponsoldt, The End of the Tour follows David Foster Wallace (Segel) on his 1996 Infinite Jest book tour as he's accompanied by Rolling Stone magazine writer David Lipsky (Jesse Eisenberg).

The script, written by playwright Donald Margulies, was adapted from Lipsky's book Although of Course You End Up Becoming Yourself: A Road Trip With David Foster Wallace. Interestingly, Ponsoldt, whose Spectacular Now garnered critical acclaim after premiering at Sundance 2013, used to work at Rolling Stone while he was in college.

Anonymous Content's Paul Green will executive produce the film, which is scheduled to start production shortly.

Segel, who most recently appeared in This Is the End, will next star opposite Cameron Diaz in the Sony comedy Sex Tape. He's repped by WME, Abrams Entertainment and attorney Warren Dern.

Eisenberg will next appear in Kelly Reichardt'sNight Moves and Richard Ayoade's The Double. He's repped by CAA and attorney Patti Felker.