Rails in production environment not working,but it's working in development environment

Posted by user1834759 on Stack Overflow See other posts from Stack Overflow or by user1834759
Published on 2012-11-19T04:30:05Z Indexed on 2012/11/19 5:00 UTC
Read the original article Hit count: 241

Filed under:
|
|
|

An ActionView::Template::Error occurred in posts#index:

couldn't find file 'jquery' (in /opt/ruby_apps/bookdate-website/app/assets/javascripts/cpanel_app.coffee:1) sprockets (2.1.3) lib/sprockets/context.rb:100:in `resolve'

An ActionView::Template::Error occurred in topics#show:

cannot load such file -- html/tokenizer actionpack (3.2.8) lib/action_controller/vendor/html-scanner/html/sanitizer.rb:18:in >`tokenize'

sometimes there is an exception thrown like the one mentioned above,but sometime it works why?

my ruby environment is ruby 1.9.3p194 (2012-04-20 revision 35410) [x86_64-linux]

Rails 3.2.8

© Stack Overflow or respective owner

Related posts about jQuery

Related posts about ruby-on-rails