Skip to content
This repository was archived by the owner on Jan 10, 2020. It is now read-only.

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)" #22

Open
antdude opened this issue Nov 24, 2013 · 3 comments

Comments

@antdude
Copy link

antdude commented Nov 24, 2013

$ ./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
Copy link
Author

antdude commented Nov 24, 2013

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

That worked, but why? :(

@4poc
Copy link
Contributor

4poc commented Nov 25, 2013

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

@antdude
Copy link
Author

antdude commented Nov 25, 2013

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.

# for free to subscribe to this conversation on GitHub. Already have an account? #.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants