Hello, after running bundle install (or update) today (27-Aug-2015) I received this error:
ERROR Errno::EINVAL: Invalid argument @ rb_sysopen - C:/_Daten/Ruby/ai/C:/_Daten/Ruby/ai/C:/_Daten/Ruby/ai/C:/_Daten/Ruby/ai/C:/_Daten/Ruby/ai/app/assets/images/cp-points-icon.ico
As you can see, the path "C:/_Daten" is repeated 5 times.
I cannot imagine why and where it happens.
My _form.haml.html looks like this:
<%= image_tag 'cp-logo.png', class: "logo", style: "height:18px; width:auto; " %>
This happens on my Windows 10 development environment.
My Ubunt15.04 development environment is showing the icons and pictures quite correct.
And now checked on my Win7 development environment. That is bringing up the same issue.
Issue is: for all pics and icons and glyphicons the path is being inserted more than one time.
This is my code for showing glyphicons:
<i class="glyphicon glyphicon-home"> Home</i>
And the error is like this:
ERROR Errno::EINVAL: Invalid argument @ rb_sysopen - C:/_Daten/Ruby/ai/C:/_Daten/Ruby/ai/C:/_Daten/Ruby/ai/C:/Ruby21/lib/ruby/gems/2.1.0/gems/bootstrap-sass-3.3.4.1/assets/fonts/bootstrap/glyphicons-halflings-regular.woff
So my question now is: how can I take control of the path for the glyphicon-file.
Any help from anyone?
Thanks.
Now the issue with the wrong path has been fixed
Icons, images and glyphicons are now displayed.
Solution: update the gem "sprockets" to version 3.3.4
Thanks, Andi. – Cokiehh Sep 02 '15 at 08:38