Closed heikki closed 13 years ago
Hi! :) Hummm ... this behavior is so strange. I tried to reproduce here and simple works great.
(ruby-1.9.2@morpheus) ~/Codigos/Ruby/gems/example ⤷ infinity_test --rspec --verbose
Finished in 0.00005 seconds 0 examples, 0 failures
In the branch master I refactored the entire InfinityTest to become more simple and more readable, and separate many classes responsabilities. Try to install from git and if the error occurs tell me here please.
How do you run it when it is installed from github? I tried both 'infinity_test' and 'bundle exec infinity_test'. Those didn't work.
You installed from git and doesn't work? Are you added this to gemfile?
gem 'infinity_test', git: 'git://github.com/tomas-stefano/infinity_test.git'
And you run bundle isntall and after bundle exec infinity_test?
If doesn't work it all I'll try to make a investigation around master branch and see what's is going on.
Yes, I have done it like that. Blank Rails 3.0.8 app with these gems added to Gemfile:
gem 'rspec-rails'
gem 'infinity_test', :git => "git://github.com/tomas-stefano/infinity_test.git"
Maybe there's something funny with my setup. I remember having same problems earlier when installing from git. Right now it shows the following:
∴ bundle exec infinity_test
* { :ruby => ruby-1.8.7-p334@default }
bundler: command not found: rvm
Install missing gem binaries with `bundle install`
Ok I will try to reproduce this error. When I fix it or find the cause I'll talk here.
Please, if you had the file, can you paste here the .infinity_test file of your project or global?
I don't have .infinity_test file at the moment.
I try to reproduce and see the error. rvm: command not found
But when I updated tonight(5 minutes ago) with the following command:
rvm get head
Works really great for now. This is not a bug in the infinity_test. But if the error continue, feel free to open a issue that I'll be help you.
Cheers
Thanks for trying it out. That didn't solve the problem for me. I'll post here if I happen to find out what's the problem. I suspect it has something to do with my setup (homebrew, rvm, separate gemsets).
Running rvm get head
solved the problem after all. I must have forgotten to restart the terminal on the first try.
Thanks again!
Nice! I'm glad that I helped you. :D
I run into this issue after fresh os install (rvm etc. should be newest, infinity_test is 1.0.3). The command it tells its running works without errors when running it manually.