# apt-get install build-essential ruby-dev libmysqlclient-dev
- The red metacoder side of a mad betacoder scientist -
Showing posts with label gems. Show all posts
Showing posts with label gems. Show all posts
Wednesday, August 31, 2016
How to install mysql2 gem on Ubuntu
If you are having trouble to install the mysql2 gem, try the following:
Tuesday, March 6, 2012
How to install sqlite3-ruby gem on linux
If you are having trouble to install the sqlite3-ruby gem, try the following:
In systems with apt-get:
In systems with yum:
In systems with apt-get:
# apt-get install libsqlite3-devIn systems with yum:
# yum install sqlite-devel
How to install bson_ext gem on linux
MongoDB requires the bson_ext gem to increase performance. However, it's common to be not ready to install it.
In ubuntu (10.04 32bit) I had to run:
In systems with yum I had to run:
Finally in both systems I could run, with no errors:
In ubuntu (10.04 32bit) I had to run:
# apt-get install ruby1.8-devIn systems with yum I had to run:
# yum install gcc
# yum install make
# yum install ruby-devel
Finally in both systems I could run, with no errors:
# gem install bson_ext
Subscribe to:
Posts (Atom)