Comments (5)
Looks like specjour is having issues resolving the ip from the hostname. I think someone else had this issue but I haven't been able to reproduce it on my local networks. Do you still encounter the issue when you disconnect from the network?
from specjour.
DRb connects via hostname if IP can't be resolved
Closed by 217c2c4
Closed by 217c2c4
from specjour.
I am still experiencing this problem although I think it might be related to my machine (but not really sure). I took at a look at the commit messages and ticket 16 was referenced so I took a look there and sandro suggested the following to require 'socket' and make the connection manually (to test). My console fails when I try that:
ruby-1.9.2-p0 > require 'socket'
=> nil
ruby-1.9.2-p0 > Socket.getaddrinfo(Socket.gethostname, nil, Socket::AF_INET, Socket::SOCK_STREAM)
SocketError: getaddrinfo: nodename nor servname provided, or not known
from (irb):2:in `getaddrinfo'
from (irb):2
from /Users/sheldon/.rvm/gems/ruby-1.9.2-p0/gems/railties- 3.0.3/lib/rails/commands/console.rb:44:in `start'
from /Users/sheldon/.rvm/gems/ruby-1.9.2-p0/gems/railties-3.0.3/lib/rails/commands/console.rb:8:in `start'
from /Users/sheldon/.rvm/gems/ruby-1.9.2-p0/gems/railties-3.0.3/lib/rails/commands.rb:23:in `<top (required)>'
from script/rails:6:in `require'
from script/rails:6:in `<main>'
from specjour.
I am still experiencing this problem although I think it might be related to my machine (but not really sure). I took at a look at the commit messages and ticket 16 was referenced so I took a look there and sandro suggested the following to require 'socket' and make the connection manually (to test). My console fails when I try that:
ruby-1.9.2-p0 > require 'socket'
=> nil
ruby-1.9.2-p0 > Socket.getaddrinfo(Socket.gethostname, nil, Socket::AF_INET, Socket::SOCK_STREAM)
SocketError: getaddrinfo: nodename nor servname provided, or not known
from (irb):2:in `getaddrinfo'
from (irb):2
from /Users/sheldon/.rvm/gems/ruby-1.9.2-p0/gems/railties- 3.0.3/lib/rails/commands/console.rb:44:in `start'
from /Users/sheldon/.rvm/gems/ruby-1.9.2-p0/gems/railties-3.0.3/lib/rails/commands/console.rb:8:in `start'
from /Users/sheldon/.rvm/gems/ruby-1.9.2-p0/gems/railties-3.0.3/lib/rails/commands.rb:23:in `<top (required)>'
from script/rails:6:in `require'
from script/rails:6:in `<main>'
from specjour.
Did you try running against the master branch directly? I think that commit fixes the problem but I haven't pushed out an updated gem yet so you'll have to reference the git repo in your Gemfile.
from specjour.
Related Issues (20)
- 0.5.3 won't run with thor-0.15.2 HOT 1
- 0.5.3 prepares but won't run with rspec 2.10.0 HOT 5
- Specjour doesn't work with latest cucumber version HOT 2
- Seems to be incompatible with rspec-core 2.10.1 (fine with 2.10.0) HOT 12
- undefined method `step_mother' for Cucumber::Cli::Main:Class HOT 1
- Using specjour with Rails 3.2 HOT 2
- Rspec 2.11 config issue HOT 10
- Rspec-core current dev > 2.11.1 HOT 5
- cucumber or akephalos error? HOT 2
- Run with cucumber issue HOT 1
- rsync error - should specjour lisrten quit? HOT 2
- Specjour slow when before(:all) is heavily used HOT 7
- Worker tiemout feature? HOT 3
- Not playing well with rspec-core 2.11.1 HOT 3
- Is this project still in development? HOT 7
- Rails 4 compatibility HOT 2
- DNSSD error HOT 2
- Specjour does not work with cucumber version >= 1.2.2 HOT 1
- RSpec 3 - backtrace_clean_patterns HOT 1
- Is this project still alive?
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from specjour.