Comments (24)
The command to run a volt project is:
bundle exec volt s
Also, can you upgrade to ruby 2.1 and let me know if it works. Thanks
from volt.
@ryanstout
Getting the same error, with both bundle exec volt s
and volt server
.
from volt.
Is thin in your Gemfile.lock file?
from volt.
@ryanstout
It is, under the DEPENDENCIES
section: thin (~> 1.6.0)
from volt.
Still having the same issue :/
from volt.
I'm receiving the same error.
from volt.
@dbeltowski you are on windows, correct? How did you install Ruby? What version of Ruby are you running? Thanks
from volt.
Running Windows 7 64bit. Current version of Ruby is 2.1.4p265 <2014-10-27 revision 48166> [x64-mingw32] Originally I was running Ruby 2.0 and experienced this error so upgraded per your suggestion to the other user.
I installed Ruby using the Ruby 2.1.4(x64) exe from http://rubyinstaller.org/downloads/
from volt.
@dbeltowski Sorry for the late reply. I'll take a look at it tomorrow and see if I can figure it out. I only got to where I needed to install the development kit today :-)
from volt.
Have you had a chance to look into this? I'm really hoping this can be
resolved quickly.
On Sat, Nov 8, 2014 at 12:30 AM, Ryan Stout [email protected]
wrote:
@dbeltowski https://github.com/dbeltowski Sorry for the late reply.
I'll take a look at it tomorrow and see if I can figure it out. I only got
to where I needed to install the development kit today :-)—
Reply to this email directly or view it on GitHub
#39 (comment).
Doug Beltowski | Consultant | Acumen Solutions, Inc.
http://www.acumensolutions.com
Office: 216.654.9869 | Fax: 216.447.8982
5700 Lombardo Center, Suite 201, Seven Hills, OH 44131
*This email and its attachments are for the use of the intended
recipient(s) only. If you are not the intended recipient, please do not
disclose the contents to anyone, but notify the sender by return email and
delete this email (and any attachments) from your system. *
from volt.
@dbeltowski sorry for the late reply, I caramel down with a stomach bug yesterday. Hopefully I'll get some time to look at this today. Thanks.
from volt.
Loved the volt presentation at rubyconf today but this stopped me dead in my tracks. :)
from volt.
Ryan,
Sorry, we're still working on this one. I'm planning to switch to faye for
our data syncing, which would let us use any Ruby server. Hopefully I can
get that out in the next few weeks. Also it's possible we can figure out
thin on windows.
On Wed, Nov 19, 2014 at 4:23 PM ryancastro [email protected] wrote:
Loved the volt presentation at rubyconf today but this stopped me dead in
my tracks. :)—
Reply to this email directly or view it on GitHub
#39 (comment).
from volt.
Running on Windows actually works with ruby 2.0.0p481 (2014-05-08) [i386-mingw32]. I think it's broken on 2.1 ^. The problem I get is this:
..lib/ruby/gems/2.0.0/gems/thin-1.6.3/lib/thin/runner.rb:147:in parse!': invalid option: --max-conns (OptionParser::InvalidOption) from c:/mc_ruby/lib/ruby/gems/2.0.0/gems/thin-1.6.3/lib/thin/runner.rb:50:in 'initialize' from c:/mc_ruby/lib/ruby/gems/2.0.0/gems/volt-0.8.22/lib/volt/cli.rb:68:in 'new'
I've got thin 1.6.3, which should support the --max-conns argument, but for some reason doesn't (I don't even see it when I run thin -h
).
If I head to:
volt\cli.rb, and comment out the --max-conns array arguments from ln 62, volt server
now works on my windows installation.
from volt.
sorry for the spam of comments - after further research I found Thin doesn't support --max-conns on windows. Submitted pull request #67 to fix this for Windows.
from volt.
@ryancastro so things are still broken in >=ruby 2.1 right?
from volt.
Unfortunately, yes. But it looks like for different reasons. Thin doesn't want to start on ruby 2.1.5p273 (2014-11-13 revision 48405) [i386-mingw32] unless it uses em/pure_ruby
instead of just eventmachine
. Looking in their issues, looks like it has to do with how the native extensions are compiled for windows. Once I make that change, event machine starts to have problems and dies on a Bad file descriptor
. Volt appears to start up - I get the Volt ASCII art, listening port, Control+C to stop, etc.... and then eventmachine dies. I'd provide a stack trace at your request, but I think the issue might lie in Thin right now.
I installed 2.1.5 just to test it at your request - I'm just glad it works in 2.0.0 so I can figure out how Volt's going to change my life. :)
from volt.
@ryancastro thanks for the info. If you want to see if you can figure out what's going on with >2.0, that would be really helpful. No worries if you don't have time though. Is it an issue with our eventmachine version?
from volt.
@ryancastro is it related to this: eventmachine/eventmachine#536
from volt.
Yep! That's the one.
from volt.
Please try today's eventmachine 1.0.4 release - please comment or close the ticket if it resolves the issue!
from volt.
@sodabrew I'll upgrade volt tomorrow and people can try it.
from volt.
can anyone confirm this is still happening on master? A few people have said things are working. Thanks @RainoBoy97 @ryancastro @sodabrew @dbeltowski
from volt.
Ok, so 0.9.1.pre3 runs on puma, anyone want to see if it works on that?
from volt.
Related Issues (20)
- Deployment with docker impossible, missing node.js HOT 3
- `config.try` doesn't work in the server? HOT 4
- How to use Volt::Boolean? HOT 2
- Following todos tutorial update does not work HOT 4
- DDP HOT 2
- Volt, Crawlers and SEO HOT 1
- Disable persistence layer (volt-mongo) on Volt HOT 2
- Volt Future related questions HOT 1
- Server won't start - broken dependency on listen / rb-inotifier gems HOT 1
- Server process doesn't actually stop
- I18n HOT 1
- Has this project been abandoned? HOT 18
- Volt Status HOT 1
- docs at voltframework.com/docs are only visible through a workaround
- Fork Volt HOT 6
- This project is dead? HOT 2
- Is this project definitely dead? HOT 1
- Reborn Volt
- "Connection lost..." smoth offline data and resync
- Link to Opal needs to be switched from .org to .com
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 volt.