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
[BUG] --no-label not respected by the move command #149
Comments
|
Thanks for the report, I think I have this fixed in 2.1.51, which is available now via |
|
It does appear to be corrected in later versions. I'm not sure if this is relevant to anything that you're currently doing, but a gem install of 2.1.54 resulted in a broken doing for me. I was able to build from source (the develop branch) and install without issue. |
|
Known issue affecting people who install using `sudo`. I think I have it
repaired in 2.1.55, let me know if that works for you.
…On 25 May 2022, at 20:20, William wrote:
It does appear to be corrected in later versions.
I'm not sure if this is relevant to anything that you're currently
doing, but a gem install of 2.1.54 resulted in a broken doing for me.
I was able to build from source (the develop branch) and install
without issue.
```
sudo gem install doing
Password:
Fetching doing-2.1.54.gem
Successfully installed doing-2.1.54
Parsing documentation for doing-2.1.54
Installing ri documentation for doing-2.1.54
Done installing documentation for doing after 9 seconds
1 gem installed
***@***.***
~/headwire/golfdigest/src/sports-golfdigest-com[GOLF-1822-2]
$ doing
/System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/2.6.0/rubygems/core_ext/kernel_require.rb:130:in
`require': cannot load such file -- doing/help_monkey_patch
(LoadError)
from
/System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/2.6.0/rubygems/core_ext/kernel_require.rb:130:in
`rescue in require'
from
/System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/2.6.0/rubygems/core_ext/kernel_require.rb:34:in
`require'
from /Library/Ruby/Gems/2.6.0/gems/doing-2.1.54/bin/doing:6:in
`<top (required)>'
from /usr/local/bin/doing:23:in `load'
from /usr/local/bin/doing:23:in `<main>'
/System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/2.6.0/rubygems/core_ext/kernel_require.rb:54:in
`require': cannot load such file -- doing/help_monkey_patch
(LoadError)
from
/System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/2.6.0/rubygems/core_ext/kernel_require.rb:54:in
`require'
from /Library/Ruby/Gems/2.6.0/gems/doing-2.1.54/bin/doing:6:in
`<top (required)>'
from /usr/local/bin/doing:23:in `load'
from /usr/local/bin/doing:23:in `<main>'
```
--
Reply to this email directly or view it on GitHub:
#149 (comment)
You are receiving this because you were assigned.
Message ID: ***@***.***>
|
|
Something's not happy with 2.1.55 $ sudo gem uninstall doing
Gem 'doing' is not installed
$ sudo gem install doing
ERROR: While executing gem ... (Errno::EPERM)
Operation not permitted - I'm still able to build/install from source without issue. |
|
What do you get if you run |
|
Also, what happens if you run |
|
Something changed....it works now. At the beginning, I had a version installed from a local repository. I then uninstalled it and tried to install again - this time it worked as you can see here. $ gem info doing
*** LOCAL GEMS ***
doing (2.1.55)
Author: Brett Terpstra
Homepage: http://brettterpstra.com/project/doing/
License: MIT
Installed at: /Library/Ruby/Gems/2.6.0
A command line tool for managing What Was I Doing reminders
$ sudo gem uninstall doing
Password:
Remove executables:
doing
in addition to the gem? [Yn] y
Removing doing
Successfully uninstalled doing-2.1.55
$ gem info doing
*** LOCAL GEMS ***
$ sudo gem install doing
Fetching doing-2.1.55.gem
Successfully installed doing-2.1.55
Parsing documentation for doing-2.1.55
Installing ri documentation for doing-2.1.55
Done installing documentation for doing after 11 seconds
1 gem installed
$ doing -v
doing version 2.1.55 |
|
Huh. So the gem server version appears to be working, I can leave it at
that. Keep me posted if you see additional weirdness.
For the record, there are a few ways to avoid installing with `sudo`,
might be worth looking into. You can set a local GEM_PATH, install Ruby
via homebrew, rvm, rbenv, or asdf, or always install gems with `gem
install GEM_NAME --user-install`. I don't know what happened with
permissions on these last few releases, but none of the issues should
have popped up for anyone not running doing as root.
…-Brett
On 26 May 2022, at 9:00, William wrote:
Something changed....it works now.
At the beginning, I had a version installed from a local repository. I
then uninstalled it and tried to install again - this time it worked
as you can see here.
```shell
$ gem info doing
*** LOCAL GEMS ***
doing (2.1.55)
Author: Brett Terpstra
Homepage: http://brettterpstra.com/project/doing/
License: MIT
Installed at: /Library/Ruby/Gems/2.6.0
A command line tool for managing What Was I Doing reminders
$ sudo gem uninstall doing
Password:
Remove executables:
doing
in addition to the gem? [Yn] y
Removing doing
Successfully uninstalled doing-2.1.55
$ gem info doing
*** LOCAL GEMS ***
$ sudo gem install doing
Fetching doing-2.1.55.gem
Successfully installed doing-2.1.55
Parsing documentation for doing-2.1.55
Installing ri documentation for doing-2.1.55
Done installing documentation for doing after 11 seconds
1 gem installed
$ doing -v
doing version 2.1.55
```
--
Reply to this email directly or view it on GitHub:
#149 (comment)
You are receiving this because you were assigned.
Message ID: ***@***.***>
|
Describe the bug
--no-labelnot respected by the move commandTo Reproduce
Execute the "move" command with
--no-label. Notice that the@fromlabel is applied.Example:
Expected behavior
As documented in
doing help moveI would expect the --no-label to NOT label moved items.Desktop (please complete the following information):
Doing version
doing -vRuby version
ruby -vAdditional context
Add any other context about the problem here.
The text was updated successfully, but these errors were encountered: