Skip to content

Instantly share code, notes, and snippets.

Avatar

TROi TroiSilver

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

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,

View gist:ae5762e9a2c64c597534c51cc4e6fe5f
# 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 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
@TroiSilver
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 ./manager-linux-x64.run*
this will run the actual gui for xampp
thanks....