You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The root problem might actually be a ruby on msys bug but just in case anyone has the same issue I am posting this here for fellow windows hackers.
The rake theme:install task refuses to work for me, when it tries to move "_theme_packages/_tmp" to a named folder, it invariably fails. The exact command is:
mv(tmp_path, new_path)
After much testing it appears that the yaml manifest file of the theme is not being closed after manifest = YAML.load_file(manifest) is called. Thus the "_tmp" directory cannot be deleted.
The workaround is to first open the file using Ruby IO and then use YAML.load(<somefile>)
Pull request will be provided soon.
The text was updated successfully, but these errors were encountered:
OS: Windows 7
Environment: Msys / MinGW
The root problem might actually be a ruby on msys bug but just in case anyone has the same issue I am posting this here for fellow windows hackers.
The rake theme:install task refuses to work for me, when it tries to move "_theme_packages/_tmp" to a named folder, it invariably fails. The exact command is:
mv(tmp_path, new_path)
After much testing it appears that the yaml manifest file of the theme is not being closed after
manifest = YAML.load_file(manifest)
is called. Thus the "_tmp" directory cannot be deleted.The workaround is to first open the file using Ruby IO and then use
YAML.load(<somefile>)
Pull request will be provided soon.
The text was updated successfully, but these errors were encountered: