ruby - getting error: 'File to import not found or unreadable: foundation/functions' on Rails application -
whenever try access rails app when it's running on localhost, error:
file import not found or unreadable: foundation/functions. load paths: /home/oscar/rubymineprojects/myapp/app/assets/images /home/oscar/rubymineprojects/myapp/app/assets/javascripts /home/oscar/rubymineprojects/myapp/app/assets/stylesheets /home/oscar/rubymineprojects/myapp/vendor/assets/javascripts /home/oscar/rubymineprojects/myapp/vendor/assets/stylesheets /var/lib/gems/2.1.0/gems/jquery-rails-4.1.0/vendor/assets/javascripts /var/lib/gems/2.1.0/gems/coffee-rails-4.1.1/lib/assets/javascripts /var/lib/gems/2.1.0/gems/foundation-rails-6.1.2.0/vendor/assets/js /var/lib/gems/2.1.0/gems/foundation-rails-6.1.2.0/vendor/assets/scss /var/lib/gems/2.1.0/gems/cocoon-1.2.7/app/assets/javascripts
i have tried fixing using every method find in similar questions, no avail. here gemfile:
source 'https://rubygems.org' gem 'foundation_rails_helper' gem 'cocoon' gem 'devise' gem 'foundation-rails' # bundle edge rails instead: gem 'rails', github: 'rails/rails' gem 'rails', '4.2.0' # use postgresql database active record gem 'pg' # use scss stylesheets gem 'sass-rails', '~> 5.0.4' # use uglifier compressor javascript assets gem 'uglifier', '>= 1.3.0' # use coffeescript .coffee assets , views gem 'coffee-rails', '~> 4.1.0' # see https://github.com/sstephenson/execjs#readme more supported runtimes gem 'therubyracer', platforms: :ruby # use jquery javascript library gem 'jquery-rails' ## build json apis ease. read more: https://github.com/rails/jbuilder gem 'jbuilder', '~> 2.0' # bundle exec rake doc:rails generates api under doc/api. gem 'sdoc', '~> 0.4.0', group: :doc gem 'remove_turbolinks' # use activemodel has_secure_password # gem 'bcrypt', '~> 3.1.7' # use unicorn app server # gem 'unicorn' # use capistrano deployment # gem 'capistrano-rails', group: :development group :development, :test # call 'byebug' anywhere in code stop execution , debugger console gem 'byebug' # access irb console on exception pages or using <%= console %> in views gem 'web-console', '~> 2.0' # spring speeds development keeping application running in background. read more: https://github.com/rails/spring gem 'spring' gem 'better_errors' end
any advice or suggestions appreciated.
Comments
Post a Comment