f



Ruby 1.8.4 and Ruby 1.8.6

Hi Experts,

I was wondering, if we could use previous version if we installed
1.8.6?

i know this is stupid. :) any suggestions?

regards,
Bala
0
mbbala (7)
2/28/2008 9:11:59 AM
comp.lang.ruby 48886 articles. 0 followers. Post Follow

3 Replies
729 Views

Similar Articles

[PageSpeed] 38

On Feb 28, 2008, at 01:14 AM, Bala wrote:

> Hi Experts,
>
> I was wondering, if we could use previous version if we installed
> 1.8.6?
>
> i know this is stupid. :) any suggestions?


[unpack a ruby 1.8.6 tarball and cd into it]
/configure --prefix=/path/to/ruby186
make && make install
/path/to/ruby186/bin/ruby -v

0
drbrain (2203)
2/28/2008 9:20:12 AM
On Feb 28, 2:20 pm, Eric Hodel <drbr...@segment7.net> wrote:
> On Feb 28, 2008, at 01:14 AM, Bala wrote:
>
> > Hi Experts,
>
> > I was wondering, if we could use previous version if we installed
> > 1.8.6?
>
> > i know this is stupid. :) any suggestions?
>
> [unpack a ruby 1.8.6 tarball and cd into it]
> /configure --prefix=/path/to/ruby186
> make && make install
> /path/to/ruby186/bin/ruby -v

Hi Eric,

Thanks for the reply, but i'm on windows

Thanks,
Bala
0
mbbala (7)
2/28/2008 9:22:36 AM
On 28/02/2008, Bala <mbbala@gmail.com> wrote:
> On Feb 28, 2:20 pm, Eric Hodel <drbr...@segment7.net> wrote:
>  > On Feb 28, 2008, at 01:14 AM, Bala wrote:
>  >
>  > > Hi Experts,
>  >
>  > > I was wondering, if we could use previous version if we installed
>  > > 1.8.6?
>  >
>  > > i know this is stupid. :) any suggestions?
>  >
>  > [unpack a ruby 1.8.6 tarball and cd into it]
>  > /configure --prefix=/path/to/ruby186
>  > make && make install
>  > /path/to/ruby186/bin/ruby -v
>
>
> Hi Eric,
>
>  Thanks for the reply, but i'm on windows
>
>  Thanks,

I beleive the one click installer allows installing in different locations.

However, you would have to modify your path when you want to use a
different ruby or not set your path at all and run it by full name.

I suspect there might be problems if you set your path to point to one
version of ruby and run another one as windows use path to look up
shared libraries.

Thanks

Michal

0
hramrach (368)
2/28/2008 10:11:05 AM
Reply:

Similar Artilces:

lib/ruby/1.8/e2mmap.rb:51: Use Ruby 1.1 (RuntimeError)
Hi I am trying to start up my application on Windows Vista with Ruby 1.8.6 and the Oniguruma-Patch applied. It results in this error: lib/ruby/1.8/e2mmap.rb:51: Use Ruby 1.1 (RuntimeError) the full error message is: http://pastebin.com/U1T3SFK7 The app runs just fine on Linux with Ruby 1.8.6. Any hints are highly appreciated. Best Zeno -- Posted via http://www.ruby-forum.com/. It seems that lib/ruby/gems/1.8/gems/gd2-1.1.1/lib/gd2/canvas.rb:23 requires lib/ruby/1.8/matrix.rb:23 and that calls require "e2mmap.rb" and that will throw th...

Why is Ruby 1.8.6 RC1 more recent than Ruby 1.8.6 Final?
Getting to the Ruby One-click installer for Windows, we may go to http://www.ruby-lang.org/en/downloads/ and then http://rubyinstaller.org/download.html however over there, it seems that Ruby 1.8.6 RC1 (patchlevel 383) is actually more recent than Ruby 1.8.6 RC2 (patchlevel 27) or Ruby 1.8.6 Final (patchlevel 26) If I install them on different machines, the RC1 actually shows a more recent date than RC2 or Final, by using ruby -v What's the rule? Does it go strictly by patchlevel? That is, the patchlevel decides how update it is, instead of whether it is R...

YAML on Ruby 1.8.1 and Ruby 1.8.2
I've written several programs that use YAML to store their configuration files, and I generally run them on Ruby 1.8.2. Occasionally we have a setup with a Ruby 1.8.1 or older version around and noticed that the YAML module on these older versions of Ruby behaves differently from that of 1.8.2. In particular, this YAML string: "--- :abc" produces different results from 1.8.1 and 1.8.2. Under 1.8.2, I get the expected behavior, and YAML::load("--- :abc") => :abc However, under 1.8.1: YAML:load("--- :abc") => ":abc" This totally breaks my...

/ruby/1.8 and /ruby/site_ruby/1.8
What is the difference between /ruby/1.8 and /ruby/site_ruby/1.8 ? (I can see from $: which has priority, but my question is - what is supposed to go where) I think that some problems might be caused when a library gets installed to both, perhaps with the wrong .so being loaded - not sure.... Is this possible? (My questions are towards ruby in general, but specifically towards the Windows One Click Installer) It depends The exact use and layout depends on your OS. For all OSes, ruby/1.8/ holds the core and sandard libs --those that are part of the Ruby distribution proper. And site_ruby/...

Updating Ruby 1.8.6 to 1.8.6-p287 in Debian 4
Hi I have a Debian 4 machine with Ruby 1.8.6 (installed from source) and some gems including Rails 2.1 and Phusion Passenger 2.0.3 (mod_rails, which needs fastthread and rack gems). I want to update to the latest patch of that version (1.8.6-p287), but I have my concerns. Can I do it safely? Is there any warning, any catch? Will I have to reinstall RubyGems and every single gem? What's your advice before patching? Will all the dependent apps be screwed up? I'm asking this because, unfortunately, there's no "make uninstall" command after installing Ruby from source... Rea...

rmagick for Ruby 1.8.6 won't work for Ruby 1.8.7?
if i install 2.12.0 binary gem for Ruby 1.8.6 2009-10-04 16:05 RMagick-2.12.0-ImageMagick-6.5.6-8-Q8.zip which is from http://rubyforge.org/frs/?group_id=12&release_id=43232 then when i use ruby 1.8.7 to require 'rubygems' require 'rmagick' it will say: c:/ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in `gem_original_re quire': no such file to load -- rmagick (LoadError) from c:/ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in `re quire' from try.rb:3 Does that mean I have to install Ruby 1.8.6 to cover up 1.8.7...

Intstalled Ruby 1.8.7 but still getting ruby -v => 1.8.6
I have followed the instructions to install ruby 1.8.7. Everything seems to have installed as best that I can determine. However when I run the command ruby -v I get ruby 1.8.6 (2009-06-08 patchlevel 369) [universal-darwin9.0] Why is that? Also do I have to tell my Rails application to use 1.8.7 and if so how do I do this? Thank you in advance Mitchell -- Posted via http://www.ruby-forum.com/. Mitchell Gould wrote: > I have followed the instructions to install ruby 1.8.7. Which instructions? What did you do? On what platform? The question as-is is miss...

