gem update --system
gem update *
gem install sass
gem install compass
https://github.com/guard/guard/wiki/Add-proper-Readline-support-to-Ruby-on-Mac-OS-X
rvm get stable
gem update --system
gem update *
rvm pkg install readline --verify-downloads 1
ruby_configure_flags=--with-readline-dir=/usr/local/opt/readline
rvm reinstall all --force
On cPanel/WHM installs
/scripts/installruby
On CentOS https://www.digitalocean.com/community/articles/how-to-install-ruby-on-rails-on-centos-6
sudo yum install ruby
sudo yum install gcc g++ make automake autoconf curl-devel openssl-devel zlib-devel httpd-devel apr-devel apr-util-devel sqlite-devel
sudo yum install rubygems
curl -L https://get.rvm.io | bash -s stable --rails --autolibs=enabled # Or, --ruby=2.0.0
rvm get head
sudo yum install libyaml-devel
rvm install 2.0.0
If this fails, search for the dependancy that it failed on, and remove it from the following file- edit
/usr/local/rvm/scripts/functions/requirements/centos
-
gem install bundler
-
Create Gemfile in
/root
, then add the contents of this gist to is: https://gist.github.com/facelordgists/5416559 -
bundle install
-
gem bundle
cd /var/www/vhosts/staging.roadside2.com/httpdocs/roadside-2013/wp-content/themes/roadside-2013/
gem install ruby-growl