Gem Install Error – no such file to load — zlib
If you are troubled with the below gem install ERROR: Loading command: install (LoadError) no such file to load — zlib ERROR: While executing gem … (NameError) uninitialized constant Gem::Commands::InstallCommand Then you have installed ruby without the nessacary libraries available. Remove the ruby install (hopefully just rvm remove 1.9.2) Then install zlib1g-dev libssl-dev libreadline5-dev as […]
In: Ruby on Rails, Server Config · Tagged with: Ubuntu Lucid Lynx 10.04
How To – Installing Ruby on Rails on Ubuntu Lucid Lynx 10.04 Server
Install required packages sudo apt-get install build-essential git-core zlib1g-dev libssl-dev libreadline5-dev The required packages for installing Ruby Enterprise, and Git thrown in for good measure. Install Ruby Enterprise Download ruby-enterprise-1.8.7-2010.02.tar.gz & Install wget http://rubyforge.org/frs/download.php/71096/ruby-enterprise-1.8.7-2010.02.tar.gz tar xzvf ruby-enterprise-1.8.7-2010.02.tar.gz sudo ./ruby-enterprise-1.8.7-2010.02/installer May take a long time to get past the “Generating RI…” bit Also, ignore the “The following […]
In: How To · Tagged with: apache, capistrano, git, paperclip, phusion passenger, ruby enterprise, Ubuntu Lucid Lynx 10.04
sqlite3 Issues – Error installing sqlite3 – sqlite3 requires Ruby version >= 1.9.1
Errors as follows, common problem is not having the header files installed or installing the gem sqlite3 when you actually want sqlite3-ruby. sudo gem install sqlite3 ERROR: Error installing sqlite3: sqlite3 requires Ruby version >= 1.9.1. Fix with:
In: Ruby on Rails, Server Config · Tagged with: sqlite3-ruby, Ubuntu Lucid Lynx 10.04
RubyGem nokogiri failed to install – libxslt is missing – Error installing nokogiri
Had trouble installing nokogiri until I installed dependencies. libxslt is missing #or libxml2 sudo apt-get install libxslt-dev libxml2-dev Full Error Stacktrace:
In: Ruby on Rails, Server Config · Tagged with: nokogiri, rubygems, Ubuntu Lucid Lynx 10.04
Memcached – Libmemcached already built; run ‘rake clean’ first if you need to rebuild.
Trying to install memcached ruby gem on Ubuntu 10.04 Lucid Lynx and I get the error Libmemcached already built; run ‘rake clean’ first if you need to rebuild. Fixed this by installing sudo apt-get install libsasl2-dev gem uninstall memcached && gem install memcached Full Error Stacktrace:
In: Ruby on Rails, Server Config, Ubuntu Tricks · Tagged with: Memcached, rubygems, Ubuntu Lucid Lynx 10.04
Developing Ruby on Rails on Ubuntu Lucid Lynx 10.04
Update: For Installing Ruby on Rails onto a Ubuntu Server (Lucid Lynx 10.04) goto this post Developing for any Web Application can be helped by developing in the same environment as the deployment. For me this means that running Ubuntu Desktop and deploying onto Ubuntu Server is a no brainer. Most Ruby on Rails developers […]
In: Ruby on Rails, Server Config · Tagged with: Ubuntu Lucid Lynx 10.04