Giter Club home page Giter Club logo

Comments (24)

ryanstout avatar ryanstout commented on August 28, 2024

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.

058c37a272bed3464d47f0b01038a16a avatar 058c37a272bed3464d47f0b01038a16a commented on August 28, 2024

@ryanstout
Getting the same error, with both bundle exec volt s and volt server.

from volt.

ryanstout avatar ryanstout commented on August 28, 2024

Is thin in your Gemfile.lock file?

from volt.

058c37a272bed3464d47f0b01038a16a avatar 058c37a272bed3464d47f0b01038a16a commented on August 28, 2024

@ryanstout
It is, under the DEPENDENCIES section: thin (~> 1.6.0)

from volt.

058c37a272bed3464d47f0b01038a16a avatar 058c37a272bed3464d47f0b01038a16a commented on August 28, 2024

Still having the same issue :/

from volt.

dbeltowski avatar dbeltowski commented on August 28, 2024

I'm receiving the same error.

from volt.

ryanstout avatar ryanstout commented on August 28, 2024

@dbeltowski you are on windows, correct? How did you install Ruby? What version of Ruby are you running? Thanks

from volt.

dbeltowski avatar dbeltowski commented on August 28, 2024

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.

ryanstout avatar ryanstout commented on August 28, 2024

@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.

dbeltowski avatar dbeltowski commented on August 28, 2024

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.

ryanstout avatar ryanstout commented on August 28, 2024

@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.

ryancastro avatar ryancastro commented on August 28, 2024

Loved the volt presentation at rubyconf today but this stopped me dead in my tracks. :)

from volt.

ryanstout avatar ryanstout commented on August 28, 2024

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.

ryancastro avatar ryancastro commented on August 28, 2024

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.

ryancastro avatar ryancastro commented on August 28, 2024

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.

ryanstout avatar ryanstout commented on August 28, 2024

@ryancastro so things are still broken in >=ruby 2.1 right?

from volt.

ryancastro avatar ryancastro commented on August 28, 2024

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.

ryanstout avatar ryanstout commented on August 28, 2024

@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.

ryanstout avatar ryanstout commented on August 28, 2024

@ryancastro is it related to this: eventmachine/eventmachine#536

from volt.

ryancastro avatar ryancastro commented on August 28, 2024

Yep! That's the one.

from volt.

sodabrew avatar sodabrew commented on August 28, 2024

Please try today's eventmachine 1.0.4 release - please comment or close the ticket if it resolves the issue!

from volt.

ryanstout avatar ryanstout commented on August 28, 2024

@sodabrew I'll upgrade volt tomorrow and people can try it.

from volt.

ryanstout avatar ryanstout commented on August 28, 2024

can anyone confirm this is still happening on master? A few people have said things are working. Thanks @RainoBoy97 @ryancastro @sodabrew @dbeltowski

from volt.

ryanstout avatar ryanstout commented on August 28, 2024

Ok, so 0.9.1.pre3 runs on puma, anyone want to see if it works on that?

from volt.

Related Issues (20)

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.