Command 'gem' not found, but can be installed with

Ads
 

Command 'gem' not found, but can be installed with

Hi,

I am trying to install once software with gem but its giving following error on Ubuntu:

Command 'gem' not found, but can be installed with:

sudo snap install ruby # version 2.5.3, or sudo apt install ruby

See 'snap info ruby' for additional versions.

What to do?

View Answers

December 13, 2018 at 2:42 AM

Hi,

This means you don't have gem installed on your Ubuntu box.

You can install with following command:

sudo snap install ruby  # version 2.5.3, or
sudo apt  install ruby

Thanks

Ads









Related Tutorials/Questions & Answers:
Hadoop command not found
Hadoop command not found  Hi, I am trying to put file with the command: hadoop fs -put test.txt /test/ But its saying hadoop command not found. How to resolve this? Thanks   Hi, This error means that you have
R command not found Windows
Solved: R command not found Windows After installing R Programming tool... the issue R command not found Windows in command prompt then due to some reason r... command not found Windows" error. R Programming Online Training Join our
Advertisements
PKG_PROG_PKG_CONFIG: command not found
PKG_PROG_PKG_CONFIG: command not found  Hi, How to solve PKGPROGPKG_CONFIG: command not found error This error is coming while executing the configure script. Thanks
PKG_PROG_PKG_CONFIG: command not found
PKG_PROG_PKG_CONFIG: command not found  Hi, How to solve PKGPROGPKG_CONFIG: command not found error This error is coming while executing the configure script. Thanks
PKG_PROG_PKG_CONFIG: command not found
PKG_PROG_PKG_CONFIG: command not found  Hi, How to solve PKGPROGPKG_CONFIG: command not found error This error is coming while executing the configure script. Thanks
PKG_PROG_PKG_CONFIG: command not found
PKG_PROG_PKG_CONFIG: command not found  Hi, How to solve PKGPROGPKG_CONFIG: command not found error This error is coming while executing the configure script. Thanks
PKG_PROG_PKG_CONFIG: command not found
PKG_PROG_PKG_CONFIG: command not found  Hi, How to solve PKGPROGPKG_CONFIG: command not found error This error is coming while executing the configure script. Thanks
i have installed oracle 10g (both ee and xe) editions... while am installing i found port num as 1521 for ee, 1522 for xe
i have installed oracle 10g (both ee and xe) editions... while am installing i found port num as 1521 for ee, 1522 for xe  i have installed oracle 10g (both ee and xe) editions... while am installing i found port num as 1521
How can I execute a PHP script using command line?
How can I execute a PHP script using command line?  How can I execute a PHP script using command line
How to connect to MySQL from command prompt?
is installed with the MySQL server installation and it can be accessed by going... database from command prompt. Check the following video tutorial: You can use... to a database you can use the following command: mysql> connect mysql; Please
Path was not found
Path was not found  The Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path
What is command prompt in Java?
system them you can use the command prompt to compile the Java program. Command... for the terminal. In windows its cmd (Command Prompt). In windows you can type cmd.... On the command prompt you can compile your Java program with following command: javac
identifier not found
identifier not found  Getting compilation error " identifier not found " please explain ?   identifier means variable name,,,,make sure it same as declaration
ejabberd_ctl.beam not found - Solved
ejabberd_ctl.beam not found - Solved  Hi, I installed ejabberd..._server. Error: command "available_modules" not known. [email protected]:/opt...   Hi, If you run the following command: ps aux You will find
File not found
not found
File not found
not found
File not found
"(specified file not found
File not found
"(specified file not found
File not found
getting an error "emp_code.doc"(specified file not found)  Hi Friend
File not found
not found)  Hi Friend, Visit Here Thanks
Steps not found.
Steps not found.  import java.io.*; import java.net.*; import javax.servlet.*; import javax.servlet.http.*; public class Details1 extends HttpServlet { protected void doGet(HttpServletRequest request, HttpServletResponse
command prompt is compilation is not working
command prompt is compilation is not working   Dear java users can anyone help me to run the program in command line prompt i tried by selecting... helloworld through command prompt class not found error and class loader not able
mycustomer.hbm.xml not found
(); //Query q=s.createQuery("from mycustomer"); //q.setCacheable(true); //l...; </property> <property name="quality"> <column name="Q"/>...: org.hibernate.MappingNotFoundException: resource: p1.mycustomer.hbm.xml not found
mycustomer.hbm.xml not found
(); org.hibernate.Session s=sf.openSession(); Transaction t=s.beginTransaction(); //Query q...;/property> <property name="quality"> <column name="Q"/> <...: org.hibernate.MappingNotFoundException: resource: p1.mycustomer.hbm.xml not found
Print command
Print command  Can I use System.out.println command in Struts form bean or Struts action class. I am using Struts 1.3.8 but when I write this command...;You can use System.out.println command in Strut Action Class. The message written
class not found error - JDBC
class not found error  thanks for your response. please clarify the following doubts. i am having the specified mysql connector jar file. where that jar file has to be placed. also does the jdbc driver need to be installed
Can u print in turbo c 9 8 7 6 5 4 3 2 1 0 using pre increment operator Only use print ++a in the same printf() command ten times)
Can u print in turbo c 9 8 7 6 5 4 3 2 1 0 using pre increment operator Only use print ++a in the same printf() command ten times)  Can u print... ++a in the same printf() command ten times
Can u print in turbo c 9 8 7 6 5 4 3 2 1 0 using pre increment operator Only use print ++a in the same printf() command ten times)
Can u print in turbo C  Can u print in turbo c 9 8 7 6 5 4 3 2 1 0 using pre increment operator Only use print ++a in the same printf() command ten times
Compute command
Compute command  hello, What is compute command?   hii, samar Compute command control computations on subsets created by the BREAK command
Passing Command Line Arguments
Passing Command Line Arguments       In this example we are going to learn how we can pass values on command line argument . We are taking a sequence
class not found exception
class not found exception  org.apache.struts2.dispatcher.ng.filter.StrutsPrepareAndExecuteFilterprint("code sample

Ads