AndyM
AndyM

Reputation: 622

Anyone installed rails 3 on solaris 10x86

I would like an easy way of installing Rails 3 on Solaris 10 x86 server that is not attached to the internet. I can download files and burn to DVD or mem stick and install that way. Some Packages would be best as not really looking forward to compiling from source.

Has anyone done this or seen any guides releating on how to do this ? I have seen an old post (2009) but that doesn't really help me.

Regards Andy

Upvotes: 2

Views: 584

Answers (1)

wkl
wkl

Reputation: 80031

Assuming you need to install all the requirements for running Ruby and RoR 3.0.

It's easiest to get everything from Sun Freeware

Dependencies

You'll need to install these dependencies for RoR first.

Portions of the Ruby package might need to depend on the following packages, some of which should already be installed by default on Solaris 10 (like zlib, libiconv, and libintl), but I haven't touched a base Solaris machine in a while so you might need to download everything to be sure:


Installing the packages

The packages from Sun Freeware can be installed with the pkgadd tool in Solaris 10: http://www.sunfreeware.com/download.html

Example:

To install a file you have downloaded, follow the example here: For example, if you were to download a gzipped package foo-1.00-sol8-sparc-local.gz into directory /tmp, to install this package, you would use the following commands:

cd /tmp
gunzip foo-1.00-sol8-sparc-local.gz
pkgadd -d foo-1.00-sol8-sparc-local

Install RoR 3

That's just everything to get Ruby running. Now you have to download RoR source and build it


Might be easier (?)

You might be able to ease this process of dependency getting by attempting to use the pkg-get script from bolthole: http://www.bolthole.com/solaris/pkg-get.html

The script allows you to run a Download-only mode to get packages. I don't think it requires you to run it on a solaris machine if you use download-only mode, but otherwise you might be able to hack it up a little just to download and not care about installed packages and such.

Upvotes: 3

Related Questions