Memory is not your problem, DNS is. The install failed because your server could not locate the rubygems server to download modules.
- Does this error appear every time you run the installer?
- What does the command
host api.rubygems.orgreturn? - What DNS is your server using?