Skip to content

Instantly share code, notes, and snippets.

@rderoldan1
Last active November 25, 2015 19:43
Show Gist options
  • Star 2 You must be signed in to star a gist
  • Fork 2 You must be signed in to fork a gist
  • Save rderoldan1/1648004 to your computer and use it in GitHub Desktop.
Save rderoldan1/1648004 to your computer and use it in GitHub Desktop.
errors that can appear when you try to install ruby gems

###This error can appear when you try to install ruby gems follow this steps:

###Error: no such file to load --zlib 1. sudo apt-get install zlib1g zlib1g-dev 2. cd /usr/src/ruby-1.9.2-p180/ext/zlib/ 3. sudo ruby extconf.rb 4. sudo make 5. sudo make install

###Error: no such file to load --openssl 1. sudo apt-get install openssl libssl-dev 2. cd /usr/src/ruby-1.9.2-p180/ext/openssl/ 3. sudo ruby extconf.rb 4. sudo make 5. sudo make install

###Error: Could not find a JavaScript runtime. See https://github.com/sstephenson/execjs for a list of available runtimes. 1.sudo apt-get install nodejs-dev

###An error occured while installing mysql2 1.sudo apt-get install libmysqlclient-dev 2.sudo gem install mysql2

###An error occured while installing pg 1.sudo apt-get install libpq-dev 2.sudo gem install pg

###An error occured while installing sqlite3 1.sudo apt-get install libsqlite3-dev 2.sudo gem install sqlite3

Error installing tiny_tds:

MacOS

     1. brew install freetds
     2. gem install tiny_tds -- --with-freetds-include=/usr/local/include --with-freetds-lib=/usr/local/lib --with-iconv-include=/usr/local/Cellar/libiconv/1.14/include --with-iconv-lib=/usr/local/Cellar/libiconv/1.14/lib

then you can have resolved your problem

@jvelezpo
Copy link

jvelezpo commented May 4, 2013

PhpMyAdmin

sudo ln -s /etc/phpmyadmin/apache.conf /etc/apache2/conf.d/phpmyadmin.conf

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment