â
digdag/embulk ã ubuntu 14 ã«ã¤ã³ã¹ãã¼ã«ãã
ã¾ãjavaãã¤ã³ã¹ãã¼ã«ããã¨ã
sudo apt-add-repository ppa:webupd8team/java sudo apt-get update sudo apt-get install oracle-java8-installer java -version
How to Install Oracle Java 8 on Ubuntu 14.04 LTS | Liquid Web Knowledge Base
digdagã®ã¤ã³ã¹ãã¼ã«ã
curl -o ~/bin/digdag --create-dirs -L "https://dl.digdag.io/digdag-latest" chmod +x ~/bin/digdag echo 'export PATH="$HOME/bin:$PATH"' >> ~/.bashrc
Getting started â Digdag 0.9.5 documentation
embulkã®ã¤ã³ã¹ãã¼ã«
curl --create-dirs -o ~/.embulk/bin/embulk -L "https://dl.embulk.org/embulk-latest.jar" chmod +x ~/.embulk/bin/embulk echo 'export PATH="$HOME/.embulk/bin:$PATH"' >> ~/.bashrc source ~/.bashrc
https://github.com/embulk/embulk#linux--mac--bsd
å©ç¨ããin/outãã©ã°ã¤ã³ã®ã¤ã³ã¹ãã¼ã«ã
embulk gem install embulk-input-mysql embulk gem install embulk-output-mysql embulk gem install embulk-input-bigquery embulk gem install embulk-output-bigquery
embulk-input-mysqlã使ã£ã¦ã¿ã - Qiita Embulkã§MySQLã«å¤§éãã¼ã¿ãæå ¥ãã¦ã¿ã - ãã®ï¼ - Qiita
ubuntuãupgradeãã¦nginxãåèµ·åãããã[emerg] could not build the variables_hash...ãã¨ããã¨ã©ã¼ã«ãªã£ã
nginx ã®ãã¼ã¸ã§ã³ã¯ nginx/1.4.6 (Ubuntu) ããã§ãã¨ã©ã¼ã¡ãã»ã¼ã¸ã¯ä»¥ä¸ã
2017/07/15 01:26:19 [emerg] 3778#0: could not build the variables_hash, you should increase either variables_hash_max_size: 512 or variables_hash_bucket_size: 64
ããã·ã¥ãã¼ãã«ã®å¤ã足ããªãããå¢ããã¦ãã¨è¨ããã¦ããã®ã§ variables_hash_max_size
or variables_hash_bucket_size
ã®å¤ã®ã©ã¡ãããå¢ããã¨ãããããã·ã¥ãã¼ãã«ã«é¢ãã¦ã¯ä»¥ä¸ãèªãã¨ç解ã§ããã
AWS RDS ã®æéã確èªããããããµã¤ã
Prepending `bundle exec` to your command may solve this Error
ãã¾ã«èµ·ããrails(log/unicorn.log)ã®ãã®ã¨ã©ã¼
You have already activated kgio 2.11 .0, but your Gemfile requires kgio 2.10.0. Prepending `bundle exec` to your command may solve this. (Gem::LoadError)
è¤æ°ãã¼ã¸ã§ã³ã®gemå ¥ã£ã¡ãã£ã¦ãããã®ãããªã®ã§ä»¥ä¸ã§åé¤ãã¦ããããç´ã£ãã
bundle clean --force
Powã使ããªããbyebugã使ããã
Powã§ä¾¿å©ã«ãªã£ããã©debugãããã©ããªã®ã§èª¿ã¹ãã 調ã¹ã㨠Pow x RubyMine ã®ãããã°æ¹æ³ãçµæ§ã§ã¦ããã®ã ãã©ãç§vscode使ã£ã¦ãã®ã§ã RubyMineè²·ããããªããvscodeã§ãããã°ãã°ã§ãããã§ã¯ããã…
æºå
rails_root/.powenv export RUBY_DEBUG_PORT=10007
rails_root/.powconfig export POW_DOMAINS=dev
rails_root/config/initializers/remote_debug.rb require 'byebug' #set in your .powconfig if ENV['RUBY_DEBUG_PORT'] Byebug.start_server 'localhost', ENV['RUBY_DEBUG_PORT'].to_i else Byebug.start_server 'localhost' end
ã¨ããããç§ã ããã使ã£ã¦ãªãã®ã§ ~/.gitignore
ã«ããã
~/.gitignore .powder .powconfig .powenv config/initializers/remote_debug.rb
æé
powder使ã£ã¡ãã£ã¦ã¾ãããtouch使ã£ããªã¹ã¿ã¼ãã§ãããã¯ãã
- powder restart
- powder open
- bundle exec byebug -R localhost:10007
å®è¡ããã¨
Connecting to byebug server... Connected.
ã¨ãªãããã¨ã¯ãã¤ãã©ãã debugger
ããã°ãï½ã
powderããããpowderã
çµå± Pow (http://pow.cx/) ããããã£ããã©ã¨ã©ã¼ã«ãªã
以ä¸ã®ãããªã¨ã©ã¼ã
/Users/kamip/Library/Application Support/Pow/Versions/0.5.0/lib/command.js:78 throw err; ^ file exists
確èªãã¦ããã¨ã /Users/kamip/Library/LaunchAgents
ããã¡ã¤ã«ã«ãªã£ã¦ãã! ãªã!?!?
ä¸èº«ãã¿ãã¨ãããã redis
ã®èªåèµ·åãä½ãã®è¨å®ã ã¨æãã®ã ãã©ãã¨ããããæããã«ããããã®ã§ããã£ã¬ã¯ããªä½ãç´ãããåããã
ã¡ãªã¿ã« brew install pow
ãã¾ããã以ä¸ãåèã«ã
ãã£ããã®ãã¬ãã¢ã ãªãã©ã¤ãã¼ã§ãã rvm 㨠seppuku ãã¦ã¾ãã
æ¤è¨¼ç°å¢ã® rails ã® gems ããããããªã£ãã®ã unicorn ã start ã§ããªãï¼ã£ã¦åãèãã¦è²ã
ãããããã¦ãã®ã§ãããã©ãããã¾ããããªãã¦ãrm -rf ~/.rvm/gems/ruby-2.3.0
ãã¦ã¿ãããæªåããww ãã¯ãã©ãã«ããªããªããªã£ã¦ããã¯ã¯ãããã¼wwã£ã¦æã£ã¦ãããã©ãã«ã§ããªãã¨æå¼·ã³ãã³ã rvm seppuku
ãã¦ãå度 rvm ãã¤ã³ã¹ãã¼ã«ããdeploy ãããåãããã£ã¦ãã¨ããã¬ãã¢ã ãªãã©ã¤ãã¼ã«ãã£ããã¨ãã¡ã¢ãããã¦æ¸ãã¾ãããseppuku
ãããã¨ãããªãã rvm seppuku
ãæ¨å¥¨ããè¨äºã§ã¯ããã¾ãããã使ç¨ã¯èªå·±è²¬ä»»ã§ãé¡ããã¾ãã