Coder Social home page Coder Social logo

Comments (9)

typicode avatar typicode commented on May 26, 2024

Could you maybe try to run katon rm and then katon add 'rails server --port $PORT, and tell me if it works again?

I suspect katon reload to maybe create another process too quickly.

I'll do some tests tomorrow as well.

from katon.

axelson avatar axelson commented on May 26, 2024

Re-adding the server resulted in the same exact behavior. Upgrading to katon 0.10.0 didn't help either. But narrowed it down to only occur when I include the mysql2 gem, even if I'm not including that in database.yml or anything. Seems odd. Using ruby 2.1.5 and mysql2 0.3.18 (also tried 0.3.17)

from katon.

typicode avatar typicode commented on May 26, 2024

I've tried with rails 4.1.7 but no errors. I'll try to add mysql gem.
If you run $ rails server do you get the error or is it only when you use it with katon?

from katon.

axelson avatar axelson commented on May 26, 2024

Can you try this rails repo? For me the first commit works fine and is just a typical rails project, but the second commit that just adds mysql2 fails. However rails server works fine.

https://github.com/axelson/katontest

from katon.

typicode avatar typicode commented on May 26, 2024

Sure, thanks for setting it up!
I'll be a little busy so don't know when I'll have time.

from katon.

axelson avatar axelson commented on May 26, 2024

Okay, thanks. For now I guess I'll just have to run rails server directly.

On Sun, Mar 8, 2015 at 9:46 AM typicode [email protected] wrote:

Sure, thanks for setting it up!
I'll be a little busy so don't know when I'll have time.


Reply to this email directly or view it on GitHub
#64 (comment).

from katon.

typicode avatar typicode commented on May 26, 2024

Hi, so I've done some tests with your repo and it seems like that I get the error only when mysql is not installed.

Can you try running brew install mysql?

from katon.

axelson avatar axelson commented on May 26, 2024

That would probably fix it, but I don't understand why it matters how MySQL is installed? I have it installed "natively" (i.e. via the official package)

http://dev.mysql.com/doc/mysql-macosx-excerpt/5.5/en/macosx-installation-pkg.html

I believe that installing mysql via homebrew would conflict with my current installation.

from katon.

typicode avatar typicode commented on May 26, 2024

I agree that's weird and don't know either why it makes a difference.
Personally, I always use brew to install everything.

I'll try to make some more tests, if you find the reason behind it I'll be happy to know.

from katon.

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.