$ gem server
This will start ruby documentation server on port 8088
previously it was
$ gem_server
which is now deprecated and may not work in your system
We used to stuck with many small issues in day-to-day coding. Again there can be small tips & tricks on how to get savvy, especially for less popular platforms like django & Ruby on Rails. The target of this blog is list the solutions & tips a developer found in his day-to-day coding.
$ gem server
$ gem_server
$ sudo apt-get install ruby irb ri rdoc ruby1.8-dev libopenssl-ruby1.8 build-essential
$ wget http://rubyforge.org/frs/download.php/29548/rubygems-1.0.1.tgz
$ tar xzvf rubygems-1.0.1.tgz
$ cd rubygems-1.0.1
$ sudo ruby setup.rb
$ sudo ln -s /usr/bin/gem1.8 /usr/bin/gem
$ sudo gem update --system
$ sudo gem install rails
$ sudo gem install mongrel
sudo apt-get remove imagemagick
$ tar xvvzf ImageMagick.tar.gz
$ cd ImageMagick
$ ./configure –prefix=/usr
$ make
$ sudo make install
$ sudo gem install rmagick
$ sudo apt-get install libmagick9-dev
$ sudo gem install rmagick
$ sudo apt-get install memcached
$ sudo gem install memcache-client
# a2enmod rewrite
AllowOverride All
# sudo /etc/init.d/apache2 force-reload
mysqldump --user <mysql_username> --password=<mysql_password> <database> [<tablename>] > <output_filename>
mysql --user <db_username> --password=<db_password> <dbname> < <dump_file>