How to update Ruby version in Window? - ruby

I am trying to install an Amazon Web service gem into my project (I use window and Aptana RadRails) but it asked me to update current Ruby version (1.8.5) to 1.8.7.
I use InstantRails for Window platform. So could you tell me how can I upgrade my Ruby to new version?
Do I need to install new InstantRails? or Can I update with Ruby Gem? or may be there is your alternative idea for this activity. :)
Thank you.

Ruby-lang.org Downloads The 1.8.7 binary is right there.

Even better than the builds on ruby-lang.org is the preview versions of the Ruby Installer built with mingw which allows compiling of gems without Visual C++ 6.0.
http://rubyinstaller.org/downloads/
Tutorials

Related

How to upgrade ruby without package managers in Gitlab Server?

I'm upgrading Ruby on my Gitlab Server from 2.7.2 to 2.7.4. But I'm not able to see the upgraded version on the Admin Area Dashboard. It still shows the earlier version and when I do a ruby gem list it tells that all the gems have not been got according to the new package. I'm upgrading ruby without any package manager, i.e. from the source. Kindly help me.

Installing earlier version of Ankhsvn

I installed Ankhsvn 2.3, but that assumes I'm using Subversion 1.7, which I'm not. Now I'm trying to install Ankhsvn 2.1, but it says that I'm unable to install because a newer version of the product is already installed.
So, how do I uninstall Ankhsvn 2.3? I can't find the uninstaller.
The Windows design guideliness tell application developers that they should just add uninstallers to the Start->Control Panel->Software list. So this is where you can find the AnkhSVN uninstall (like that of any other MSI)
Adding an unnecessary uninstall icon in the program menu would even be a design error for a 'Designed for Windows' application.

Unclear about Ruby gem installations

When you do gem install someGem, does it install it in your system so it's available for all your projects, or does it only install it for the project that's associated with the folder you're currently in?
This depends on how it is set up. Normally it would be available for all projects but it can be set up as in this tutorial http://janveldeman.wordpress.com/2008/04/14/project-specific-rubygems/ (From 2008 so might require a big of playing to get working with newer versions) to be specific to individual projects.

What are the big differences between IntelliJ + Ruby Plugin vs RubyMine?

Being an owner of IntelliJ Idea Ultimate edition, and having installed the IntelliJ Ruby plug-in, I'm forced to wonder how different that experience is from using the RubyMine IDE.
I'm guessing they share a lot of code & features. What are the major differences?
If I'm jumping into the world of Ruby, should I buy the RubyMine IDE or just continue using IntelliJ + Ruby plug-in?
The Ruby plugin and RubyMine are build from the same codebase, that's right.
Java/Ruby integration for JRuby code is only available in Ruby plugin for IntelliJ IDEA. But the plugin doesn't have RubyMotion support.
Also check this answer: If I have IDEA, do I need rubymine for ruby dev or will it do both?

Ruby installer on Windows 7 64-bit machine

Can anyone please help me where to find Ruby 64-bit installer to be installed on Windows 7 or can I install 32-bit ruby 1.8.6 or 1.9 installers(only one) on a 64-bit machine without any problem?. Any recommendations or links for documentation would be appreciated.
Thanks in advance.
32bits Ruby can be installed in 64bits Windows versions thanks to WOW64 (Windows on Windows functionality)
There is no Installer for 64bits Ruby, and you will find a lot of complications in that front.
I recommend you use the upcoming RubyInstallers from official RubyInstaller website:
http://rubyinstaller.org/
(Will be redirected to RubyForge, locate Preview 2 installers there). Both 1.8.6 and 1.9.1 are available.
Also, if you want more step to step instructions, please take a look to some tutorials we have collected here:
http://wiki.github.com/oneclick/rubyinstaller/tutorials
Hope that helps.
As of March 2013, the RubyInstaller team produce a 64 bit Windows build of Ruby 2.0 . My thanks to them.
http://rubyinstaller.org/downloads/
But all 32 bit software works normally on Windows 7 anyway - that's worth knowing.
I have Windows 7 for quite a while now. Standard 32-bit Ruby 1.8.6 one-click installer works. I can both run Rails applications and "even" debug the code in NetBeans.
Downloaded from here
The Ruby team is still working on a 64-bit compiled version of Ruby for Windows. The 32-bit version works provided you do not need win32ole to work consistently. You will get a "Class Not Registered" error in some cases trying to instantiate a 64-bit OLE interface.
Latest I have seen on the ruby installers list is: http://groups.google.com/group/rubyinstaller/browse_thread/thread/b628af0efaaae5bd
This impacts some gems like virtualbox: http://github.com/mitchellh/virtualbox/issues#issue/37

Resources