Xfce terminal does not recognize ruby and Rails commands

Asked

Viewed 138 times

0

Hello, when trying to run ruby or Rails commands on the linux terminal Manjaro error occurs stating that the command is not recognized. I tried to perform the same procedure I used for Ubuntu, but it didn’t work. Someone has some hint ?

Run Rails commands on the Ubuntu terminal

  • What is the return? And what is the command?

  • command: Rails new app test -> command to create a project return: bash: Rails: command not found

  • Okay. Put this information in the question to make it easier for others to know this.

  • Another question : how is your variable $PATH?

  • this is the result of echo $PATH usr/local/sbin:/usr/local/bin:/usr/bin:/usr/lib/jvm/default/bin:/usr/bin/site_perl:/usr/bin/vendor_perl:/usr/bin/core_perl

  • 1

    You put the export PATH="$PATH:$HOME/.rvm/scripts/rvm" inside your . bashrc? Because that path isn’t coming in that print you made...

  • I was able to solve my problem by following this tutorial http://lvasquez.github.io/2014/08/10/Install-Ruby-on-Rails-Manjaro/ Thank you very much for your attention.

Show 2 more comments
No answers

Browser other questions tagged

You are not signed in. Login or sign up in order to post.