Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > Ruby > Ruby Installation

Reply
Thread Tools

Ruby Installation

 
 
Tom Mac
Guest
Posts: n/a
 
      02-22-2010
Hi
I have installed ruby from fedora repository (fedora12) with

yum install ruby ruby-devel ruby-docs ruby-irb ruby-libs ruby-mode
ruby-rdoc ruby-ri

And I got ruby --version
ruby 1.8.6 (2009-08-04 patchlevel 383) [i386-linux]

This I did 2 months back . Now I am asked to repeat this process on
another machine. So my question is where can I find the same above
version with same patch . I looked in
www.ruby-lang.org It says about 1.8.7 and 1.9.1

My second question is if I install 1.8.7 from source on the next
machine, will the application work? So what is the preferred way
Installing ruby from source or from a repository like fedora in my case?


Thanks
Tom
--
Posted via http://www.ruby-forum.com/.

 
Reply With Quote
 
 
 
 
Brian Candler
Guest
Posts: n/a
 
      02-22-2010
Tom Mac wrote:
> Hi
> I have installed ruby from fedora repository (fedora12) with
>
> yum install ruby ruby-devel ruby-docs ruby-irb ruby-libs ruby-mode
> ruby-rdoc ruby-ri
>
> And I got ruby --version
> ruby 1.8.6 (2009-08-04 patchlevel 383) [i386-linux]
>
> This I did 2 months back . Now I am asked to repeat this process on
> another machine. So my question is where can I find the same above
> version with same patch . I looked in
> www.ruby-lang.org It says about 1.8.7 and 1.9.1


ftp.ruby-lang.org has all the previous version releases.

> My second question is if I install 1.8.7 from source on the next
> machine, will the application work?


Probably. There are a number of changes in the ruby language for 1.8.7,
such that a program written for 1.8.7 may well not work in 1.8.6, but
one written for 1.8.6 probably works in 1.8.7.

> So what is the preferred way
> Installing ruby from source or from a repository like fedora in my case?


If your distribution has a decent ruby repo, usually it's a good idea to
use that. Your distribution should be keeping track of things like
security updates and you will automatically get a fixed version if you
need it. It also saves hassles in compilation (e.g. if you don't have
the openssl-dev or zlib-dev packages installed when building yourself,
then important ruby extensions won't be built)

HTH,

Brian.
--
Posted via http://www.ruby-forum.com/.

 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
AFTER INSTALLATION OF RUBY AND RUBY GEMS WHEN I GO 4 INTALL RAILS-THAT TIME ERROR YAG Ruby 2 04-04-2008 10:14 AM
[ANN] Debian ruby-full package - a full installation of Ruby vince.hetk@gmail.com Ruby 1 05-28-2007 05:08 PM
#!/usr/bin/ruby , #!/usr/bin/ruby -w , #!/usr/bin/ruby -T?, #!/usr/bin/ruby -T1... anne001 Ruby 1 04-23-2006 03:02 PM
Clean installation of new Ruby versions Gavin Sinclair Ruby 1 07-30-2003 02:34 PM



Advertisments