Giter Club home page Giter Club logo

Comments (4)

kyuucr avatar kyuucr commented on August 26, 2024

Have you installed toto using gem? sudo gem install toto

from toto.

luckypoem avatar luckypoem commented on August 26, 2024

hi.
i used "thin" unsuccessfully,but i use "unicorn" successfully.

gem install unicorn

unicorn --port 23456

from toto.

AloisMahdal avatar AloisMahdal commented on August 26, 2024

Hi, I have the same issue with toto on Debian Wheezy.

What I did was:

  1. sudo aptitude install rubygems (1.8.24-1)
  2. sudo aptitude install thin (1.3.1-3)
  3. sudo gem install toto (0.4.9)
  4. cloned dorothy (master 6b9b23f from May 14 2010), cd to the folder
  5. thin start -R config.ru from the dorothy root
aloism@azzgoat:~/relief(master *)$ thin start -R config.ru 
config.ru:2:in `require': no such file to load -- toto (LoadError)
        from config.ru:2
        from /usr/lib/ruby/vendor_ruby/rack/builder.rb:51:in `instance_eval'
        from /usr/lib/ruby/vendor_ruby/rack/builder.rb:51:in `initialize'
        from config.ru:1:in `new'
        from config.ru:1
aloism@azzgoat:~/relief(master *)$ 

from toto.

kakubei avatar kakubei commented on August 26, 2024

I had the same issue on Mavericks on a Mac, had to use Puma instead, there was not way to launch the app with Thin because it kept looking for the Toto gem in the System's defalt ruby path where it was't installed. My config.ru file looks like this:

#!/usr/bin/env rackup 
#\ -p 8000 # run on port 8000
# encoding: utf-8

require 'toto'
...

I also changed the project to use Bundler with a Gemfile.

from toto.

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.