Failed Ruby Install on RH Linux due to "Make" file -


I'm new to Ruby and I'm not good with Linux. I am installing Ruby on Red Hat Linux.

I have removed the ruby ​​package and at step 5 of the remake file that is said to execute "apx". (NB: I have copied / pasted the steps given in the readme file at the end of this question).

I can not see an app. I'm filing in that directory (/ opt / ruby_home /) I see a "makefile" file and tried to run it, but the output is not correct:

  [root @ Sdlc0917 ruby-2.1.3] #. / Makefile / Mac File: Line 1: Shell: Command not found. Makefile: Line 2: NULLCMD: Command not found. / Makefile: Line 3: NULLCMD: Command not found. / MacFile: Line 4: V: 1 = @: Command was not found. / Makefile: Line 4: ECO 1: Command not found / Mac file: Line 5: Shell: Command not found. / MacFile: Line 5: RUncMD: Command not found. / Makefile: Line 6: CDPHH: Command not found. / Makefile: Line 7: CADIR: Command not found. Makefile: Line 8: exec: =: Not found   

I issued a search order and found that "???" Under the / usr / bin / so I ran a ???? From there, but the output was:

[Root @ sdlc0917 bin] # / to create: *** There is no specified target and no makefile was found. Stop.

At this time I am also not sure what to do because the readme file really makes a lot of sense.

Thank you very much for the help.

The steps given from the readme file are:

  0 If you want to use Microsoft Visual C ++ to compile Ruby, Win32 instead of this document Read / README.win32. 1. If +. If the / Configure + does not exist or is configured in .inf, auto-restart to generate auto-configured (re) 2. Run + / Configure +, which will generate config.h and makefile. Some compiler flags can be added by default on your environment Specify & lt; Tt & gt; Optflags = .. & lt; / tt & gt; And & gt; TT & gt; Warning flags .. .. & lt; / tt & gt; As it is necessary to override them. 3. Edit + defines H + if you need it, generally this step will not be needed. 4. If you want to link the module steadily, the comment marks (& lt; tt & gt; # & lt; / tt & amp; mdash; before module names) from + + ext / setup + (or adding module names) Gt;) Remove "if you do not want to compile non-static extension modules (possibly not allowing dynamic loading over architecture), then"  "#option nodynamic  gt; ; + Ext / Setup + will not normally need this step. 5. Run + Creating + 6. Alternatively, & Lt; tt & gt; Check & lt; / tt & gt; to check that the compiled Ruby interpreter works fine or not. If you receive the message "& lt; Tt & gt; The investigation succeeded & lt; / tt & gt; ", your Ruby works (hopefully). 7. Run ' Install & lt; / tt>    

Try it out:

Ruby is easy to set up Try RVM (Ruby Edition Manager) via

Comments

Popular posts from this blog

php - PDO bindParam() fatal error -

logging - How can I log both the Request.InputStream and Response.OutputStream traffic in my ASP.NET MVC3 Application for specific Actions? -

java - Why my included JSP file won't get processed correctly? -