Showing posts with label rubygems. Show all posts
Showing posts with label rubygems. Show all posts

Monday, 14 November 2011

Installation guide for several ruby gems

typhoeus
In order to install the typhoeus gem, you need to have the curl library installed. You can do this by:
sudo apt-get install libcurl4-openssl-dev


linecache19
linecache19 requires vm_core.h which needs to be included when installing ruby-debug19
sudo gem install ruby-debug19 -- --with-ruby-include=/src_file_paht_with_vm_core.h

Tuesday, 30 August 2011

Installing rubygems

Installing rubygems on Ubuntu 11.04 takes several steps:

$ sudo apt-get install rubygems rubygems-update
$ gem env | grep EXECUTABLE
// cd to the executable directory
$ update_rubygems 
// now rubygems will be installed in the correct directory.

Sunday, 6 March 2011

Libraries needed for RoR development

For a RoR project that has a Gemfile, you can install all the required gems using the bundle command. You need to install bundler first. You may also install some other apps/libraries by using the following commands:
sudo apt-get install build-essential ruby1.8-dev
sudo apt-get install mysql-server mysql-client libmysqlclient-dev
sudo apt-get install sqlite3 libsqlite3-dev
sudo gem update --system 
sudo gem install bundler