Coder Social home page Coder Social logo

guard-rspec-jruby's People

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

guard-rspec-jruby's Issues

Process orphaned on exit

It currently appears that bundle exec guard starts two java processes (actually three but one is very short lived). The second java process is a child of the first which itself is a child of the terminal that guard was started in.

Under normal circumstances the second java process terminates along with its parent (this is the case with guard-rspec). However in our case the second process gets orphaned and claimed by init when its parent is terminated and it's currently unclear as to why.

For now the only workaround is to manually kill the process.

(LoadError) no such file to load -- bundle/setup

I use rbenv. When I bundle I use '$ bundle install --binstubs=bin --path vendor/bundle'. I have OpenJDK 7, and jruby 1.7, on a Ubuntu 12.04 box. I have require guard-rspec-jruby in my Guardfile, and the guard 'rspec-juby' block as well. When I run '$ bundle exec guard' I get the following error. I even went as far as specifying gempaths in my .gemrc file. That didn't help. Any ideas? If you need more info, I'm more than happy to help with that.

vagrant@devweb01:/vagrant$ bundle exec guard
io/console on JRuby shells out to stty for most operations
21:17:12 - INFO - Guard uses TerminalTitle to send notifications.
21:17:12 - INFO - Guard is now watching at '/vagrant'
21:17:12 - INFO - Guard::RSpec is running, with RSpec 2!
21:17:12 - INFO - Running all specs
LoadError: no such file to load -- bundler/setup
      require at org/jruby/RubyKernel.java:1019
      require at /home/vagrant/.rbenv/versions/jruby-1.7.0/lib/ruby/shared/rubygems/custom_require.rb:36
       (root) at <script>:2
              at :1
              at :1
     __send__ at org/jruby/RubyBasicObject.java:1667
         send at org/jruby/RubyKernel.java:2077
        catch at org/jruby/RubyKernel.java:1173
        each at org/jruby/RubyArray.java:1612
        catch at org/jruby/RubyKernel.java:1173
     each at org/jruby/RubyArray.java:1612
  synchronize at org/jruby/ext/thread/Mutex.java:149
     __send__ at org/jruby/RubyBasicObject.java:1667
         send at org/jruby/RubyKernel.java:2077
         load at org/jruby/RubyKernel.java:1045
       (root) at /vagrant/vendor/bundle/jruby/1.9/bin/guard:23
21:17:13 - ERROR - (LoadError) no such file to load -- bundler/setup

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.