maxim / bootswatch-rails

Bootswatches converted to SCSS ready to use in Rails asset pipeline.
MIT License
489 stars 84 forks source link

File to import not found or unreadable error #46

Closed mohamedadaly closed 10 years ago

mohamedadaly commented 11 years ago

Hi

I am getting this error:

File to import not found or unreadable bootswatch/simplex/variables

I am using the latest gem with rails 4.0 and Ruby 2.0. The load path does not include the $GEM_HOME/bootswatch-rails-0.5.0/vendor/assets/stylesheets folder.

Should the gem include something like this to add this directory to the list of searched dirs?

stylesheets = File.expand_path(File.join("..", 'vendor', 'assets', 'stylesheets')) ::Sass.load_paths << stylesheets

Thanks.

esbanarango commented 10 years ago

@malaa You shouldn't have this issue on the current version (3.1.1).

kalashnikovisme commented 9 years ago

@esbanarango I have the same problem Gem version 3.2.4, Rails version 4.1.7. I've restarted the server.