Ruby extension (C++) on OS X [ruby 1.8.2] and Google-Sketchup [ruby 1.8.5]
Hi, I have written a ruby extension in C++ and it works fine on OS X Tiger which ships ruby-1.8.2. With the succesful test of the extension (bundle), I then proceed to try to use it within Google-Sketchup [which I think embeds ruby-1.8.5]. Sketchup crashes the application just loading the extension. 8<------8<------8<------8<------8<------8<------8<------8<------8<------ void Init_rcl(void) { cRCL = rb_define_class("rcl", rb_cObject); <=== /CRASH 8<------8<------8<------8<------8<------8<------8<------8<------8...

ruby 1.8.4 gives warnings where ruby 1.8.2 doesn't
Hi, How do I disable warning output in Ruby? The servers at work use ruby 1.8.2, which gives no warning when running some rake / rails scripts. If I rsync / copy those scripts to my ruby 1.8.4 machine and run them there, I get loads of warnings. I don't want to downgrade my beloved Ruby, can anyone tell me how I can simply disable those warnings at run-time? Thanks -- To reply, take of all ZIGs !! Alternative email address: emailZIG@asfandyarZIG.cjbZIG.netZIG Asfand Yar Qazi wrote: > I don't want to downgrade my beloved Ruby, can anyone tell me how I can > simply d...

Ruby 1.9.0/1.8.7/1.8.6/1.8.5 new releases (Security Fix)
Hi all. Some vulnerabilities were found on Ruby, one of which allow attackers to execute arbitrary codes. These are releases to fix those problems. Also note this is the last official release of ruby 1.8.5. No support are provided for it by us any longer. Detailed information should be found at: http://www.ruby-lang.org/en/news/2008/06/20/arbitrary-code-execution-vulnerabilities Released tarballs are available at: ftp://ftp.ruby-lang.org/pub/ruby/1.9/ruby-1.9.0-2.tar.bz2 ftp://ftp.ruby-lang.org/pub/ruby/1.9/ruby-1.9.0-2.tar.gz ftp://ftp.ruby-lang.org/pub/ruby/1.9/ruby-1.9.0-2.zip ftp://...

Question about some changes from Ruby 1.8.6 to Ruby 1.9
So, the bulk of my issues thus far have been pretty simple and I've isolated and ported over a very lengthy app from 1.8.6 to 1.9.1. The biggest issues I saw were things like scopes: Before: named_scope :private_pages, :conditions => 'pages.parent_id IS NULL and pages.subpage_id IS NULL', :order => 'pages.position', :include => {:subpages, :subofsubs} After: named_scope :private_pages, :conditions => 'pages.parent_id IS NULL and pages.subpage_id IS NULL', :order => 'pages.position', :include => [:subpages, :subofsubs] ...

Ruby 1.8.7 from 1.8.6
I have been given a project to understand the ruby and rails so every time when I try to execute the server via script/server i get following message. script/server => Booting Mongrel => Rails 2.3.8 application starting on http://0.0.0.0:3000 /usr/lib/ruby/gems/1.8/gems/mail-2.2.6.1/lib/mail.rb:19: You need to install tlsmail if you are using ruby <= 1.8.6 (RuntimeError) from /usr/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in `gem_original_require' from /usr/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in `require' from /usr/lib/ruby/gems/1.8/gems/activ...

Recommended practice for Ruby 1.8.6 and Ruby 1.9.x on Windows
Hi there! Is there any recommended practice for using Ruby 1.8.6 and Ruby 1.9.x on the same Windows PC? I do some work in Rails and a lot of our stuff was written and is working fine in Ruby 1.8..6, so we're hesitant (resistant?) to change it just yet. What I want to do is to slowly start moving to Ruby 1.9.x in parallel so that I can start to see if all is well. Any recommendations? The 1.8.6 was installed using the One Click Installer. Cheers, Mohit. 10/1/2010 | 2:44 PM. On 10.01.2010 07:45, Mohit Sindhwani wrote: > Hi there! Is there any recommended prac...

[ANN] Ruby Installer for Windows 1.8.2-14_RC5 (from Ruby 1.8.2 preview1)
Today Matz released the official preview1 for Ruby 1.8.2. This release candidate of the Ruby Installer for Windows was built from this new preview1. You can download this release candidate from: http://rubyinstaller.rubyforge.org/ You can check for reported problems (or report new problems) at: http://rubyforge.org/tracker/?group_id=167 What is the Ruby Installer for Windows? --------------------------------------- The Ruby Installer for Windows is a "one-click", self-contained Windows installer that contains the Ruby language itself, dozens of popular extensions and packa...

Web resources about - Ruby 1.8.4 and Ruby 1.8.6 - comp.lang.ruby

RubyMotion: Ruby for iOS
Interesting new commercial Ruby-based development toolchain for iOS. Based on MacRuby , it produces native iOS apps, but they’re written in Ruby ...

Ruby, Alaska - Wikipedia, the free encyclopedia
... 155.48778°W  / 64.73722; -155.48778 Coordinates : 64°44′14″N 155°29′16″W  /  64.73722°N 155.48778°W  / 64.73722; -155.48778 Ruby is a city ...

Tara Ruby Photographys Fotos - Tara Ruby Photography - Facebook
I posted this on here last night at 11:59pm. It has since disappeared from my feed and my wall. So we are posting this here again. :) Today ...

Farmville 2, Ruby Blast, Muzy, Instagram and more on this week’s top 20 Facebook apps growing by MAU
... on our AppData tracking service. Top Gainers This Week Name MAU Gain Gain % 1. FarmVille 2 64,700,000 +6,300,000 + 11% 2. Ruby Blast ...

Ruby Cramer (@rubycramer) on Twitter
Sign in Sign up To bring you Twitter, we and our partners use cookies on our and other websites. Cookies help personalize Twitter content, tailor ...

Pokemon News: ‘Pokemon Omega Ruby and Alpha Sapphire’ Australia, NZ Hoopa event, ‘Pokken Tournament’ ...
... Hoopa event is starting in Australia as more details get unveiled for “Pokken Tournament.” A new event is starting out for “Pokemon Omega Ruby ...

Does Ruby Rose have a new girlfriend after announcing end of her engagement?
If you remember, we received very sad news last week about Ruby Rose and Phoebe Dahl ending their engagement due to crazy schedules. As happens, ...

WME Signs Ruby Rose
EXCLUSIVE – In a highly competitive situation, WME has signed fast-rising star Ruby Rose . Her breakout role came as Stella Carlin in the third ...

Ruby Rose and Fiancee Phoebe Dahl Split
The 'Orange Is the New Black' star has called off her engagement.

Learn Ruby programming with GitHub and Udacity
We love the Ruby programming language for its natural, human-focused design philosophy and think you will too. That's why we teamed up with Udacity ...

Resources last updated: 2/4/2016 11:35:15 AM