This has been long overdue. I just updated my ruby 1.9.2 ppa to the final ruby 1.9.2 release. I borrowed the patches from the upstream maverick release and added a couple more patches to get it work on Ubuntu Lucid. The patching system has now changed from dpatch
to quilt
. Please download it and enjoy it and let me know if things work fine. I checked my rails applications and they all are working fine with the new release. Here are the instructions to use the Ruby 1.9.2 PPA.
You can add the repository to your system using the following command.
sudo add-apt-repository ppa:pratikmsinha/ruby192+bindings
Because of a bug(reported here) in aptitude/python-software-properties, another small change will be required. Executed the following commands.
cd /etc/apt/sources.list.d/ mv pratikmsinha-ruby192+bindings-lucid.list pratikmsinha-ruby192bindings-lucid.list
Once that’s done, update the apt cache and install the applications
sudo aptitude update sudo aptitude install ruby1.9.2
If you want further guidance regarding adding PPA repositories look at this link. It has screenshots and alternate instructions for older ubuntu systems.
Awesomeness would ensue if you made this available for natty 🙂
Hello Pratik,
Did you get the time to compile libgettext-ruby for ruby1.9.2?
Thank you
Thank you very much Pratik. I’m already so happy that I can use the GUI with Rubyripper!
Hello Pratik,
Once again! I can’t find the: “ruby-gettext” is not found. Translations are disabled! Is there a way a to add it? This is the message from Rubyripper, so I can’t have it in french :-/
Thank you.
Hi Guy,
For gettext to work, will have to compile the package libgettext-ruby for ruby1.9.2. Will do that in a couple days and add it to my ppa.
Sorry Pratik,
I found it, everythings ok 🙂 Once again, thank you!
Hello,
Thank you for the job! I would like to install ruby-gtk2-0.19.4 or newest but for that I need the dev version, how can I get it? This in purpose to install Rubbyripper 0.6.0. with a working GUI front end.
The installed version shows up as:
ruby 1.9.2dev (2010-07-02) [x86_64-linux]
Why don’t we see the actual release version like:
ruby 1.9.2p0 (2010-08-18 revision 29036) [x86_64-darwin10.3.1]
That is the latest version, just shows up like that coz the version.h has those values.
Hello,
thanks for the ppa. ruby1.9.2 installs fine. However, when I try to install ruby1.9.2-full, I get:
Setting up ruby1.9.2 (1.9.2.z1-1ppa1~lucid) …
Setting up irb1.9.2 (1.9.2.z1-1ppa1~lucid) …
update-alternatives: error: alternative irb can’t be master: it is a slave of ruby
…
Errors were encountered while processing:
irb1.9.2
rdoc1.9.2
ri1.9.2
ruby1.9.2-full
E: Sub-process /usr/bin/dpkg returned an error code (1)
A package failed to install.
Is there a problem with the install script?
Hi Vincent,
I’m not sure why you would get that error, coz in the install script, irb is not a slave of ruby. Check the output below.
Can you check the output of
update-alternatives --display ruby
on your system. May be you had some alternatives setup before you tried to install the ruby package.Ah. My apologies; when I installed ruby 1.9.1 in the past, I followed http://michalf.me/blog:make-ruby-1-9-default-on-ubuntu-9-10-karmic-koala, and didn’t realise that was causing problems with the install here. I ran
sudo update-alternatives –remove ruby /usr/bin/ruby1.9.1, and your package installs fine now.
Thanks!