Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

"Unresolved specs during Gem::Specification.reset" & " different prefix: "/" " errors #49

Closed
suriyaa opened this issue Apr 30, 2016 · 2 comments
Assignees
Milestone

Comments

@suriyaa
Copy link
Contributor

suriyaa commented Apr 30, 2016

What version of Bunto are you using (bunto -v)?

3.0.0

What operating system are you using?

Windows 10

What did you do?
Microsoft Windows [Version 10.0.10586]
(c) 2015 Microsoft Corporation. Alle Rechte vorbehalten.

C:\Users\Suriyaa>cd Downloads

C:\Users\Suriyaa\Downloads>bunto new test
New bunto site installed in C:/Users/Suriyaa/Downloads/test.

C:\Users\Suriyaa\Downloads>cd test

C:\Users\Suriyaa\Downloads\test>bunto serve
WARN: Unresolved specs during Gem::Specification.reset:
      listen (~> 3.0)
WARN: Clearing out unresolved specs.
Please report a bug if this causes problems.
Configuration file: C:/Users/Suriyaa/Downloads/test/_config.yml
            Source: C:/Users/Suriyaa/Downloads/test
       Destination: C:/Users/Suriyaa/Downloads/test/_site
 Incremental build: disabled. Enable with --incremental
      Generating...
bunto 3.0.0 | Error:  different prefix: "/" and "C:/Users/Suriyaa/Downloads/test"

C:\Users\Suriyaa\Downloads\test>bunto build
WARN: Unresolved specs during Gem::Specification.reset:
      listen (~> 3.0)
WARN: Clearing out unresolved specs.
Please report a bug if this causes problems.
Configuration file: C:/Users/Suriyaa/Downloads/test/_config.yml
            Source: C:/Users/Suriyaa/Downloads/test
       Destination: C:/Users/Suriyaa/Downloads/test/_site
 Incremental build: disabled. Enable with --incremental
      Generating...
bunto 3.0.0 | Error:  different prefix: "/" and "C:/Users/Suriyaa/Downloads/test"

C:\Users\Suriyaa\Downloads\test>
What did you expect to see?

Should create, build and serve a new Bunto project correctly!

What did you see instead?

Two errors:

WARN: Unresolved specs during Gem::Specification.reset:
      listen (~> 3.0)
WARN: Clearing out unresolved specs.

and

bunto 3.0.0 | Error:  different prefix: "/" and "C:/Users/Suriyaa/Downloads/test"
@suriyaa suriyaa added this to the Bugs milestone Apr 30, 2016
@suriyaa suriyaa self-assigned this Apr 30, 2016
@suriyaa
Copy link
Contributor Author

suriyaa commented May 4, 2016

✅ Fix Gem::Specification.reset: error

Error: WARN: Unresolved specs during Gem::Specification.reset: listen (~> 3.0) WARN: Clearing out unresolved specs.

Possible solution

3rd solution:

gem uninstall listen
gem uninstall bunto
gem install bunto

@suriyaa
Copy link
Contributor Author

suriyaa commented May 4, 2016

Trace output of the second error:

C:\Users\Suriyaa\Downloads>bunto serve --trace
Configuration file: none
            Source: C:/Users/Suriyaa/Downloads
       Destination: C:/Users/Suriyaa/Downloads/_site
 Incremental build: disabled. Enable with --incremental
      Generating...
C:/Ruby/Ruby22-x64/lib/ruby/gems/2.2.0/gems/bunto-3.0.0/lib/bunto/utils.rb:137:in `initialize': Invalid argument @ rb_sysopen - /Users/Suriyaa/Downloads/PROJECTS/MUSIC/music-download/PSY - GANGNAM STYLE(?????) M_V.mp4 (Errno::EINVAL)
        from C:/Ruby/Ruby22-x64/lib/ruby/gems/2.2.0/gems/bunto-3.0.0/lib/bunto/utils.rb:137:in `open'
        from C:/Ruby/Ruby22-x64/lib/ruby/gems/2.2.0/gems/bunto-3.0.0/lib/bunto/utils.rb:137:in `has_yaml_header?'
        from C:/Ruby/Ruby22-x64/lib/ruby/gems/2.2.0/gems/bunto-3.0.0/lib/bunto/reader.rb:43:in `block in read_directories'
        from C:/Ruby/Ruby22-x64/lib/ruby/gems/2.2.0/gems/bunto-3.0.0/lib/bunto/reader.rb:43:in `select'
        from C:/Ruby/Ruby22-x64/lib/ruby/gems/2.2.0/gems/bunto-3.0.0/lib/bunto/reader.rb:43:in `read_directories'
        from C:/Ruby/Ruby22-x64/lib/ruby/gems/2.2.0/gems/bunto-3.0.0/lib/bunto/reader.rb:74:in `block in retrieve_dirs'
        from C:/Ruby/Ruby22-x64/lib/ruby/gems/2.2.0/gems/bunto-3.0.0/lib/bunto/reader.rb:71:in `map'
        from C:/Ruby/Ruby22-x64/lib/ruby/gems/2.2.0/gems/bunto-3.0.0/lib/bunto/reader.rb:71:in `retrieve_dirs'
        from C:/Ruby/Ruby22-x64/lib/ruby/gems/2.2.0/gems/bunto-3.0.0/lib/bunto/reader.rb:47:in `read_directories'
        from C:/Ruby/Ruby22-x64/lib/ruby/gems/2.2.0/gems/bunto-3.0.0/lib/bunto/reader.rb:74:in `block in retrieve_dirs'
        from C:/Ruby/Ruby22-x64/lib/ruby/gems/2.2.0/gems/bunto-3.0.0/lib/bunto/reader.rb:71:in `map'
        from C:/Ruby/Ruby22-x64/lib/ruby/gems/2.2.0/gems/bunto-3.0.0/lib/bunto/reader.rb:71:in `retrieve_dirs'
        from C:/Ruby/Ruby22-x64/lib/ruby/gems/2.2.0/gems/bunto-3.0.0/lib/bunto/reader.rb:47:in `read_directories'
        from C:/Ruby/Ruby22-x64/lib/ruby/gems/2.2.0/gems/bunto-3.0.0/lib/bunto/reader.rb:74:in `block in retrieve_dirs'
        from C:/Ruby/Ruby22-x64/lib/ruby/gems/2.2.0/gems/bunto-3.0.0/lib/bunto/reader.rb:71:in `map'
        from C:/Ruby/Ruby22-x64/lib/ruby/gems/2.2.0/gems/bunto-3.0.0/lib/bunto/reader.rb:71:in `retrieve_dirs'
        from C:/Ruby/Ruby22-x64/lib/ruby/gems/2.2.0/gems/bunto-3.0.0/lib/bunto/reader.rb:47:in `read_directories'
        from C:/Ruby/Ruby22-x64/lib/ruby/gems/2.2.0/gems/bunto-3.0.0/lib/bunto/reader.rb:17:in `read'
        from C:/Ruby/Ruby22-x64/lib/ruby/gems/2.2.0/gems/bunto-3.0.0/lib/bunto/site.rb:161:in `read'
        from C:/Ruby/Ruby22-x64/lib/ruby/gems/2.2.0/gems/bunto-3.0.0/lib/bunto/site.rb:74:in `process'
        from C:/Ruby/Ruby22-x64/lib/ruby/gems/2.2.0/gems/bunto-3.0.0/lib/bunto/command.rb:26:in `process_site'
        from C:/Ruby/Ruby22-x64/lib/ruby/gems/2.2.0/gems/bunto-3.0.0/lib/bunto/commands/build.rb:60:in `build'
        from C:/Ruby/Ruby22-x64/lib/ruby/gems/2.2.0/gems/bunto-3.0.0/lib/bunto/commands/build.rb:33:in `process'
        from C:/Ruby/Ruby22-x64/lib/ruby/gems/2.2.0/gems/bunto-3.0.0/lib/bunto/commands/serve.rb:36:in `block (2 levels) in init_with_program'
        from C:/Ruby/Ruby22-x64/lib/ruby/gems/2.2.0/gems/mercenary-0.3.6/lib/mercenary/command.rb:220:in `call'
        from C:/Ruby/Ruby22-x64/lib/ruby/gems/2.2.0/gems/mercenary-0.3.6/lib/mercenary/command.rb:220:in `block in execute'
        from C:/Ruby/Ruby22-x64/lib/ruby/gems/2.2.0/gems/mercenary-0.3.6/lib/mercenary/command.rb:220:in `each'
        from C:/Ruby/Ruby22-x64/lib/ruby/gems/2.2.0/gems/mercenary-0.3.6/lib/mercenary/command.rb:220:in `execute'
        from C:/Ruby/Ruby22-x64/lib/ruby/gems/2.2.0/gems/mercenary-0.3.6/lib/mercenary/program.rb:42:in `go'
        from C:/Ruby/Ruby22-x64/lib/ruby/gems/2.2.0/gems/mercenary-0.3.6/lib/mercenary.rb:19:in `program'
        from C:/Ruby/Ruby22-x64/lib/ruby/gems/2.2.0/gems/bunto-3.0.0/bin/bunto:13:in `<top (required)>'
        from C:/Ruby/Ruby22-x64/bin/bunto:23:in `load'
        from C:/Ruby/Ruby22-x64/bin/bunto:23:in `<main>'

C:\Users\Suriyaa\Downloads>

Problems also founded in #47!

@suriyaa suriyaa mentioned this issue Jul 17, 2017
@suriyaa suriyaa closed this as completed Jul 17, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant