GithubHelp home page GithubHelp logo

Comments (11)

dsmithco avatar dsmithco commented on June 3, 2024 19

Don't need to uninstall anything...

cd /usr/local/bin
sudo ln -sf ../Cellar/springboot/*.RELEASE/bin/spring ./springboot

Then just call springboot init or whatever

from gs-spring-boot.

dsyer avatar dsyer commented on June 3, 2024 3

Find out where the CLI is installed and call it SPRING_HOME, then

$ export PATH=$SPRING_HOME/bin/:$PATH

You don't have to uninstall ruby to get rid of that gem though. Just "gem uninstall spring". Or switch to a clean ruby environment using rbenv (which I can see you are using).

from gs-spring-boot.

kalmanh avatar kalmanh commented on June 3, 2024 3

spring is a gem used by Ruby on Rails framework as of version 4.1 (http://guides.rubyonrails.org/4_1_release_notes.html) and it just happens to also use an executable called 'spring'. It's pretty funny how the first commit to this spring gem is about 2 months after the first commit to spring-boot project

rails/spring@a035f47

Unfortunate coincidence? 🎱

from gs-spring-boot.

mhewedy avatar mhewedy commented on June 3, 2024 3

As mentioned by @dsyer , here's steps to execute on your shell (on mac)

gem uninstall spring
cd /usr/local/bin
sudo ln -sf ../Cellar/springboot/*.RELEASE/bin/spring . 

from gs-spring-boot.

dsyer avatar dsyer commented on June 3, 2024 2

I do t think that's the Spring Boot CLI. Looks like you have a "spring" executable from a ruby gem in your PATH.

from gs-spring-boot.

gregturn avatar gregturn commented on June 3, 2024

Spring boot is Java and shell not Ruby.

from gs-spring-boot.

kentoj avatar kentoj commented on June 3, 2024

ok, thanks for the heads up dsyer. Do you know how I would access the spring CLI without uninstalling ruby?

from gs-spring-boot.

kentoj avatar kentoj commented on June 3, 2024

Thanks for the help @dsyer! Everything is working fine now.

from gs-spring-boot.

dsyer avatar dsyer commented on June 3, 2024

Coincidence indeed. I guess Rails users have to alias "spring" to "springboot" or something.

from gs-spring-boot.

ekyfauzi avatar ekyfauzi commented on June 3, 2024

Thanks @dsmithco !

from gs-spring-boot.

TheChronicMonster avatar TheChronicMonster commented on June 3, 2024

@dsmithco Worked for me. Thank you.

from gs-spring-boot.

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.