Skip to content

Instantly share code, notes, and snippets.


TROi TroiSilver

  • RSA (mpumalanga >> nelspruit)
View GitHub Profile
TroiSilver / startXamp
Created Aug 24, 2017
how to start xampp or lamp on ubuntu
View startXamp
run the command :
$ cd /opt/lampp/
troi@ubuntu:/opt/lampp$ sudo ./*
this will run the actual gui for xampp
TroiSilver / XAMPP-mysql.txt
Created Sep 22, 2017
Xamp no such file or directory found ERROR on Ubuntu linux
View XAMPP-mysql.txt
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
View gist:ae5762e9a2c64c597534c51cc4e6fe5f
# Clone rbenv into ~/.rbenv
git clone ~/.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 /
Created Feb 6, 2018
Workaround RubyGems' SSL errors on Ruby for Windows (RubyInstaller)

SSL upgrades on 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.