Dr. Eugene P. Rubacky, 54, a consultant in marketing and public opinion research, died at his home in Bethesda Thursday after a heart attack. o

In 1973, Dr. Rubacky, a physicologist by training, founded Ask Ltd., a general marketing and public opinion firm. He ran the business until earlier this year, when he closed it. He continued as a private consultant in these fields until his death.

A native of Passaic, N. J., and a Navy veteran of World War II who served in the Pacific, Dr. Rubacky earned a bachelor's degree from Fordham University in 1949. He moved to the Washington area the following year and went to work as a research technician in the laboratory of Georgetown University Hospital. At the same time, he earned a master's degree in physiology at Georgetown and a doctorate in that subject in 1958.

In 1961, he established his own drug research firm and later went into marketing.

From 1968 until 1979, Dr. Rubacky taught life sciences at Georgetown Visitation Preparatory School in Washington.

He was a former president of the Fordham University Club in Washington.

Survivors include his wife, the former Patricia Leibell of Bethesda; four daughters, Elizabeth and Mrs. Jon Sheridan, both of Bethesda, and Patricia and Mary Louise, both of Washington; three sons, Peter, William, and Christopher, all of Bethesda; his mother, Mrs. Joseph F. Rubacky of Franklin Lakes, N.J.; two brothers, Joseph F. Jr., also of Franklin Lakes, and Dr. Gerald of Montclair, N. J.; two sisters, Mrs. Benedict Willis of Rutherford, N. J., and Mrs. James Tobin of Ridgefield, N. J., and one granddaughter.

The family suggests that expressions of sympathy be in the form of contributions to the Georgetown Visitation Fund, 1524 35th St. NW, Washington, D. C., 20007.