If registry entries do not exist, Sketchup creates them. So if it crashes, it might have created the missing entries which you can then edit and restart Sketchup so that it can proceed in the installation process until it works.
So it works! This makes me very lucky. π
If you like to use ruby scripts or plugins, you need to convert the text files from dos format to unix format.
There is a terminal program. In the terminal, go to the Sketchup/Plugin folder using cd, and then run the command
*dos2unix .rb
for converting all ruby files in that folder.