Skip to content

Instantly share code, notes, and snippets.

View TroiSilver's full-sized avatar

TROi TroiSilver

  • RSA (mpumalanga >> nelspruit)
View GitHub Profile
@TroiSilver
TroiSilver / howto-manually-add-trust-cert-to-rubygems.md
Created February 6, 2018 11:20
Workaround RubyGems' SSL errors on Ruby for Windows (RubyInstaller)

SSL upgrades on rubygems.org and RubyInstaller versions

UPDATE 2016-12-01: Please refer to the official guide instead of this process.

UPDATE 2014-12-21: RubyGems 1.8.30, 2.0.15 and 2.2.3 have been released. It requires manual installation, please see instructions below.


Hello,

@TroiSilver
TroiSilver / gist:ae5762e9a2c64c597534c51cc4e6fe5f
Created February 1, 2018 11:16 — forked from sstephenson/gist:1120938
Quick guide to installing rbenv
# Clone rbenv into ~/.rbenv
git clone git@github.com:sstephenson/rbenv.git ~/.rbenv
# Add rbenv to your PATH
# NOTE: rbenv is *NOT* compatible with rvm, so you'll need to
# remove rvm from your profile if it's present. (This is because
# rvm overrides the `gem` command.)
echo 'export PATH="$HOME/.rbenv/bin:$HOME/.rbenv/shims:$PATH"' >> ~/.bash_profile
exec $SHELL
@TroiSilver
TroiSilver / XAMPP-mysql.txt
Created September 22, 2017 20:54
Xamp no such file or directory found ERROR on Ubuntu linux
XAMPP mysql port in use/can't start mysql .
This is caused by installing MYSQL using the terminal and then install XAMPP .
the mysql for xampp wont get the port 3306 , since is currently owned by the one installed 1st.
so, You should uninstall both XAMPP and the mysql server installed via terminal.
$: sudo apt-get remove mysql *
$: sudo rm -rf /opt/lampp
@TroiSilver
TroiSilver / startXamp
Created August 24, 2017 01:26
how to start xampp or lamp on ubuntu
run the command :
$ cd /opt/lampp/
troi@ubuntu:/opt/lampp$ sudo ./manager-linux-x64.run*
this will run the actual gui for xampp
thanks....