Install Ruby via RVM when not installed
Issue #6
new
As a developer
I want Ruby, Sass and Compass be installed locally on my account (not globally on my machine)
so that my machine setup is not polluted and I get a flexible Ruby installation (that doesn't require sudo
for installing gems).
Details
Currently, Ruby, Sass and Compass are installed system-wide if they are not found when executing make bootstrap
. So, as an alternative we could install only RVM globally, and the rest of the Ruby tool chain locally. Quick'n'dirty example:
$ \curl -sSL https://get.rvm.io | bash -s stable --ruby
$ echo "export PATH=$PATH:~/.rvm/rubies/default/bin" >> ~/.bash_aliases
$ echo "gem: --no-document" >> ~/.gemrc
$ gem install --pre sass-css-importer
$ gem install compass
The behavior is defined at Makefile (lines 32+).
Comments (2)
-
reporter -
reporter Tracked in Mingle card #24.
- Log in to comment
The same should be true for Node.js via NVM. Both RVM and NVM should be installed (for front-end) before anything else.
See the "Development Notes" in the README of pelican-theme-cid-painless and the setup on the Dell XPS13 for the Painless website for some details.