Welcome to the most active Linux Forum on the web.
Go Back > Forums > Linux Forums > Linux - Software
User Name
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.


  Search this Thread
Old 10-17-2016, 10:37 PM   #1
LQ Newbie
Registered: Oct 2016
Posts: 22

Rep: Reputation: Disabled
/usr/bin/env: ‘ruby’: No such file or directory when installing Social-Engineer Toolkit

When I try installing Social-Engineer Toolkit I get the following error:

[--] Tested on Windows, Linux, and OSX [--]
[--] Apache web server is currently in use for performance. [--][*] Moving payload into cloned website.[*] The site has been moved. SET Web Server is now listening..
[-] Launching MSF Listener...
[-] This may take a few to load MSF...
/usr/bin/env: ‘ruby’: No such file or directory

This is for 1 -> Social-Engineering Attacks 2 -> Website Attack Vectors 1 -> Java Applet Attack Method

How can I fix ruby so it is recognized?

I have ruby installed via RVM to updated version 2.3.1 already.
Old 10-18-2016, 03:24 AM   #2
LQ Newbie
Registered: Oct 2016
Posts: 22

Original Poster
Rep: Reputation: Disabled
So I had to run rvmsudo before setoolkit to get it to recognize ruby.
Old 10-18-2016, 03:46 AM   #3
Registered: Jun 2016
Distribution: any&all, in VBox; Ol'UnixCLI; NO GUI resources
Posts: 999
Blog Entries: 12

Rep: Reputation: 363Reputation: 363Reputation: 363Reputation: 363
It's good that you post the solutions, for others to use!

Remember to mark (BOTH!) your Threads as "Solved"
(under "Thread Tools", right on top of Post#1)

Thanks! And Welcome to LQ!


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
vncserver -bash: /usr/bin/vncserver: /usr/bin/env: bad interpreter ravindert Linux - Server 1 07-23-2014 05:48 PM
[SOLVED] bash: /usr/local/bin/xdsi: /usr/bin/wish: bad interpreter: No such file or directory Berwhale Linux - Newbie 2 09-15-2011 02:59 PM
RPM dependency failure: /usr/bin/env instead of /bin/env anoosh3000 Linux - Software 1 04-10-2009 05:34 AM
Cannot Enter chroot /usr/bin/env directory not found Zero-0-Effect Linux From Scratch 2 03-13-2004 12:41 PM
bin/bash:usr/bin/lpr NO SUCH FILE OR DIRECTORY Adibe_Hamm Linux - Newbie 3 10-14-2003 02:30 AM > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 02:30 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration