Git Product home page Git Product logo

Comments (6)

asok avatar asok commented on August 14, 2024

Can't debug it right now. But one thing that comes to my mind - you're sure that your emacsclient is not the default shipped with osx (version 22.2 or something)?

from projectile-rails.

arthurnn avatar arthurnn commented on August 14, 2024

yep, I am 100% sure i am using 24.3:

Arthurs-MacBook-Pro:~ arthurnn$ emacsclient --version
emacsclient 24.3
Arthurs-MacBook-Pro:~ arthurnn$ e --version
emacsclient 24.3
Arthurs-MacBook-Pro:~ arthurnn$ emacs --version
GNU Emacs 24.3.1
Copyright (C) 2013 Free Software Foundation, Inc.
GNU Emacs comes with ABSOLUTELY NO WARRANTY.
You may redistribute copies of Emacs
under the terms of the GNU General Public License.
For more information about these matters, see the file named COPYING.

from projectile-rails.

asok avatar asok commented on August 14, 2024

What is your indexing method C-h v projectile-indexing-method? Also does running projectile-invalidate-cache, help?

from projectile-rails.

arthurnn avatar arthurnn commented on August 14, 2024

Ok, So I got some good informations from this:
projectile-invalidate-cache doesnt solve the issue.
projectile-indexing-method is set to alien, if I change to native it start working again.

from projectile-rails.

rrosen avatar rrosen commented on August 14, 2024

I also noticed this not working with my custom alien indexing commands. It worked with native indexing or the default alien indexing commands. After looking closer I noticed that the default commands output a null-byte delimited list of files while my custom command output a newline delimited list of files. Changing my command to output a null-byte delimited list got the projectile-rails finders working.

Concretely, I changed projectile-generic-command and projectile-git-command from

ag -U -l --nocolor -g .

to

ag -U -l --nocolor -g . | tr "\n" "\0"

from projectile-rails.

asok avatar asok commented on August 14, 2024

This really looks like a more generic issue of projectile the mode that projectile-rails is based on.

from projectile-rails.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.