1

I have setup and configured gitlab on my CentOS 6.5 server using this guide

My gitlab is up and running, and what I wanted to do is to configure ruby on rails.

I can find rails in /opt/gitlab/embedded/service/gitlab-rails/ but when trying to type in rails -v it gives me a bash: command not found.

I am trying to set up a rails server, anyone can guide me? thanks!

1 Answer 1

0

Make sure you are opening a new shell in order to take account a PATH modification referencing said commands.

See for instance "rails-installer.sh runs fine but ruby, irb, rails command “not found” (UB12.04)". (for Ubuntu, but the idea remains the same for CentOS).

That supposes your PATH were correctly set in the first place.
If not, check your PATH as in this answer.

Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.