I’m trying to install rails without necessarily having a network
connection. It’s a lengthy story but suffice it to say my work
environment has very high walls.
I have ruby installed.
I have gem installed.
I can’t install rails.
I downloaded the rails-1.1.6.gem file but when I run
gem install rails -l -y
I get:
rails requires activesupport = 1.3.1
um… it’s in the package…
Am I better off just grabbing the .zip version of the rails package and
installing it where?
I’ve done this. basically I constructed the ruby folder on a machine
with the internet - installed all the required gems etc. which included
rails with all dependencies. Then I stripped out anything I didn’t want
(size was an issue, it might not be in your case) and zipped up that
whole folder. put it on a CD, (or USB drive, ruby is self contained so
it can be portable). Now I can put it on a machine with no network just
by unzipping the contents of the CD. The ruby I used was just the
standard windows all in one installer.
I get:
rails requires activesupport = 1.3.1
um… it’s in the package…
Which package ?
Am I better off just grabbing the .zip version of the rails package and
installing it where?
What do you mean by ‘package’ ?
You have downloaded rails-1.1.6.gem file, but have you
downloaded activesupport-1.3.1.gem, activerecord-1.14.4.gem
actionpack-1.12.5.gem, actionmailer-1.2.5.gem
and actionwebservice-1.1.6.gem files ?
(make sure you have rake 0.7.1 gem already installed)
This my not be what you’re looking for, but, I usually use InstantRails.
I
download one file. Unzip it into a directory, and its ready to use. You
can
get it from RubyForge