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)"
$ ./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. :)
From irc.freenode.net's #rbot:
3:31PM
That worked, but why? :(
because /usr/bin/ruby is hardcoded in the shebang of launch_here.rb, this should probably be changed to /usr/bin/env ruby
Apoc's suggestion in IRC did not work for me too:
06:35PM
Also, it seems like parameters like -b and -d do not work and makes rbot process stuck in starting up.