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

Having some issues getting up and running #240

Closed
danjuggles opened this issue Oct 9, 2017 · 7 comments
Closed

Having some issues getting up and running #240

danjuggles opened this issue Oct 9, 2017 · 7 comments

Comments

@danjuggles
Copy link

Problem

When I run any of the scm_breeze commands I am getting strange functionality..

Any help would be greatly appreciated, as I am very keen to get this working 😄

Command: gs

Note: git status works normally

The system cannot find the path specified.
C:/Users/dan.evans/.scm_breeze/lib/git/status_shortcuts.rb:29:in `<main>': undefined method `[]' for nil:NilClass (NoMethodError)
On branch master
nothing to commit, working tree clean

There were more than 150 changed files. SCM Breeze has fallen back to standard `git status` for performance reasons. 

Command: gb or git branch

 $ git branch
-e:1:in ``': No such file or directory - /mingw64/bin/git branch --color=always  (Errno::ENOENT)
        from -e:1:in `<main>'

Environment:

OS:

OS Name: Microsoft Windows 10 Pro
OS Version: 10.0.14393 N/A Build 14393

Shell:

$ bash --version
GNU bash, version 4.4.12(1)-release (x86_64-pc-msys)

scm_breeze

$ git show -n 1
commit a59ace0f297402031d3a47b1b59f9bf8c776a822 (HEAD -> master, origin/master, origin/HEAD)
Author: Nathan Broadbent <[email protected]>
Date:   Tue Sep 26 02:47:48 2017 +0700

    Changed logo
@danjuggles
Copy link
Author

I have this line in my .bash_profilfe

[ -s "/c/Users/dan.evans/.scm_breeze/scm_breeze.sh" ] && source "/c/Users/dan.evans/.scm_breeze/scm_breeze.sh"

@ghthor
Copy link
Member

ghthor commented Oct 10, 2017

What version of ruby do you have installed?

@danjuggles
Copy link
Author

ruby -v
ruby 2.4.2p198 (2017-09-14 revision 59899) [x64-mingw32]

@ghthor
Copy link
Member

ghthor commented Oct 12, 2017

Alright, I'm checking if that version of ruby breaks my local installation, caveat I'm on OSX.
Which version of git do you have installed?

@ghthor
Copy link
Member

ghthor commented Oct 12, 2017

Could you try this changeset to see if this fixes the issue with gb? https://github.com/scmbreeze/scm_breeze/pull/232/files

@danjuggles
Copy link
Author

Thank you very much @ghthor! I have made the changes as per your link, and now scm_breeze seems to be working, I very much appreciate the help

@ghthor
Copy link
Member

ghthor commented Oct 23, 2017

Fixed by #232 which still needs to be incorporated properly into mainline. Thanks @danjuggles for juggling this around!

@ghthor ghthor closed this as completed Oct 23, 2017
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

2 participants