Skip to content

please document dependencies #6

@dchmelik

Description

@dchmelik

Please document how to install/setup the necessary Ruby/gem dependencies. Running cccb9 and getting the following errors it's not clear how to do so. Instructions should just be in README for people (such as myself) who don't use Ruby.

dicebot@darwinheim:~$ ./cccb9 
Failed to load lib/cccb/core/httpserver.rb: cannot load such file -- webrick
Failed to load lib/cccb/core/reply.rb: Could not find 'redcarpet' (>= 0) among 87 total gem(s)
Checked in 'GEM_PATH=/home/dicebot/.local/share/gem/ruby/3.0.0:/usr/lib64/ruby/gems/3.0.0' , execute `gem env` for more information
Failed to load lib/cccb/modules/usertrack.rb: cannot load such file -- tzinfo
Failed to load lib/cccb/modules/uri_video_title.rb: cannot load such file -- mechanize
Failed to load lib/cccb/modules/giant_multiplayer_robot.rb: cannot load such file -- mechanize
Failed to load lib/cccb/modules/tables.rb: lib/cccb/modules/tables.rb:155: syntax error, unexpected `do' for block, expecting `end'
...? { |i| r.include? i } }.map do |r,d|
...                             ^~
lib/cccb/modules/tables.rb:155: syntax error, unexpected '|', expecting '='
...| r.include? i } }.map do |r,d|
...                              ^
lib/cccb/modules/tables.rb:158: syntax error, unexpected `when', expecting `end'
      when "remove"
      ^~~~
lib/cccb/modules/tables.rb:182: syntax error, unexpected `end', expecting end-of-input
  end
  ^~~
Failed to load lib/cccb/modules/twitter_message.rb: cannot load such file -- mechanize
Failed to load lib/cccb/modules/links.rb: cannot load such file -- dbi
Did you mean?  dbm
FATAL :CCCB::Core::Bot: Missing feature 'reply'
["/home/dicebot/lib/module/requirements.rb:172:in `block in requirements'",
 "/home/dicebot/lib/module/requirements.rb:167:in `map'"]

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