codeconsole opened a new issue, #14802:
URL: https://github.com/apache/grails-core/issues/14802

   ### Expected Behavior
   
   grails is not installing in bin directory which is causing sdkman to fail.
   
   ```
   Using grails version 7.0.0-M3 in this shell.
   % which grails
   /Users/user/.sdkman/candidates/grails/7.0.0-M3/bin/grails
   
   % ls -lah /Users/user/.sdkman/candidates/grails/7.0.0-M3/
   total 24
   drwxr-xr-x  4 user  staff   128B Mar  5 14:57 .
   drwxr-xr-x  9 user  staff   288B Jun 10 18:09 ..
   drwxr-xr-x  3 user  staff    96B Mar  5 14:57 bin
   -rw-r--r--  1 user  staff    11K Mar  5 14:57 LICENSE
   
   % sdk use grails 7.0.0-M4                                    
   
   Using grails version 7.0.0-M4 in this shell.
   % which grails
   grails not found
   
   % ls -lah /Users/user/.sdkman/candidates/grails/7.0.0-M4/
   total 184
   drwxr-xr-x  14 user  staff   448B Feb  1  1980 .
   drwxr-xr-x   9 user  staff   288B Jun 10 18:09 ..
   drwxr-xr-x   3 user  staff    96B Feb  1  1980 .grails
   -rw-r--r--   1 user  staff   537B Feb  1  1980 DISCLAIMER
   -rwxr-xr-x   1 user  staff   8.5K Feb  1  1980 grails
   -rwxr-xr-x   1 user  staff    20K Feb  1  1980 grails_forge_cli_completion
   -rwxr-xr-x   1 user  staff   8.5K Feb  1  1980 grails-forge-cli
   -rwxr-xr-x   1 user  staff   2.9K Feb  1  1980 grails-forge-cli.bat
   -rwxr-xr-x   1 user  staff   8.5K Feb  1  1980 grails-shell-cli
   -rwxr-xr-x   1 user  staff   2.9K Feb  1  1980 grails-shell-cli.bat
   -rwxr-xr-x   1 user  staff   2.9K Feb  1  1980 grails.bat
   -rw-r--r--   1 user  staff    92B Feb  1  1980 INSTALL
   -rw-r--r--   1 user  staff    11K Feb  1  1980 LICENSE
   -rw-r--r--   1 user  staff   166B Feb  1  1980 NOTICE
   ```
   
   workaround move `~/.sdkman/candidates/grails/7.0.0-M4/*` to 
`~/.sdkman/candidates/grails/7.0.0-M4/bin`
   
   ### Actual Behaviour
   
   _No response_
   
   ### Steps To Reproduce
   
   _No response_
   
   ### Environment Information
   
   _No response_
   
   ### Example Application
   
   _No response_
   
   ### Version
   
   7.0.0-M4


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscr...@grails.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to