-
Notifications
You must be signed in to change notification settings - Fork 0
Installing Dependencies
Here are instructions for installing dependencies from source.
Get the source code:
git clone git://github.com/joyent/node
In the source tree, run:
./configure --prefix=/local-install && make && make install
Replace /local-install
with your desired installation path.
Add /local-install
to the PATH
environment variable:
export PATH="$PATH:/local-install"
/local-install/bin/npm install -g bower
Get source code:
git clone git://github.com/ruby/ruby
Ensure your system can compile programs with OpenSSL. Otherwise your Ruby will not have OpenSSL support and cannot talk over HTTPS to install packages. This is not required for the bootstrapping Ruby.
You can check which options are enabled by checking the output of make install
in the steps below.
Compiliing recent versions of Ruby requires an existing working Ruby installation. You may skip this section if you already have a working Ruby.
In the Ruby source tree, switch to an appropriate release:
git checkout v1_8_7_374
Note: this is the latest release I could find which does not require an existing Ruby.
Build:
autoconf && \
./configure --prefix=/local-install/ruby-bootstrap && \
make && \
make install;
Clean out source tree:
git clean -dfx
Checkout latest release:
git checkout v2_1_0
Build:
autoconf && \
./configure \
--with-baseruby=/local-install/ruby-bootstrap/bin/ruby \
--prefix=/local-install && \
make && \
make install;