LoadError: cannot load such file -- rspec-rerun/tasks when deploying

classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

LoadError: cannot load such file -- rspec-rerun/tasks when deploying

simon
I think I am almost there, but i could not figure out how to resolve this problem:

....
** Invoke deploy:assets:precompile (first_time)
** Execute deploy:assets:precompile
INFO [28fcd6ca] Running ~/.rvm/bin/rvm default do bundle exec rake assets:precompile as simon@ip.ipip.ip.ip
cap aborted!
SSHKit::Runner::ExecuteError: Exception while executing as simon@92.51.146.34: rake exit status: 1
rake stdout: Nothing written
rake stderr: rake aborted!
LoadError: cannot load such file -- rspec-rerun/tasks
/home/simon/foodsoft-production/shared/bundle/ruby/2.3.0/gems/polyglot-0.3.5/lib/polyglot.rb:65:in `require'
/home/simon/foodsoft-production/shared/bundle/ruby/2.3.0/gems/polyglot-0.3.5/lib/polyglot.rb:65:in `require'
/home/simon/foodsoft-production/shared/bundle/ruby/2.3.0/gems/activesupport-4.2.6/lib/active_support/dependencies.rb:274:in `block in require'
/home/simon/foodsoft-production/shared/bundle/ruby/2.3.0/gems/activesupport-4.2.6/lib/active_support/dependencies.rb:240:in `load_dependency'
/home/simon/foodsoft-production/shared/bundle/ruby/2.3.0/gems/activesupport-4.2.6/lib/active_support/dependencies.rb:274:in `require'
/home/simon/foodsoft-production/releases/20160424132709/Rakefile:7:in `<top (required)>'
Polyglot::PolyglotLoadError: Failed to load rspec-rerun/tasks using extensions rb
/home/simon/foodsoft-production/shared/bundle/ruby/2.3.0/gems/polyglot-0.3.5/lib/polyglot.rb:55:in `load'
/home/simon/foodsoft-production/shared/bundle/ruby/2.3.0/gems/polyglot-0.3.5/lib/polyglot.rb:68:in `rescue in require'
/home/simon/foodsoft-production/shared/bundle/ruby/2.3.0/gems/polyglot-0.3.5/lib/polyglot.rb:65:in `require'
/home/simon/foodsoft-production/shared/bundle/ruby/2.3.0/gems/activesupport-4.2.6/lib/active_support/dependencies.rb:274:in `block in require'
/home/simon/foodsoft-production/shared/bundle/ruby/2.3.0/gems/activesupport-4.2.6/lib/active_support/dependencies.rb:240:in `load_dependency'
/home/simon/foodsoft-production/shared/bundle/ruby/2.3.0/gems/activesupport-4.2.6/lib/active_support/dependencies.rb:274:in `require'
/home/simon/foodsoft-production/releases/20160424132709/Rakefile:7:in `<top (required)>'
(See full trace by running task with --trace)
/home/simon/.rvm/gems/ruby-2.3.0/gems/sshkit-1.10.0/lib/sshkit/runners/parallel.rb:15:in `rescue in block (2 levels) in execute'
/home/simon/.rvm/gems/ruby-2.3.0/gems/sshkit-1.10.0/lib/sshkit/runners/parallel.rb:11:in `block (2 levels) in execute'


Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: LoadError: cannot load such file -- rspec-rerun/tasks when deploying

wvengen
Administrator
Oops, that's actually an error in the codebase! I've fixed it now. Could you update your source tree to master and try again?
$ git checkout master
$ git pull
$ cap production deploy
Hope this works now :o

On 24-04-16 15:25, simon [via foodsoft] wrote:
I think I am almost there, but i could not figure out how to resolve this problem:

....
** Invoke deploy:assets:precompile (first_time)
** Execute deploy:assets:precompile
INFO [28fcd6ca] Running ~/.rvm/bin/rvm default do bundle exec rake assets:precompile as [hidden email]
cap aborted!
SSHKit::Runner::ExecuteError: Exception while executing as [hidden email]: rake exit status: 1
rake stdout: Nothing written
rake stderr: rake aborted!
LoadError: cannot load such file -- rspec-rerun/tasks

Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: LoadError: cannot load such file -- rspec-rerun/tasks when deploying

simon
ah nice, thanks for the fix!
Loading...