Re: [Rails] Postgres issue

2018-08-08 Thread Khizer Mehdi
Piyush, As Mike suggested, can you set host,port setting explicitly in database.yml and can you re run rake db:create On Tue 7 Aug, 2018, 8:15 PM Piyush Chowhan, wrote: > Ya, I have tried with the login from the shell which I have given in the > database.yml file. > > On Tue, Aug 7, 2018 at 7

Re: [Rails] Python User In Need Of Help Setting Up And Customizing Open Source, Simple Rails App!

2015-09-28 Thread Khizer Mehdi
Hi, This is an rails application you need to start application with any application server such as Unicorn, Thin, Mongrel Once application is started, you can configure with webserver i.e Nginx or Apache. u need to create subdomain under example.com as landingpage.example.com configure this

Re: [Rails] Unable to install pg gem: Could not create Makefile due to some reason

2014-07-22 Thread Khizer Mehdi
Make sure libpq-dev package is installed. On Tue, Jul 22, 2014 at 9:44 PM, Himanshu Prakash wrote: > Hi All, > While installing postgres gem, getting following error- > > #= ERROR MESSAGE START === > > Building native extensions. This could take a while... > > /System/Library/Frame

Re: [Rails] Ruby on Rails ExecJS::RuntimeError in Pages#home

2013-09-30 Thread Khizer Mehdi
Hi, add in Gemfile gem 'execjs' gem 'therubyracer' run bundle install and check Regards Mehdi On 9/30/13, Pretty G. wrote: > I generated a page using a controller. But when I go to the > localhost:3000/pages/home. I got this error: ExecJS::RuntimeError in > Pages#home > > How can I fix th

Re: [Rails] ruby connect oracle problem

2013-08-29 Thread Khizer Mehdi
: No such file or > directory -- /home/mnts26/Downloads/ROR (LoadError) > 'system /home/mnts26/.rvm/rubies/ruby-1.9.3-p448/bin/ruby > /home/mnts26/Downloads/ROR OCI8/ruby-oci8-2.0.4/ext/oci8/extconf.rb ' > failed > Try 'ruby setup.rb --help' for detailed usag

Re: [Rails] ruby connect oracle problem

2013-08-29 Thread Khizer Mehdi
Hi Tsolmon, Have u installed ruby-oci8 gem package Regards Mehdi On 8/29/13, Tsolmon Narantsogt wrote: > Hello folks. > > I'm new in Ruby also ROR. > I installed oracle intant client and test it it works fine. Now I wanna > connect to oracle db. But its got some error. like this > *custom

Re: [Rails] WickedPdf error in production

2013-01-31 Thread Khizer Mehdi
Hi Saravanan, Try below steps : 1. Download wicked pdf file if your machine is 64 bit http://wkhtmltopdf.googlecode.com/files/wkhtmltopdf-0.9.9-static-amd64.tar.bz2 if your machine is 32 bit http://wkhtmltopdf.googlecode.com/files/wkhtmltopdf-0.9.9-static-i386.tar.bz2 2. cd /usr/local/bin ex

Re: [Rails] Initialising error on Ubuntu 11.10

2011-11-12 Thread khizer Mehdi
Degrading gem version (ex : 1.3.7 )hope it helps to resolve below error Mehdi On 11/6/11, Tommy Pollak wrote: > After upgrading to Ubuntu 11.10 from 11.04 my Rails application does > not > start properly > > $ script/server > /var/lib/gems/1.8/gems/activesupport-2.3.5/lib/active_support/ > dep

Re: [Rails] no such file to load -- openssl (LoadError) - Deperate for solution after 3 days

2011-11-12 Thread khizer Mehdi
Hav u installed the following packages openssl libopenssl-ruby libssl-dev Mehdi On 11/6/11, Rob on the Rails wrote: > no such file to load -- openssl (LoadError) > - Deperate for solution after 3 days > > Does anybody have an answer, or ever some explanation of the “no such > file to load –