Open micmmakarov opened 11 years ago
Got the same issue.
+1 fix: missing gems for twitter-boostrap-rails: gem 'therubyracer' gem 'less-rails'
after to fix broken css, rails g bootstrap:install -f.
Thanks morkevicius. I was scratching my head for awhile.
Add gem 'less' in group :assets do
group :assets do . . . gem 'less' . . end
just remove the stylesheet from your asset pipeline and add this code to your main css,less file your gonna wanna control the style anyways
.fileinput-button { position: relative; overflow: hidden; } .fileinput-button input { position: absolute; top: 0; right: 0; margin: 0; opacity: 0; -ms-filter: 'alpha(opacity=0)'; font-size: 200px; direction: ltr; cursor: pointer; }
/* Fixes for IE < 8 */ @media screen\9 { .fileinput-button input { filter: alpha(opacity=0); font-size: 100%; height: 100%; } }
Hi, trying to run it and getting an error:
LoadError in Uploads#index
Showing /rails/jquery-fileupload-rails-paperclip-example/app/views/layouts/application.html.erb where line #5 raised:
cannot load such file -- less (in /rails/jquery-fileupload-rails-paperclip-example/app/assets/stylesheets/bootstrap_and_overrides.css.less) Extracted source (around line #5):
2: 3:
4: