Closed andoriyu closed 9 years ago
@andoriyu hi Andrey! Have you tried renaming your application.css to application.css.scss ? Seemed to work before if I can remember correctly. I just recently made an example app for this gem. You may want to check this out https://github.com/tors/jquery-fileupload-rails-paperclip-example
@tors yes, it is already application.css.scss. Just removing fixes of IE worked for me.
+1 - This seems to be happening to my app as well -- exact same error.
Also changed to application.css.scss
with no luck.
I had the same problem. It seems that it is something with sass gem version 3.2.0. To force using sass 3.1.x put in your Gemfile:
gem 'sass', '~> 3.1.0'
+1 The same error appeared after upgrading sass, and I can confirm @guigs fix worked.
Yes, this is an issue for me, SASS 3.2 seems to be to blame
+1 SASS 3.2 either has tightened the DSL or something turned sour on them :)
@guigs is right - forcing 'sass' down works for me too
any chance we can see if that fix still works for IE 7?
I had the same problem with sass 3.2.1. Reverting back to 3.1.21 worked for me.
thanks. replacing the lines as mentioned by @ethul worked for me.
hey @ethul, where is the jquery.fileupload-ui.css.erb file located?
hi @richkuo, this depends on how you have ruby install. The file will end up where you have your gems installed:
/path/to/your/ruby/gems/jquery-fileupload-rails-0.3.2/vendor/assets/stylesheets/jquery.fileupload-ui.css.erb
@ethul thanks i forked over my own repo, made the changes, and explicitly called it in my Gemfile with gem 'jquery-fileupload-rails', :git => "git://github.com/richkuo/jquery-fileupload-rails"
hi @richkuo ! I also do this....
Thanks @ethul, worked great!
+1 for this issue
+1
+1
+1
+1
As written above: upgrade sass.
bundle exec rake assets:precompile 15:12:04 /Users/andoriyu/.rvm/rubies/ruby-1.9.3-p194/bin/ruby /Users/andoriyu/.rvm/gems/ruby-1.9.3-p194/bin/rake assets:precompile:all RAILS_ENV=production RAILS_GROUPS=assets rake aborted! Invalid CSS after "*": expected "{", was "html .fileinput..."
"html" may only be used at the beginning of a selector. (in /Users/andoriyu/Git/Ruby/sarp/app/assets/stylesheets/application.scss)
Tasks: TOP => assets:precompile:primary (See full trace by running task with --trace) rake aborted! Command failed with status (1): [/Users/andoriyu/.rvm/rubies/ruby-1.9.3-p19...]
Tasks: TOP => assets:precompile (See full trace by running task with --trace)