zmoazeni / csscss

A CSS redundancy analyzer that analyzes redundancy.

Home Page:http://zmoazeni.github.io/csscss/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Put together blurb about setting up ruby v1.9+

zmoazeni opened this issue · comments

Due to the audience there are a lot of non-ruby devs using csscss. A number of them have had issues getting setup. Some simple guide or links to popular guides would be a great idea.

It would be nice from you to lend a helping hand to those who – like me – do not want to dive in to ruby and rails details just want to try / use this – possibly :) – great tool.

OS X (still the latest, Mountain Lion) comes with an old 1.8.7 Ruby. There are tons of different suggestion on the web how to update it (use RVM, rbenv, Homebrew, Railsinstaller, XCode(!) etc). It is overwhelming! There are too much options, it is hard to decide which one to follow. And I do not want to mess my system with a lot of different tools which I do not use just to able to use a gem.

So it would be nice to get an "official" tutorial how to update to Ruby 1.9x (or 2.x?) on OS X in the simpleest and lightest way (changing just the the neccesary minimum) to be able to use csscss.

@thamas Yeah I can appreciate that. We Rubyists like our variety, that is for sure. I don't know if I can give an "official stamp of approval" but I need to write a wiki page that describes a few different how tos and answers some obvious questions.

I would recommend rvm and homebrew. Homebrew installs stuff in /usr/local but does it in a way that can be easily removed. rvm installs everything into a folder in your home directory by default (you can also setup Homebrew to do the same. Neither need sudo and should work out of the box with minimal system impact. I use them both myself for that very reason.

XCode is a different beast, but you can install that from the App Store. That's endorsed by Apple so that better not hose anything.

Thanks for the answer! I'm watin' for the wiki pages but 'till that will try to manage with Homebrew and rbenv or rvm on my own…

Just FYI I installed Hombrew and than rbenv (using Homebrew and rbenv installation instructions). After that I was able to install Ruby 1.9.3 and csscss and it works! Thanks! :)

I think this will become a non-issue with v2.0. I'm seriously considering rewriting csscss in scala, so the whole ruby setup stuff won't be an issue. It'll all depend on java installed.