On 28 September 2015 at 11:32, Peter Williams <p8m...@googlemail.com> wrote: > > There are 2 problems: > > Even though installing ruby seems possible without source files (eg ruby.h) > using eg rvm, ruby-install etc, subsequently installing rails as a gem > requires these files. To avoid version mismatch with the versions from your > os (package manager eg yum, yast, apt) its best to build ruby from source. > nokogiri seems to have a bug. Installing rails as a ruby gem fails because > of nokogiri wanting to bring in its own version of some dev fies (eg > libxml2, libxslt). So you should install nokogiri separately first > explicitly telling it not to use these files.
Using rvm to install ruby and rails has always worked fine for me on various versions of Ubuntu. I have found no need to do otherwise. Colin -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To unsubscribe from this group and stop receiving emails from it, send an email to rubyonrails-talk+unsubscr...@googlegroups.com. To post to this group, send email to rubyonrails-talk@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/CAL%3D0gLvSUG-txcRsZh5XaVW2QjWcsUJUM2UrU5jOdNwb45JvxQ%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.