Skip to content

two problems, besides good job ;) #1

@rafath

Description

@rafath

cześć,

Jest problem z ładowaniem pliku: lib/client_smsapi/error/messages.yml
przy uruchamianiu aplikcji pojawia się błąd:

/home/vagrant/.rvm/rubies/ruby-2.2.2/lib/ruby/2.2.0/psych.rb:464:in `initialize': No such file or directory @ rb_sysopen - lib/client_smsapi/error/messages.yml (Errno::ENOENT)
        from /home/vagrant/.rvm/rubies/ruby-2.2.2/lib/ruby/2.2.0/psych.rb:464:in `open'
        from /home/vagrant/.rvm/rubies/ruby-2.2.2/lib/ruby/2.2.0/psych.rb:464:in `load_file'
        from /home/vagrant/.rvm/gems/ruby-2.2.2/gems/client_smsapi-0.2.0/lib/client_smsapi/response/error.rb:19:in `<class:Error>'
        from /home/vagrant/.rvm/gems/ruby-2.2.2/gems/client_smsapi-0.2.0/lib/client_smsapi/response/error.rb:5:in `<class:Response>'
        from /home/vagrant/.rvm/gems/ruby-2.2.2/gems/client_smsapi-0.2.0/lib/client_smsapi/response/error.rb:4:in `<module:SMSApi>'
        from /home/vagrant/.rvm/gems/ruby-2.2.2/gems/client_smsapi-0.2.0/lib/client_smsapi/response/error.rb:3:in `<top (required)>'
        from /home/vagrant/.rvm/gems/ruby-2.2.2/gems/client_smsapi-0.2.0/lib/client_smsapi/response.rb:1:in `require_relative'
        from /home/vagrant/.rvm/gems/ruby-2.2.2/gems/client_smsapi-0.2.0/lib/client_smsapi/response.rb:1:in `<top (required)>'
        from /home/vagrant/.rvm/gems/ruby-2.2.2/gems/activesupport-4.2.5/lib/active_support/dependencies.rb:274:in `require'
        from /home/vagrant/.rvm/gems/ruby-2.2.2/gems/activesupport-4.2.5/lib/active_support/dependencies.rb:274:in `block in require'
        from /home/vagrant/.rvm/gems/ruby-2.2.2/gems/activesupport-4.2.5/lib/active_support/dependencies.rb:240:in `load_dependency'
        from /home/vagrant/.rvm/gems/ruby-2.2.2/gems/activesupport-4.2.5/lib/active_support/dependencies.rb:274:in `require'
        from /home/vagrant/.rvm/gems/ruby-2.2.2/gems/client_smsapi-0.2.0/lib/client_smsapi.rb:2:in `<top (required)>'
        from /home/vagrant/.rvm/gems/ruby-2.2.2@global/gems/bundler-1.10.6/lib/bundler/runtime.rb:76:in `require'
        from /home/vagrant/.rvm/gems/ruby-2.2.2@global/gems/bundler-1.10.6/lib/bundler/runtime.rb:76:in `block (2 levels) in require'
        from /home/vagrant/.rvm/gems/ruby-2.2.2@global/gems/bundler-1.10.6/lib/bundler/runtime.rb:72:in `each'
        from /home/vagrant/.rvm/gems/ruby-2.2.2@global/gems/bundler-1.10.6/lib/bundler/runtime.rb:72:in `block in require'
        from /home/vagrant/.rvm/gems/ruby-2.2.2@global/gems/bundler-1.10.6/lib/bundler/runtime.rb:61:in `each'
        from /home/vagrant/.rvm/gems/ruby-2.2.2@global/gems/bundler-1.10.6/lib/bundler/runtime.rb:61:in `require'
        from /home/vagrant/.rvm/gems/ruby-2.2.2@global/gems/bundler-1.10.6/lib/bundler.rb:134:in `require'
        from /var/www/projects/przypominacz.us/reminder_app/config/application.rb:7:in `<top (required)>'
        from /home/vagrant/.rvm/gems/ruby-2.2.2/gems/railties-4.2.5/lib/rails/commands/commands_tasks.rb:141:in `require'
        from /home/vagrant/.rvm/gems/ruby-2.2.2/gems/railties-4.2.5/lib/rails/commands/commands_tasks.rb:141:in `require_application_and_environment!'
        from /home/vagrant/.rvm/gems/ruby-2.2.2/gems/railties-4.2.5/lib/rails/commands/commands_tasks.rb:67:in `console'
        from /home/vagrant/.rvm/gems/ruby-2.2.2/gems/railties-4.2.5/lib/rails/commands/commands_tasks.rb:39:in `run_command!'
        from /home/vagrant/.rvm/gems/ruby-2.2.2/gems/railties-4.2.5/lib/rails/commands.rb:17:in `<top (required)>'
        from bin/rails:9:in `require'
        from bin/rails:9:in `<main>'

i w opisie: jest config.secret a powinno być config.password

Poza tym super działa ;). Dzięki.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions