rbot icon indicating copy to clipboard operation
rbot copied to clipboard

Unable to run rbot's launch_here.rb after upgrading 64-bit Fedora v18 to v20 due to "/usr/bin/ruby-mri: No such file or directory -- ./launch_here.rb (LoadError)"

Open antdude opened this issue 12 years ago • 3 comments

$ ./launch_here.rb /usr/bin/ruby-mri: No such file or directory -- ./launch_here.rb (LoadError)

$ /usr/bin/ruby-mri -v ruby 2.0.0p247 (2013-06-27 revision 41674) [x86_64-linux]

$ ruby -v ruby 2.0.0p247 (2013-06-27 revision 41674) [x86_64-linux]

I even tried removing ~/.rbot and doing a clean download to start a new rbot setup. Same results. Before the major Fedora upgrade and reboot, ruby was at v1.9 something and working.

Thank you in advance. :)

antdude avatar Nov 24 '13 23:11 antdude

From irc.freenode.net's #rbot: 3:31PM and when you do /usr/bin/ruby-mri launch_here.rb ?

That worked, but why? :(

antdude avatar Nov 24 '13 23:11 antdude

because /usr/bin/ruby is hardcoded in the shebang of launch_here.rb, this should probably be changed to /usr/bin/env ruby

4poc avatar Nov 25 '13 03:11 4poc

Apoc's suggestion in IRC did not work for me too: 06:35PM change the first line of the file 06:35PM #!/usr/bin/ruby 06:35PM to #!/usr/bin/env ruby

Also, it seems like parameters like -b and -d do not work and makes rbot process stuck in starting up.

antdude avatar Nov 25 '13 03:11 antdude