This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
must install cinch | |
gem install --user-install bundler | |
got error: WARNING: You don't have /home/mon/.gem/ruby/2.2.0/bin in your PATH, gem executables will not run. | |
add PATH=$PATH:/home/mon/.gem/ruby/2.2.0/bin to your ~/.bashrc | |
now source ~/.bashrc | |
bundle -v | |
Bundler version 1.10.6 | |
run bundle install --deployment |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# The channels array will be automatically edited by the bot during run-time. | |
# I recommend only editing it when the bot is offline | |
channels: " #ruby" | |
imgur: | |
client_id: "6430ac971cd3854" | |
command_prefix: "!" | |
irc: | |
server: "chat.freenode.net" | |
port: "6666" | |
ssl: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
bot.rb:11:in `block in <main>': undefined method `uniq' for "#ruby":String (NoMethodError) | |
from /usr/lib/ruby/2.2.0/pstore.rb:330:in `block in transaction' | |
from /usr/lib/ruby/2.2.0/pstore.rb:329:in `catch' | |
from /usr/lib/ruby/2.2.0/pstore.rb:329:in `transaction' | |
from bot.rb:11:in `<main>' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
mon@robdrake:~/memebot$ bundle install --deployment | |
Fetching gem metadata from https://rubygems.org/......... | |
Fetching version metadata from https://rubygems.org/... | |
Fetching dependency metadata from https://rubygems.org/.. | |
Using i18n 0.7.0 | |
Using json 1.8.1 | |
Using minitest 5.5.0 | |
Using thread_safe 0.3.4 | |
Using tzinfo 1.2.2 | |
Using activesupport 4.2.0 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
mon@robdrake:~/memebot$ bundle install --deployment | |
Fetching gem metadata from https://rubygems.org/......... | |
Fetching version metadata from https://rubygems.org/... | |
Fetching dependency metadata from https://rubygems.org/.. | |
Using i18n 0.7.0 | |
Using json 1.8.1 | |
Using minitest 5.5.0 | |
Using thread_safe 0.3.4 | |
Using tzinfo 1.2.2 | |
Using activesupport 4.2.0 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
mon@robdrake:~/memebot$ bundle install --deployment | |
Fetching gem metadata from https://rubygems.org/......... | |
Fetching version metadata from https://rubygems.org/... | |
Fetching dependency metadata from https://rubygems.org/.. | |
Installing i18n 0.7.0 | |
Using json 1.8.1 | |
Installing minitest 5.5.0 | |
Installing thread_safe 0.3.4 | |
Installing tzinfo 1.2.2 | |
Installing activesupport 4.2.0 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
mon@robdrake:~$ gem install --user-install bundler | |
WARNING: You don't have /home/mon/.gem/ruby/2.2.0/bin in your PATH, | |
gem executables will not run. | |
Successfully installed bundler-1.10.6 | |
Parsing documentation for bundler-1.10.6 | |
Installing ri documentation for bundler-1.10.6 | |
Done installing documentation for bundler after 8 seconds | |
1 gem installed |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
mon@robdrake:~$ gem install bundler | |
Fetching: bundler-1.10.6.gem (100%) | |
ERROR: While executing gem ... (Gem::FilePermissionError) | |
You don't have write permissions for the /var/lib/gems/2.2.0 directory. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
mon@robdrake:~/memebot$ ruby bot.rb | |
/usr/lib/ruby/2.2.0/rubygems/core_ext/kernel_require.rb:54:in `require': cannot load such file -- RMagick (LoadError) | |
from /usr/lib/ruby/2.2.0/rubygems/core_ext/kernel_require.rb:54:in `require' | |
from /home/mon/memebot/lib/memegen.rb:2:in `<top (required)>' | |
from bot.rb:2:in `require_relative' | |
from bot.rb:2:in `<main>' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
mon@robdrake:~/memebot$ ruby bot.rb | |
/usr/lib/ruby/2.2.0/rubygems/core_ext/kernel_require.rb:54:in `require': cannot load such file -- cinch (LoadError) | |
from /usr/lib/ruby/2.2.0/rubygems/core_ext/kernel_require.rb:54:in `require' | |
from bot.rb:1:in `<main>' |
NewerOlder