RAS4 is already old, and if possible we should not use the recommended things, above What is missing , had to install a lot of things go their own or with RAS5, either with the server version of Ubuntu you!
1, require 'irb / completion' prompt "no such file to load - readline", go
2, after the RMagick install, require 'rmagick' suggested that "no such file to load - rmagick", the original Linux following the name of Gem are case-insensitive replace require 'RMagick', error becomes: "No such file or directory - / usr/local/ruby/lib/ruby/gems/1.8/gems/rmagick-2.8.0/lib/RMagick2.so ", but it's existence, the original problem variables are the environment, the implementation of" export LD_LIBRARY_PATH = / usr / local / lib ", all things back to normal. vi. / .bash_profile, add the export statement to this document, this will solve the problem.