Coder Social home page Coder Social logo

infra-filling's People

Contributors

gaddict avatar pollseed avatar

Watchers

 avatar

infra-filling's Issues

bundle install エラー解消タスク

まずはエラーの出現ポイントから

エラー文

Errno::EACCES: Permission denied @ dir_s_mkdir - /home/vagrant/.rbenv/versions/2.2.2/lib/ruby/gems/2.2.0/extensions/x86_64-linux/2.2.0-static/json-1.8.2
An error occurred while installing json (1.8.2), and Bundler cannot continue.
Make sure that `gem install json -v '1.8.2'` succeeds before bundling.

playbookの文法エラー

GATHERING FACTS ***************************************************************
fatal: [192.168.1.10] => SSH Error: ssh: connect to host 192.168.1.10 port 22: Operation timed out
    while connecting to 192.168.1.10:22
It is sometimes useful to re-run the command using -vvvv, which prints SSH debug output to help diagnose the issue.

Chef化も検討

理由

  • ansibleで出来ないことがある
  • 細かい設定等ができず、手作業が増える可能性が高い

デプロイ自動化

CIに流すことにする

候補

  • オンプレおっさん→最初から鯖内に入れておく
  • CercleCI→テストシェルを開発
  • travis-ci→テストシェルを開発

vagrantの環境で `bundle install` するとPermissonErrorになる

vagrant@vagrant-ubuntu-trusty-64:~/harmox/harmox-app/harmox-user$ bundle install
Fetching gem metadata from https://rubygems.org/........
Fetching version metadata from https://rubygems.org/...
Fetching dependency metadata from https://rubygems.org/..
Using rake 10.4.2
Using i18n 0.7.0
with native extensions
Errno::EACCES: Permission denied @ dir_s_mkdir - /home/vagrant/.rbenv/versions/2.2.2/lib/ruby/gems/2.2.0/extensions/x86_64-linux/2.2.0-static/json-1.8.2
An error occurred while installing json (1.8.2), and Bundler cannot continue.
Make sure that `gem install json -v '1.8.2'` succeeds before bundling.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.