After you have install ruby on rails on your system you just need to follow these steps to use apache server as you web server for development or for production environment.
sudo gem install passenger
sudo passenger-install-apache2-module
LoadModule passenger_module /usr/lib/ruby/gems/1.8/gems/passenger-2.2.4/ext/apache2/mod_passenger.so PassengerRoot /usr/lib/ruby/gems/1.8/gems/passenger-2.2.4 PassengerRuby /usr/bin/ruby
you may have different line as shown in the image so copy these lines in your httpd.conf file right after the modules
Now next step is to create a Virtual host in httpd.conf file of your apache server .
<virtualhost * >
ServerName ror.blog.com
DocumentRoot /home/ismail/www/blogs/public
RailsEnv development
RailsBaseURI /blogs
</virtualhost>
last of all now you have to make a symbolic link to make rails up and running
ln -s /home/ismail/www/blogs/public /var/www/html/blogs
The folder of rails is public so what so ever your application is your symbolic link must point toward the public folder of that application.
Now you may restart you web server and enjoy using ruby on your favorite server.
its gud but strange one thing is missing.
ReplyDeleteWhere is Rude dude..........???
I know this is such an awesome blog, i loved this post, styling blog comments can be quite hard sometimes. Finding great resources like this blog is very rare.
ReplyDeleteRajat
http://roneebin.tumblr.com/post/4840810238/ruby-on-rails-application-development
Thanks for sharing such a informative article regarding ror application development and good too for ruby on rails consultants keep up the good work.
ReplyDeleteThis comment has been removed by the author.
ReplyDeleteHi
ReplyDeleteI am using fedora 20.
I followed the same steps in this blog. But still I am not able to deploy the application properly.
If I write below code in httpd.conf file
ServerName ror.sigma.com
DocumentRoot /var/www/html/sampleTest/public
RailsEnv development
RailsBaseURI /sampleTest
I am getting error as "Invalid command 'RailsEnv', perhaps misspelled or defined by a module not included in the server configuration
".
Please let me know the solution for this issue in fedora 20.
Thanks for sharing such a useful information with us. We offer best price in the industry and complete value of money to clients. We are one of the best companies offering ruby on rails development in India.
ReplyDeleteGreat, what a collaboration. I love your blog post. keep sharing. Thanks
ReplyDeleteRuby on Rails (RoR) Development
Thanks for sharing such details about ruby on rails programming. i read that post it is very nice and more intersting programming topic i think useful for all on Ruby on Rails Online course Bangalore
ReplyDeleteYeni perde modelleri
ReplyDeleteSms Onay
mobil ödeme bozdurma
nft nasıl alınır
Ankara Evden Eve Nakliyat
Trafik sigortasi
dedektör
web sitesi kurma
Aşk romanları
Smm panel
ReplyDeleteSMM PANEL
iş ilanları
İNSTAGRAM TAKİPÇİ SATIN AL
hirdavatciburada.com
beyazesyateknikservisi.com.tr
Servis
tiktok jeton hilesi
kartal arçelik klima servisi
ReplyDeletekadıköy beko klima servisi
kartal lg klima servisi
pendik daikin klima servisi
ataşehir mitsubishi klima servisi
maltepe vestel klima servisi
üsküdar arçelik klima servisi
çekmeköy toshiba klima servisi
üsküdar lg klima servisi
Good content. You write beautiful things.
ReplyDeletemrbahis
sportsbet
vbet
taksi
sportsbet
korsan taksi
mrbahis
hacklink
vbet
Success Write content success. Thanks.
ReplyDeletekıbrıs bahis siteleri
betmatik
canlı slot siteleri
betpark
betturkey
canlı poker siteleri
kralbet
Good text Write good content success. Thank you
ReplyDeletekralbet
kibris bahis siteleri
betmatik
mobil ödeme bahis
poker siteleri
betpark
bonus veren siteler
tipobet
dijital kartvizit
ReplyDeletereferans kimliği nedir
binance referans kodu
referans kimliği nedir
bitcoin nasıl alınır
resimli magnet
OKBRR
hatay
ReplyDeletekars
mardin
samsun
urfa
İMİQ
muş
ReplyDeleteniğde
tunceli
aydın
amasya
JT8JX
https://saglamproxy.com
ReplyDeletemetin2 proxy
proxy satın al
knight online proxy
mobil proxy satın al
OJZZ
شركة صيانة افران
ReplyDeleteشركة تنظيف افران
شركة تسليك مجاري بالدمام q02G2paAYH
ReplyDeleteشركة مكافحة النمل الأبيض بالاحساء xnEjjB7xf1
ReplyDelete