ownbta.blogg.se

Adding ruby sdk in rubymine
Adding ruby sdk in rubymine









adding ruby sdk in rubymine

Click the “+” and select “Docker Compose”. Head to Settings ▸ Languages & Frameworks ▸ Ruby SDK and Gems.

adding ruby sdk in rubymine adding ruby sdk in rubymine

The first step is to set the correct Ruby interpreter, which lives in our Docker container. Now stop those containers and open the project in RubyMine. Running docker-compose up and navigating to localhost:3000 shows me the standard Rails welcome page. RUN apt-get update -qq & apt-get install -y postgresql-clientĬommand: bash -c "rm -f tmp/pids/server.pid & bundle exec rails s -p 3000 -b '0.0.0.0'" Let’s start with a basic Rails API project with two containers: one for the app and one for the DB. Unfortunately I had some problems setting up Ruby/Rails projects running in Docker containers to work with RubyMine’s debugging features, so I’ve documented how I did it and some of the issues I ran into. This time I’m making a concerted effort to learn its feature set and make them work for me, and so far I’m thoroughly impressed. I’ve played around with it in the past, but always ended up back on vim for various reasons. Lately I’ve been experimenting with RubyMine.











Adding ruby sdk in rubymine