开发者

Problem Installing Ruby 1.9.2 alone in ubuntu

I have pre installed ruby 1.8.7 avai开发者_如何学Clable in my ubuntu pc. Since i am going to start my development in ruby 1.9.2, i have uninstalled ruby 1.8.7 and installed the fresh copy of the 1.9.2 using the following command.

  sudo apt-get install ruby1.9.2

It is installed successfully. But i cant able to bring the REPL (irb) to the shell. I am new to both linux and ruby. Can someone clarify me what should i do next?

And i know we can do this simply in RVM. Since i am going to work on only the 1.9.2 version, its not required.


apt-get install irb1.9

should do the trick. What you should really do for 1.9 development is:

apt-get install ruby1.9.1-full --no-install-recommends

which includes everything you'll need.


Don't forget you might have to make a symlink that points irb1.9.1 to irb

ln -s /usr/bin/irb1.9.1 /usr/bin/irb
0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