-
-
Notifications
You must be signed in to change notification settings - Fork 1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Wrapper fails to find testrb file #4180
Comments
please try with: rvm get branch /feature/4180-simplified_wrapper
rvm reload
rvm wrapper path unicorn # replace with your binary name |
I am getting this error as well, using ruby-2.2.0
After using the first two lines, the warning message is gone. Is the third line ( Edit: I get this error when I |
@german-e-mas the last line is required only on server when you want to use one of the gems in a service. |
I have this issue happening out of no where |
I used the first line: rvm get branch /feature/4180-simplified_wrapper Downloading https://github.com/rvm/rvm/archive/feature/4180-simplified_wrapper.tar.gz |
@IndigoHomme this is already merged, master or stable should both work, if you are still having problems - please open a new issue |
Description
I recently install ruby 2.4.1 , installation went fine but when trying to create wrapper to run as service it returns error.
running rvm wrapper for 2.4.1 returns error:
rvm wrapper ruby-2.4.1 test-serv
Regenerating ruby-2.4.1 wrappers........
which: no testrb in (/usr/local/rvm/gems/ruby-2.4.1/bin:/usr/local/rvm/gems/ruby-2.4.1@global/bin:/usr/local/rvm/rubies/ruby-2.4.1/bin:/usr/local/rvm/bin:/usr/lib64/qt-3.3/bin:/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/root/bin)
Could not find file 'testrb' nor '/usr/local/rvm/wrappers/ruby-2.4.1/testrb'.
Environment info
rvm info
ruby-2.4.1:
system:
uname: "Linux oak-vcs2559.xxx.xxxx.com 2.6.32-504.16.2.el6.x86_64 #1 SMP Tue Apr 21 10:35:19 CDT 2015 x86_64 x86_64 x86_64 GNU/Linux"
name: "Scientific"
version: "6"
architecture: "x86_64"
bash: "/bin/bash => GNU bash, version 4.1.2(1)-release (x86_64-redhat-linux-gnu)"
zsh: "/bin/zsh => zsh 4.3.10 (x86_64-koji-linux-gnu)"
remote_path: "scientific/6/x86_64"
rvm:
version: "1.29.3 (master)"
updated: "2 minutes 2 seconds ago"
path: "/usr/local/rvm"
autolibs: "[4] Allow RVM to use package manager if found, install missing dependencies, install package manager (only OS X)."
ruby:
interpreter: "ruby"
version: "2.4.1p111"
date: "2017-03-22"
platform: "x86_64-linux"
patchlevel: "2017-03-22 revision 58053"
full_version: "ruby 2.4.1p111 (2017-03-22 revision 58053) [x86_64-linux]"
homes:
gem: "/usr/local/rvm/gems/ruby-2.4.1"
ruby: "/usr/local/rvm/rubies/ruby-2.4.1"
binaries:
ruby: "/usr/local/rvm/rubies/ruby-2.4.1/bin/ruby"
irb: "/usr/local/rvm/rubies/ruby-2.4.1/bin/irb"
gem: "/usr/local/rvm/rubies/ruby-2.4.1/bin/gem"
rake: "/usr/local/rvm/rubies/ruby-2.4.1/bin/rake"
environment:
PATH: "/usr/local/rvm/gems/ruby-2.4.1/bin:/usr/local/rvm/gems/ruby-2.4.1@global/bin:/usr/local/rvm/rubies/ruby-2.4.1/bin:/usr/local/rvm/bin:/usr/lib64/qt-3.3/bin:/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/root/bin"
GEM_HOME: "/usr/local/rvm/gems/ruby-2.4.1"
GEM_PATH: "/usr/local/rvm/gems/ruby-2.4.1:/usr/local/rvm/gems/ruby-2.4.1@global"
MY_RUBY_HOME: "/usr/local/rvm/rubies/ruby-2.4.1"
IRBRC: "/usr/local/rvm/rubies/ruby-2.4.1/.irbrc"
RUBYOPT: ""
gemset: ""
The text was updated successfully, but these errors were encountered: