Wiki Forum Sign up! Explore Home

Not signed in (Sign In)

LiveSearch

Welcome, Guest

Want to take part in these discussions? Sign in if you have an account, or apply for one below

Vanilla 1.1.2 is a product of Lussumo. More Information: Documentation, Community Support.

    • CommentAuthormravibsp
    • CommentTimeAug 3rd 2007 edited
     permalink
    This line of readme file which is there in the clockingIT is now working can u suggest wats the exact error

    sudo RAILS_ENV=production ./script/runner "load './lib/daemons/ferret_server'"

    Error :-
    sudo: RAILS_ENV=production: command not found

    or using without using sudo its giving


    Route segment ":controller" cannot be optional because it precedes a required segment. This segment will be required.
    Route segment ":controller" cannot be optional because it precedes a required segment. This segment will be required.
    ./script/../config/../vendor/rails/railties/lib/commands/runner.rb:47: ./script/../config/../vendor/plugins/acts_as_ferret/lib/ferret_server.rb:19:in `read': No such file or directory - script/../config/../config/ferret_server.yml (Errno::ENOENT)
    from ./script/../config/../vendor/plugins/acts_as_ferret/lib/ferret_server.rb:19:in `load'
    from ./script/../config/../vendor/plugins/acts_as_ferret/lib/ferret_server.rb:44:in `start'
    from ./lib/daemons/ferret_server:15
    from ./script/../config/../vendor/rails/activerecord/lib/../../activesupport/lib/active_support/dependencies.rb:488:in `load'
    from ./script/../config/../vendor/rails/activerecord/lib/../../activesupport/lib/active_support/dependencies.rb:488:in `load'
    from ./script/../config/../vendor/rails/activerecord/lib/../../activesupport/lib/active_support/dependencies.rb:342:in `new_constants_in'
    from ./script/../config/../vendor/rails/activerecord/lib/../../activesupport/lib/active_support/dependencies.rb:488:in `load'
    from (eval):1
    from ./script/runner:3:in `eval'
    from ./script/../config/../vendor/rails/railties/lib/commands/runner.rb:47
    from ./script/runner:3:in `require'
    from ./script/runner:3
    • CommentAuthoradmin
    • CommentTimeAug 3rd 2007
     permalink
    RAILS_ENV=production is a bash-ism, so replace it with whatever your root shell requires to set the RAILS_ENV environment variable to production.

    Copy config/ferret_server.yml-example (from latest darcs version) to config/ferret_server.yml to fix the non-sudo version. There's also a copy in vendor/plugins/acts_as_ferret/config/ferret_server.yml

    -- Erlend