-
Notifications
You must be signed in to change notification settings - Fork 340
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
couldn't find file 'dataTables/jquery.dataTables.bootstrap3' #94
Comments
@nekapoor It is weird. You got the error at production or development environment? |
I get this in my development environment. I've pasted the relevant code below. Thank you so much. APPLICATION.JS //= require jquery //= require_tree . APPLICATION.CSS: *= require_self *= require_directory . GEMFILE: source 'https://rubygems.org' ruby "1.9.3" gem 'rails_admin', '0.4.9' group :development, :test do group :development do group :test do group :assets do gem 'uglifier', '>= 1.0.3' group :production, :staging do |
Please, try with a closed version: gem 'jquery-datatables-rails', '~> 1.12.2' This version 1.12.2 I am using at production at a client product and it is working. I will look closer your files and the master branch |
it worked! thank you so much! |
I had the same issue, I tried to install the gem based on the Finally: Worked. Thanks. |
@Vadorequest I am working at dev branch, there a lot of error. It is weird, because you don't need to add github address with you are using a closed version like '1.12.2' Did you try only gem 'jquery-datatables-rails', '~> 1.12.2' ? Thanks. |
Oh, I didn't try without the git url, because that was in the example in the README. My mistake was to try to use the dev branch. |
#98 merged |
I ran into the same problem in production (works fine in development env) with the gem version 1.12.2.
Reading previous comments, I think the error should have been fixed. I would love to hear any idea. Thank you! |
i get the same error, but i changed the asset files in this way: app/assets/javascripts/application.js//= require dataTables/jquery.dataTables app/assets/stylesheets/application.css*= require dataTables/bootstrap/2/jquery.dataTables.bootstrap because i was using bootstrap 2 this worked fine |
I had a much simpler reason, the installer had inserted the require line in my application js //= require dataTables/bootstrap/3/jquery.dataTables.bootstrap BEFORE the Bootstrap require line swapping them around so require bootstrap first then data tables solved |
Hello,
I followed your instructions and in my app, I get this error. I'm not sure if anyone else has experienced this, but I have no idea how to solve it.
Any ideas would be greatly appreciated. Thanks so much.
The text was updated successfully, but these errors were encountered: