You may be liable for Capital Gains Tax in the foreign country as well as in Ireland - each country may or may not have a Double Taxation Treaty with Ireland which will lay down the rules and whether tax in one country may be offset against tax in another.
There is no tax on investing gains here is Switzerland, if you are classified as an investor as opposed to a trader - more than 10 traders per month makes you a trader....