Prev: Lazy array
Next: Shoes: Stacks and Flows
From: Jesse Jurman on 1 Aug 2010 19:19 I want to install ruby 1.9, but what is the best method of doing this (on Mac OS X), and will all of my old code from 1.8.7 work in 1.9 (assuming I reinstall all the gems)? -- Posted via http://www.ruby-forum.com/.
From: Douglas Drumond on 1 Aug 2010 19:34 Sorry, I'm on my phone, so it's hard to search for complete instructions right now. I suggest you to take a look at RVM. One can install as many versions of Ruby as s/he wants alongside each other without conflicts. Gems must be reinstalled for each version as well. So you can test your code against several Ruby versions to assure proper functioning. Best regards, Douglas Drumond iPhoneから送信 On 01/08/2010, at 20:19, Jesse Jurman <e.j.jurman(a)gmail.com> wrote: > I want to install ruby 1.9, but what is the best method of doing this > (on Mac OS X), and will all of my old code from 1.8.7 work in 1.9 > (assuming I reinstall all the gems)? > -- > Posted via http://www.ruby-forum.com/. > -------------------------------------- Get the new Internet Explorer 8 optimized for Yahoo! JAPAN http://pr.mail.yahoo.co.jp/ie8/
From: skim on 1 Aug 2010 22:43 [Note: parts of this message were removed to make it a legal post.] Like Douglas, I also recommend rvm. For the sake of convenience, you can install the rvm gem from your system Ruby. sudo gem install rvm From then on, you will no longer have to use sudo. Follow the instructions and to install new Ruby versions, simply run this command: rvm install version where 'version' is the version you want to install. More information can be found on the rvm website: http://rvm.beginrescueend.com/ skim 2010/8/1 Douglas Drumond <douglasfdrumond(a)yahoo.co.jp> > Sorry, I'm on my phone, so it's hard to search for complete instructions > right now. > > I suggest you to take a look at RVM. One can install as many versions of > Ruby as s/he wants alongside each other without conflicts. Gems must be > reinstalled for each version as well. So you can test your code against > several Ruby versions to assure proper functioning. > > Best regards, > > Douglas Drumond > > iPhoneから送信 > > On 01/08/2010, at 20:19, Jesse Jurman <e.j.jurman(a)gmail.com> wrote: > > > I want to install ruby 1.9, but what is the best method of doing this > > (on Mac OS X), and will all of my old code from 1.8.7 work in 1.9 > > (assuming I reinstall all the gems)? > > -- > > Posted via http://www.ruby-forum.com/. > > > -------------------------------------- > Get the new Internet Explorer 8 optimized for Yahoo! JAPAN > http://pr.mail.yahoo.co.jp/ie8/ > >
From: Jesse Jurman on 1 Aug 2010 23:01 So, will this work on top of Mac OS X's preinstalled version of Ruby? Or will I end up with both (the system's, and rvm's)? -- Posted via http://www.ruby-forum.com/.
From: skim on 1 Aug 2010 23:19 [Note: parts of this message were removed to make it a legal post.] Yes rvm will work using the pre-installed version. You will have both. I don't use the system Ruby and installed a more recent version of Ruby 1.8.7 using rvm. On Sun, Aug 1, 2010 at 22:01, Jesse Jurman <e.j.jurman(a)gmail.com> wrote: > So, will this work on top of Mac OS X's preinstalled version of Ruby? Or > will I end up with both (the system's, and rvm's)? > -- > Posted via http://www.ruby-forum.com/. > >
|
Pages: 1 Prev: Lazy array Next: Shoes: Stacks and Flows |