-
Notifications
You must be signed in to change notification settings - Fork 140
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
bundler: failed to load command: rspec (/usr/local/bin/rspec) #503
Comments
I didn't understand why you are getting this, in between :
|
@Shekharrajak Yes, it is very puzzling. Initially I thought the command is just unable to access |
Can you please try with different Ruby version - like Ruby 2.4 ? |
Travis is configured only for Ruby < 2.5, so please use lower Ruby version for now or need to work in it to make this |
@Shekharrajak |
Yes, that will be helpful. You can also add link of this issue, so that anyone can explore it further. |
@Shekharrajak |
Actual error is :
|
I'm using Ubuntu 18.04.1 LTS. I was following instructions mentioned at here.
Here is what I did:
Then install remaining dependencies:
$ bundle install
And run the test suite (should be all green with pending tests):
$ bundle exec rspec
......................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................./home/sumera/.rbenv/versions/2.5.1/lib/ruby/gems/2.5.0/gems/nmatrix-0.2.4/lib/nmatrix/monkeys.rb:49: warning: constant ::Fixnum is deprecated
.........................................................................................................................................................F......................................**................................................................................./home/sumera/.rbenv/versions/2.5.1/lib/ruby/gems/2.5.0/gems/rserve-client-0.3.5/lib/rserve/rexp/wrapper.rb:26: warning: constant ::Fixnum is deprecated
/home/sumera/.rbenv/versions/2.5.1/lib/ruby/gems/2.5.0/gems/rserve-client-0.3.5/lib/rserve/rexp/wrapper.rb:56: warning: constant ::Fixnum is deprecated
./home/sumera/.rbenv/versions/2.5.1/lib/ruby/gems/2.5.0/gems/rserve-client-0.3.5/lib/rserve/rexp/wrapper.rb:26: warning: constant ::Fixnum is deprecated
/home/sumera/.rbenv/versions/2.5.1/lib/ruby/gems/2.5.0/gems/rserve-client-0.3.5/lib/rserve/rexp/wrapper.rb:56: warning: constant ::Fixnum is deprecated
...NOTE: Daru::Vector#only_valid is deprecated; use reject_values instead. It will be removed on or after 2016-10-01.
Daru::Vector#only_valid called from /home/sumera/.rbenv/versions/2.5.1/lib/ruby/2.5.0/delegate.rb:83.
.....................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................*................................................................................................................................
bundler: failed to load command: rspec (/home/sumera/.rbenv/versions/2.5.1/bin/rspec)
...: command not found
--- ERROR REPORT TEMPLATE -------------------------------------------------------
Error Report
Questions
Please fill out answers to these questions, it'll help us figure out
why things are going wrong.
What did you do?
I ran the command
bundle exec rspec
What did you expect to happen?
I expected Bundler to run the test suite.
What happened instead?
Instead, what happened was error occurred saying, bundler: failed to load command: rspec (/usr/local/bin/rspec)
I tried google , came across this
yes
Backtrace
Environment
Bundler Build Metadata
Bundler settings
Gemfile
Gemfile
Gemfile.lock
Gemspecs
daru.gemspec
--- TEMPLATE END ----------------------------------------------------------------
Unfortunately, an unexpected error occurred, and Bundler cannot continue.
First, try this link to see if there are any existing issue reports for this error:
https://github.com/bundler/bundler/search?q=Illegal+seek+%40+rb_io_tell+-+%3CSTDERR%3E&type=Issues
If there aren't any reports for this error yet, please create copy and paste the report template above into a new issue. Don't forget to anonymize any private data! The new issue form is located at:
https://github.com/bundler/bundler/issues/new
Traceback (most recent call last):
9: from /home/sumera/.rbenv/versions/2.5.1/lib/ruby/gems/2.5.0/gems/simplecov-0.16.1/lib/simplecov/defaults.rb:27:in
block in <top (required)>' 8: from /home/sumera/.rbenv/versions/2.5.1/lib/ruby/gems/2.5.0/gems/simplecov-0.16.1/lib/simplecov.rb:200:in
run_exit_tasks!'7: from /home/sumera/.rbenv/versions/2.5.1/lib/ruby/gems/2.5.0/gems/simplecov-0.16.1/lib/simplecov/configuration.rb:182:in
block in at_exit' 6: from /home/sumera/.rbenv/versions/2.5.1/lib/ruby/gems/2.5.0/gems/simplecov-0.16.1/lib/simplecov/result.rb:48:in
format!'5: from /home/sumera/.rbenv/versions/2.5.1/lib/ruby/gems/2.5.0/gems/simplecov-html-0.10.2/lib/simplecov-html.rb:25:in
format' 4: from /home/sumera/.rbenv/versions/2.5.1/lib/ruby/gems/2.5.0/gems/simplecov-html-0.10.2/lib/simplecov-html.rb:25:in
puts'3: from /home/sumera/.rbenv/versions/2.5.1/lib/ruby/gems/2.5.0/gems/simplecov-html-0.10.2/lib/simplecov-html.rb:25:in
puts' 2: from /home/sumera/.rbenv/versions/2.5.1/lib/ruby/gems/2.5.0/gems/packable-1.3.10/lib/packable/extensions/io.rb:62:in
write_with_packing'1: from /home/sumera/.rbenv/versions/2.5.1/lib/ruby/gems/2.5.0/gems/packable-1.3.10/lib/packable/extensions/io.rb:86:in
pack_and_write' /home/sumera/.rbenv/versions/2.5.1/lib/ruby/gems/2.5.0/gems/packable-1.3.10/lib/packable/extensions/io.rb:86:in
pos': Illegal seek @ rb_io_tell - (Errno::ESPIPE)The text was updated successfully, but these errors were encountered: