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

Got error/exception just after gem sbire install #3

Open
famished-tiger opened this issue Nov 28, 2013 · 6 comments
Open

Got error/exception just after gem sbire install #3

famished-tiger opened this issue Nov 28, 2013 · 6 comments

Comments

@famished-tiger
Copy link

Hello,

I just did:
gem install sbire
followed by:
sbire install
I got the following exception:
C:/Ruby193/lib/ruby/1.9.1/psych.rb:297:in initialize': No such file or director y - C:/Users/Himself/.sbire/config.yml (Errno::ENOENT) from C:/Ruby193/lib/ruby/1.9.1/psych.rb:297:inopen'
from C:/Ruby193/lib/ruby/1.9.1/psych.rb:297:in load_file' from C:/Ruby193/lib/ruby/gems/1.9.1/gems/sbire-0.0.7/lib/sbire_config.rb :40:inconfig'

I am working with:
ruby 1.9.3p374 (2013-01-15) [i386-mingw32]
under Windows 8.1

@GCorbel
Copy link
Owner

GCorbel commented Nov 28, 2013

For now, you can just create the .sbire directory, create a file called config.yml and copy this lines on it.

I'm working on your issue but I never tried it on windows.

@lassebunk
Copy link

Same on Mac:

$ sbire install                                                                               ⏎
/Users/lassebunk/.rvm/rubies/ruby-2.0.0-p247/lib/ruby/2.0.0/fileutils.rb:1551:in `stat': No such file or directory - ./files/config_linux.yml (Errno::ENOENT)
    from /Users/lassebunk/.rvm/rubies/ruby-2.0.0-p247/lib/ruby/2.0.0/fileutils.rb:1551:in `block in fu_each_src_dest'
    from /Users/lassebunk/.rvm/rubies/ruby-2.0.0-p247/lib/ruby/2.0.0/fileutils.rb:1567:in `fu_each_src_dest0'
    from /Users/lassebunk/.rvm/rubies/ruby-2.0.0-p247/lib/ruby/2.0.0/fileutils.rb:1549:in `fu_each_src_dest'
    from /Users/lassebunk/.rvm/rubies/ruby-2.0.0-p247/lib/ruby/2.0.0/fileutils.rb:393:in `cp'
    from /Users/lassebunk/.rvm/gems/ruby-2.0.0-p247/gems/sbire-0.0.7/lib/sbire.rb:60:in `install'
    from /Users/lassebunk/.rvm/gems/ruby-2.0.0-p247/gems/sbire-0.0.7/lib/sbire.rb:25:in `call'
    from /Users/lassebunk/.rvm/gems/ruby-2.0.0-p247/gems/sbire-0.0.7/lib/sbire.rb:16:in `run'
    from /Users/lassebunk/.rvm/gems/ruby-2.0.0-p247/gems/sbire-0.0.7/bin/sbire:4:in `<top (required)>'
    from /Users/lassebunk/.rvm/gems/ruby-2.0.0-p247/bin/sbire:23:in `load'
    from /Users/lassebunk/.rvm/gems/ruby-2.0.0-p247/bin/sbire:23:in `<main>'

@GCorbel
Copy link
Owner

GCorbel commented Nov 28, 2013

I pushed a new version of the gem. It should solve the bug.

@lassebunk
Copy link

Hmm, last version on http://rubygems.org/gems/sbire/versions is from November 9.

@GCorbel
Copy link
Owner

GCorbel commented Nov 28, 2013

I forgot to do a gem push. Now, it's ok.

@lassebunk
Copy link

Thanks. Will check that out.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants