Quantcast
Channel: Recent Discussions — DataTables forums
Viewing all articles
Browse latest Browse all 81688

couldn't find file 'dataTables/jQuery.dataTables'

$
0
0
Hello I'm trying to implement dataTables per the railscast[1] on it. I just want to setup the simple client side version he introduces in the beginning. So far I've added this to my gem file:

group :assets do
  gem 'jquery-datatables-rails', github: 'rweng/jquery-datatables-rails'
  gem 'jquery-ui-rails'
end

I ran bundle install. And then added this to my app/assets/javascripts/application.js:

//= require dataTables/jquery.dataTables

And this to my app/assets/stylesheets/application.css:

*= require dataTables/jQuery.dataTables

When I fire up the development server I get this error:

couldn't find file 'dataTables/jQuery.dataTables'
 (in /Users/ircmullaney/RubyCode/cif/app/assets/stylesheets/application.css:13)

I'm sure I'm missing something simple here, but not sure what it is. Any suggestions?

[1]: http://railscasts.com/episodes/340-datatable

Cross posted on stackoverflow: http://stackoverflow.com/questions/12960742/railscast-340-datatables-couldnt-find-file-datatables-jquery-datatables

Viewing all articles
Browse latest Browse all 81688

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>