Loganathan Sellapa
2013-Feb-16 22:02 UTC
Fwd: Twitter bootstrap rails gem not working in production mode
Hi All, I am using ''twitter-bootstrap-rails'' in my rails app where I can run the application with bootstrap provided css successfully in development mode but the css is not taking effect in production mode, I hope something I am missing with the asset precompile. Copied below my gem file for y o ur reference anybody''s help is really appreciated. *Gemfile:* #I tried in bot inside and outside of the assets group gem ''twitter-bootstrap-rails'' *application.js* //= require jquery //= require jquery_ujs //= require twitter/bootstrap //= require_tree * * regards, Loganathan Mob: +91 7760780741 | +91 9944414388 Skype: loganathan.sellappa ViewMe <http://vizualize.me/loganathan> -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To unsubscribe from this group and stop receiving emails from it, send an email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org For more options, visit https://groups.google.com/groups/opt_out.
saikiran mothe
2013-Feb-17 05:08 UTC
Re: Fwd: Twitter bootstrap rails gem not working in production mode
RAILS_ENV=production bundle exec rake assets:precompile Try pre compile assets before depolying ! Thanks, Sai Kiran M On Sun, Feb 17, 2013 at 3:32 AM, Loganathan Sellapa <loganathan.ms-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:> > Hi All, > > I am using ''twitter-bootstrap-rails'' in my rails app where I can run the > application with bootstrap provided css successfully in development mode > but the css is not taking effect in production mode, I hope something I am > missing with the asset precompile. Copied below my gem file for y > o > ur reference anybody''s help is really appreciated. > > *Gemfile:* > #I tried in bot inside and outside of the assets group > gem ''twitter-bootstrap-rails'' > > *application.js* > //= require jquery > //= require jquery_ujs > //= require twitter/bootstrap > //= require_tree > * > * > regards, > Loganathan > Mob: +91 7760780741 | +91 9944414388 > Skype: loganathan.sellappa > ViewMe <http://vizualize.me/loganathan> > > -- > You received this message because you are subscribed to the Google Groups > "Ruby on Rails: Talk" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org > To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org > For more options, visit https://groups.google.com/groups/opt_out. > > >-- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To unsubscribe from this group and stop receiving emails from it, send an email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org For more options, visit https://groups.google.com/groups/opt_out.
Loganathan Sellapa
2013-Feb-17 06:12 UTC
Re: Fwd: Twitter bootstrap rails gem not working in production mode
Hi Sai Kiran, I am running application in production only after precompiling the assets. regards, Loganathan Mob: +91 7760780741 | +91 9944414388 Skype: loganathan.sellappa ViewMe <http://vizualize.me/loganathan> On Sun, Feb 17, 2013 at 10:38 AM, saikiran mothe <saikiran.mothe-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>wrote:> RAILS_ENV=production bundle exec rake assets:precompile > > > Try pre compile assets before depolying ! > > Thanks, > Sai Kiran M > > > > On Sun, Feb 17, 2013 at 3:32 AM, Loganathan Sellapa < > loganathan.ms-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote: > >> >> Hi All, >> >> I am using ''twitter-bootstrap-rails'' in my rails app where I can run the >> application with bootstrap provided css successfully in development mode >> but the css is not taking effect in production mode, I hope something I am >> missing with the asset precompile. Copied below my gem file for y >> o >> ur reference anybody''s help is really appreciated. >> >> *Gemfile:* >> #I tried in bot inside and outside of the assets group >> gem ''twitter-bootstrap-rails'' >> >> *application.js* >> //= require jquery >> //= require jquery_ujs >> //= require twitter/bootstrap >> //= require_tree >> * >> * >> regards, >> Loganathan >> Mob: +91 7760780741 | +91 9944414388 >> Skype: loganathan.sellappa >> ViewMe <http://vizualize.me/loganathan> >> >> -- >> You received this message because you are subscribed to the Google Groups >> "Ruby on Rails: Talk" group. >> To unsubscribe from this group and stop receiving emails from it, send an >> email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org >> To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org >> >> For more options, visit https://groups.google.com/groups/opt_out. >> >> >> > > -- > You received this message because you are subscribed to the Google Groups > "Ruby on Rails: Talk" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org > To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org > > For more options, visit https://groups.google.com/groups/opt_out. > > >-- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To unsubscribe from this group and stop receiving emails from it, send an email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org For more options, visit https://groups.google.com/groups/opt_out.
Werner
2013-Feb-17 09:52 UTC
Re: Twitter bootstrap rails gem not working in production mode
Hi.. my application.js //= require jquery //= require jquery_ujs //= require jquery-ui //= require bootstrap //= require_tree . my application.css.scss application.css$iconSpritePath: image-path(''glyphicons-halflings.png''); $iconWhiteSpritePath: image-path(''glyphicons-halflings-white.png''); @import "bootstrap"; $red: #CC0000; @import ''layout.css.scss''; @import ''typo.css.scss''; Hope that helps.. Werner Am Samstag, 16. Februar 2013 23:02:05 UTC+1 schrieb Loganathan Sellappa:> > > Hi All, > > I am using ''twitter-bootstrap-rails'' in my rails app where I can run the > application with bootstrap provided css successfully in development mode > but the css is not taking effect in production mode, I hope something I am > missing with the asset precompile. Copied below my gem file for y > o > ur reference anybody''s help is really appreciated. > > *Gemfile:* > #I tried in bot inside and outside of the assets group > gem ''twitter-bootstrap-rails'' > > *application.js* > //= require jquery > //= require jquery_ujs > //= require twitter/bootstrap > //= require_tree > * > * > regards, > Loganathan > Mob: +91 7760780741 | +91 9944414388 > Skype: loganathan.sellappa > ViewMe <http://vizualize.me/loganathan> > >-- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To unsubscribe from this group and stop receiving emails from it, send an email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To view this discussion on the web visit https://groups.google.com/d/msg/rubyonrails-talk/-/bvmtQKx45f8J. For more options, visit https://groups.google.com/groups/opt_out.