Richard Hurt escreveu isso aí: > I am trying to move my Squeeze box over to Ruby1.9.1 and Rails and > am having a tough time finding information on how to proceed. I've > install ruby1.9.1-full and pulled in rubygems1.9.1 from Sid but I > still can't get Rails to work. > > Are there any guides, walkthroughs or tutorials for moving a Debian > system to Ruby 1.9.1? Has anyone tried to run Rails under 1.9.1 on > Squeeze or am I the first? Is this even the correct list for this > question? I've just tried on Sid and it works fine. AFAICT you only need that "ruby", "irb", "gem", etc in your PATH are the 1.9.1 versions. I did that by symlinking them in my ~/bin (which has higher priority in my PATH than the system directories): cd ~/bin/ ln -s /usr/bin/ruby1.9.1 ruby ln -s /usr/bin/gem1.9.1 gem ln -s /usr/bin/irb1.9.1 irb I've also changed the PATH to include $HOME/.gem/ruby/1.9.1/bin, so that after installing rails and stuff I can use the programs that come with them. But please note that doing this might break other ruby stuff you have installed, specially packaged applications that are not compatible with ruby 1.9.1 and refer to "ruby" instead of "ruby1.8" in their shebangs. -- Antonio Terceiro <terceiro@softwarelivre.org> http://softwarelivre.org/terceiro
Attachment:
signature.asc
Description: Digital signature