Tag Archives: deployment

Deployment Using Mina

Got a nice web app and want to deploy and you have no clue about deployment of a rails app.. well that’s exactly me 2 days ago… here I’m sharing what I have learnt Assumptions You have a working app … Continue reading

Posted in Ruby on Rails, Tutorials | Tagged , , | 5 Comments

ruby on rails installation on fresh ubuntu machine

Ruby On Rails Installation on fresh ubuntu machine Installation steps are applicable to ubuntu versions interpid, karmic koala.Make necessary changes according to package manager provided by other linux operating systems in order install ruby and rails. Before getting started to … Continue reading

Posted in Ruby, Ruby on Rails | Tagged , | 1 Comment

Imagemagick/ RMagick Installation on ubuntu

ImageMagick Installation Ubuntu machine has default apt-get package manager.To install imagemagick following packages needs to be installed. apt-get install imagemagick librmagick-ruby libmagickwand-dev RMagick gem install gem install rmagick If you still facing problems with gem installation, Please look that following … Continue reading

Posted in Ruby on Rails | Tagged , , , | Leave a comment

nginx passenger configuration for rails application

#user  nobody;user www-data;worker_processes  2; #error_log  logs/error.log;#error_log  logs/error.log  notice;#error_log  logs/error.log  info; #pid        logs/nginx.pid; events {    worker_connections  1024;} http {    passenger_root /var/lib/gems/1.8/gems/passenger-2.2.8;    passenger_ruby /usr/bin/ruby1.8;    passenger_max_pool_size 3;     include       mime.types; default_type  application/octet-stream;     #log_format  main  ‘$remote_addr – … Continue reading

Posted in Ruby on Rails | Tagged , , | 3 Comments

Migrating an existing deployment to Heroku

It was fun — pure unadulterated fun!! Now, I started looking at heroku since our current deployment on a linode was getting a little bulky. Our client has been complaining of ‘suddenly things slowing down’ and ‘site not working’. The … Continue reading

Posted in Ruby on Rails | Tagged , , , | 1 Comment

jruby rails installation on ubuntu interpid

# install mysql if you dont have already installedsudo apt-get install mysql-server mysql-client libhtml-template-perl mailx dbishell libcompress-zlib-perl mysql-doc-5.0 tinyca # install ant and jdksudo apt-get install ant sun-java6-jdk # install jrubymkdir softwarecd softwarewget http://dist.codehaus.org/jruby/jruby-bin-1.1.5.tar.gztar xvfz jruby-bin-1.1.5.tar.gzln -s jruby-1.1.5 jrubyexport PATH=$PATH:$HOME/software/jruby/bin … Continue reading

Posted in Ruby on Rails | Tagged , | 1 Comment

Ruby 1.8.7 and rails installation on ubuntu interpid

Execute following commands in order to install ruby and rails. sudo apt-get install build-essential Below command will install all necessary packages.if you dont want any remove it from command. sudo apt-get install ruby ri rdoc mysql-server libmysql-ruby ruby1.8-dev irb1.8 libdbd-mysql-perl … Continue reading

Posted in Ruby on Rails | Tagged , | 1 Comment