Skip to content
This repository has been archived by the owner on Mar 21, 2018. It is now read-only.

Ensure that paths are escaped when validating #128

Merged
merged 1 commit into from
May 10, 2013

Conversation

thommay
Copy link
Contributor

@thommay thommay commented May 10, 2013

Otherwise, when running berks upload in paths with spaces in you get ruby validation errors.

@sethvargo
Copy link
Contributor

This will fix berkshelf/berkshelf#258. Thanks @thommay!

reset added a commit that referenced this pull request May 10, 2013
Ensure that paths are escaped when validating
@reset reset merged commit 259f1c9 into berkshelf:master May 10, 2013
@palfrey
Copy link

palfrey commented Sep 17, 2013

I'm getting a very similar error in another part of the chef support. Is this the same problem?

Ridley::Errors::CookbookSyntaxError: Invalid ruby files in cookbook: windows (1.10.1).
C:/opscode/chef/embedded/lib/ruby/gems/1.9.1/gems/ridley-1.2.5/lib/ridley/chef/cookbook.rb:175:in `validate'

I'm doing a berks upload with no paths specified, but my home directory has a space in the name

@berkshelf berkshelf locked and limited conversation to collaborators Jun 16, 2017
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants