 Ryan then joined Scottish First Division club Dunfermline Athletic in January 2007.He made nine appearances in the 2007–08 season before returning to Ireland in January 2008.In January 2008, having failed to make much impact at Dunfermline, Ryan moved back to Ireland to play for St Patrick's Athletic as new Dunfermline manager Jim McIntyre began reshaping the club's squad.