wiki:software:ruby
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revision | |||
wiki:software:ruby [2023/03/17 12:49] – removed - external edit (Unknown date) 127.0.0.1 | wiki:software:ruby [2023/03/17 12:49] (current) – created keistc | ||
---|---|---|---|
Line 1: | Line 1: | ||
+ | ====== Installing Ruby From Source ====== | ||
+ | To install Ruby you will first need to install the libyaml from [[https:// | ||
+ | To install libyaml do the following: | ||
+ | 1. change into the source directory | ||
+ | cd libyaml-0.2.5 | ||
+ | 2. Run the bootstrap script | ||
+ | ./bootstrap | ||
+ | 3. Run configure script with prefix set to / | ||
+ | /configure --prefix=/ | ||
+ | make | ||
+ | make install | ||
+ | That it for the libyaml prereq. Next need to download the source code for Ruby [[https:// | ||
+ | To compile first need to set the following environment variables | ||
+ | export CPPFLAGS=" | ||
+ | export LDFLAGS=-L/ | ||
+ | Then change the directory into the Ruby source folder and run the configure script | ||
+ | ./configure --prefix=/ | ||
+ | make | ||
+ | make install | ||
+ | That should be it. |