[Rails] Re: passenger apache2 setup with ipaddress

2014-01-24 Thread Mārtiņš Poļakovs
Hi, If I understand you correctly, you want to deploy your rails app to sub-uri. There's a how-to in passenger documentation: http://www.modrails.com/documentation/Users%20guide%20Apache.html#deploying_rails_to_sub_uri I think you don't have to put ServerName xxx.xxx.xx.xx at all in your Virtu

[Rails] Re: Bootstrap issues with RoR

2013-01-23 Thread Mārtiņš Poļakovs
ady(function(){ > ('.carousel').carousel(); > }); > > > // This works - > > $(document).ready(function(){ > jQuery('.carousel').carousel(); > }); > > > Why is the jQuery needed? > > On Wednesday, January 23, 2013 12:43:00 AM UTC-

[Rails] Re: Bootstrap issues with RoR

2013-01-23 Thread Mārtiņš Poļakovs
In order for carousel to work you need to include bootstrap javascript files. In your application.js file put //= require bootstrap On Wednesday, January 23, 2013 7:18:55 AM UTC+2, xsc...@gmail.com wrote: > > I added bootstrap-sass to my Gemfile, did bundle install, added "@import > bootstrap"