{"id":1015,"date":"2017-06-04T08:27:29","date_gmt":"2017-06-04T08:27:29","guid":{"rendered":"http:\/\/linuxmotto.ir\/blog\/?p=1015"},"modified":"2017-06-04T10:44:19","modified_gmt":"2017-06-04T10:44:19","slug":"%d9%85%d8%b4%da%a9%d9%84-%d9%86%d8%b5%d8%a8-%d9%be%d9%84%d8%a7%da%af%db%8c%d9%86-%d8%a8%d8%b1%d8%a7%db%8c-vagrant","status":"publish","type":"post","link":"https:\/\/linuxmotto.io\/blog\/?p=1015","title":{"rendered":"\u0645\u0634\u06a9\u0644 \u0646\u0635\u0628 \u067e\u0644\u0627\u06af\u06cc\u0646 \u0628\u0631\u0627\u06cc Vagrant"},"content":{"rendered":"<p>\u062f\u0631 \u062f\u0628\u06cc\u0627\u0646 \u0648 \u0627\u0648\u0628\u0648\u0646\u062a\u0648 \u0632\u0645\u0627\u0646\u06cc \u06a9\u0647 \u0628\u0633\u062a\u0647 Vagrant \u0631\u0627 \u0646\u0635\u0628 \u0645\u06cc \u06a9\u0646\u06cc\u062f \u0647\u0645\u0647 \u0648\u0627\u0628\u0633\u062a\u06af\u06cc \u0647\u0627\u06cc \u0644\u0627\u0632\u0645 \u0628\u0631\u0627\u06cc \u0627\u062c\u0631\u0627\u06cc \u0628\u062e\u0634\u0647\u0627\u06cc \u0645\u062e\u062a\u0644\u0641 \u0627\u06cc\u0646 \u0646\u0631\u0645 \u0627\u0641\u0632\u0627\u0631 \u0646\u0635\u0628 \u0646\u0645\u06cc \u0634\u0648\u062f. \u0639\u0644\u0627\u0648\u0647 \u0628\u0631 \u0622\u0646 \u06cc\u06a9 \u0628\u0627\u06af \u0634\u0646\u0627\u062e\u062a\u0647 \u0634\u062f\u0647 \u0648\u062c\u0648\u062f \u062f\u0627\u0631\u062f \u06a9\u0647 \u0647\u0646\u0648\u0632 \u062f\u0631 \u0645\u062e\u0627\u0632\u0646 \u0627\u0635\u0644\u0627\u062d \u0646\u0634\u062f\u0647 \u0627\u0633\u062a. \u0645\u062d\u06cc\u0637 \u062a\u0633\u062a \u0645\u0646 ubuntu 16.04 \u0627\u0633\u062a. \u06cc\u06a9\u06cc \u0627\u0632 \u0645\u0634\u06a9\u0644\u0627\u062a \u0628\u0631\u0627\u06cc \u0645\u0646 \u0632\u0645\u0627\u0646 \u0646\u0635\u0628 \u067e\u0644\u0627\u06af\u06cc\u0646 vagrant-share \u067e\u06cc\u0634 \u0627\u0648\u0645\u062f. \u0632\u0645\u0627\u0646\u06cc \u06a9\u0647 \u0645\u06cc \u062e\u0648\u0627\u0633\u062a\u0645 \u062f\u0633\u062a\u0648\u0631 \u0632\u06cc\u0631 \u0631\u0627 \u0627\u062c\u0631\u0627 \u06a9\u0646\u0645 \u0628\u0627 \u062e\u0637\u0627 \u0645\u0648\u0627\u062c\u0647 \u0645\u06cc \u0634\u062f\u0645:<\/p>\n<p dir=\"ltr\">vagrant plugin install vagrant-share<\/p>\n<p><!--more--><\/p>\n<p>\u062e\u0637\u0627\u06cc\u06cc \u06a9\u0647 \u062f\u0627\u062f\u0647 \u0645\u06cc \u0634\u062f<\/p>\n<p dir=\"ltr\">Installing the &#8216;share&#8217; plugin. This can take a few minutes&#8230; \/usr\/lib\/ruby\/2.3.0\/rubygems\/specification.rb:946:in `all=&#8217;: undefined method `group_by&#8217; for nil:NilClass (NoMethodError) from \/usr\/lib\/ruby\/vendor_ruby\/vagrant\/bundler.rb:275:in `with_isolated_gem&#8217; from \/usr\/lib\/ruby\/vendor_ruby\/vagrant\/bundler.rb:231:in `internal_install&#8217; from \/usr\/lib\/ruby\/vendor_ruby\/vagrant\/bundler.rb:102:in `install&#8217; from \/usr\/lib\/ruby\/vendor_ruby\/vagrant\/plugin\/manager.rb:62:in `block in install_plugin&#8217; from \/usr\/lib\/ruby\/vendor_ruby\/vagrant\/plugin\/manager.rb:72:in `install_plugin&#8217; from \/usr\/share\/vagrant\/plugins\/commands\/plugin\/action\/install_gem.rb:37:in `call&#8217; from \/usr\/lib\/ruby\/vendor_ruby\/vagrant\/action\/warden.rb:34:in `call&#8217; from \/usr\/lib\/ruby\/vendor_ruby\/vagrant\/action\/builder.rb:116:in `call&#8217; from \/usr\/lib\/ruby\/vendor_ruby\/vagrant\/action\/runner.rb:66:in `block in run&#8217; from \/usr\/lib\/ruby\/vendor_ruby\/vagrant\/util\/busy.rb:19:in `busy&#8217; from \/usr\/lib\/ruby\/vendor_ruby\/vagrant\/action\/runner.rb:66:in `run&#8217; from \/usr\/share\/vagrant\/plugins\/commands\/plugin\/command\/base.rb:14:in `action&#8217; from \/usr\/share\/vagrant\/plugins\/commands\/plugin\/command\/install.rb:32:in `block in execute&#8217; from \/usr\/share\/vagrant\/plugins\/commands\/plugin\/command\/install.rb:31:in `each&#8217; from \/usr\/share\/vagrant\/plugins\/commands\/plugin\/command\/install.rb:31:in `execute&#8217; from \/usr\/share\/vagrant\/plugins\/commands\/plugin\/command\/root.rb:56:in `execute&#8217; from \/usr\/lib\/ruby\/vendor_ruby\/vagrant\/cli.rb:42:in `execute&#8217; from \/usr\/lib\/ruby\/vendor_ruby\/vagrant\/environment.rb:268:in `cli&#8217; from \/usr\/bin\/vagrant:173:in `&lt;main&gt;&#8217;<\/p>\n<p>\u062f\u0631 \u0645\u0631\u062d\u0644\u0647 \u0627\u0648\u0644 \u0627\u06cc\u0646 \u062e\u0637\u0627 \u0645\u0631\u0628\u0648\u0637 \u0628\u0647 \u06cc\u06a9 \u0628\u0627\u06af \u062f\u0631 vagrant \u0627\u0633\u062a \u06a9\u0647 \u0647\u0646\u0648\u0632 \u062f\u0631 \u0645\u062e\u0627\u0632\u0646 \u0628\u0647 \u0631\u0648\u0632 \u0631\u0633\u0627\u0646\u06cc \u0646\u0634\u062f\u0647. \u0627\u06cc\u0646 \u0628\u0627\u06af \u0631\u0627 \u0628\u0627 \u062f\u0633\u062a\u0648\u0631 \u0632\u06cc\u0631 \u0645\u06cc \u062a\u0648\u0627\u0646\u06cc\u062f \u0628\u0631 \u0637\u0631\u0641 \u06a9\u0646\u06cc\u062f.<\/p>\n<p dir=\"ltr\">sed -i&#8221; &#8220;s\/Specification.all = nil\/Specification.reset\/&#8221; \/usr\/lib\/ruby\/vendor_ruby\/vagrant\/bundler.r<\/p>\n<p>\u0628\u0639\u062f \u0627\u0635\u0644\u0627\u062d \u0627\u06cc\u0646 \u0628\u0627\u06af \u0628\u0627 \u062e\u0637\u0627\u06cc \u0632\u06cc\u0631 \u0631\u0648\u0628\u0631\u0648 \u0645\u06cc \u0634\u0648\u06cc\u062f<\/p>\n<p dir=\"ltr\">Installing the &#8216;vagrant-share&#8217; plugin. This can take a few minutes&#8230; Bundler, the underlying system Vagrant uses to install plugins, reported an error. The error is shown below. These errors are usually caused by misconfigured plugin installations or transient network issues. The error from Bundler is:<\/p>\n<p dir=\"ltr\">An error occurred while installing nokogiri (1.7.2), and Bundler cannot continue. Make sure that `gem install nokogiri -v &#8216;1.7.2&#8217;` succeeds before bundling.<\/p>\n<p dir=\"ltr\">Warning: this Gemfile contains multiple primary sources. Using `source` more than once without a block is a security risk, and may result in installing unexpected gems. To resolve this warning, use a block to indicate which gems should come from the secondary source. To upgrade this warning to an error, run `bundle config disable_multisource true`.Gem::Ext::BuildError: ERROR: Failed to build gem native extension.<\/p>\n<p dir=\"ltr\">&#8230;<\/p>\n<p dir=\"ltr\">\u00a0<\/p>\n<p>\u06a9\u0647 \u0628\u0647 \u0645\u0634\u06a9\u0644 \u0648\u0627\u0628\u0633\u062a\u06af\u06cc \u0647\u0627\u06cc \u00a0\u0628\u0631 \u0645\u06cc \u06af\u0631\u062f\u0647. \u0628\u0631\u0627\u06cc \u0631\u0641\u0639 \u0627\u06cc\u0646 \u0645\u0634\u06a9\u0644 \u0628\u0647 \u062a\u0631\u062a\u06cc\u0628 \u0632\u06cc\u0631 \u0639\u0645\u0644 \u06a9\u0646\u06cc\u062f<\/p>\n<p dir=\"ltr\">export NOKOGIRI_USE_SYSTEM_LIBRARIES=true <br \/>apt-get install libxml2-dev libxslt1-dev libxml2 libxslt1.1 <br \/>vagrant plugin install vagrant-share<\/p>\n<p>\u062f\u0631 \u0635\u0648\u0631\u062a\u06cc \u06a9\u0647 \u0647\u0645\u0647 \u06a9\u0627\u0631\u0647\u0627 \u062f\u0631\u0633\u062a \u0627\u0646\u062c\u0627\u0645 \u0634\u062f\u0647 \u0628\u0627\u0634\u062f \u062e\u0631\u0648\u062c\u06cc \u0632\u06cc\u0631 \u0631\u0627 \u062e\u0648\u0627\u0647\u06cc\u062f \u062f\u06cc\u062f<\/p>\n<p dir=\"ltr\">Installing the &#8216;vagrant-share&#8217; plugin. This can take a few minutes&#8230; Installed the plugin &#8216;vagrant-share (1.1.6)&#8217;!<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u062f\u0631 \u062f\u0628\u06cc\u0627\u0646 \u0648 \u0627\u0648\u0628\u0648\u0646\u062a\u0648 \u0632\u0645\u0627\u0646\u06cc \u06a9\u0647 \u0628\u0633\u062a\u0647 Vagrant \u0631\u0627 \u0646\u0635\u0628 \u0645\u06cc \u06a9\u0646\u06cc\u062f \u0647\u0645\u0647 \u0648\u0627\u0628\u0633\u062a\u06af\u06cc \u0647\u0627\u06cc \u0644\u0627\u0632\u0645 \u0628\u0631\u0627\u06cc \u0627\u062c\u0631\u0627\u06cc \u0628\u062e\u0634\u0647\u0627\u06cc \u0645\u062e\u062a\u0644\u0641 \u0627\u06cc\u0646 \u0646\u0631\u0645 \u0627\u0641\u0632\u0627\u0631 \u0646\u0635\u0628 \u0646\u0645\u06cc \u0634\u0648\u062f. \u0639\u0644\u0627\u0648\u0647 \u0628\u0631 \u0622\u0646 \u06cc\u06a9 \u0628\u0627\u06af \u0634\u0646\u0627\u062e\u062a\u0647 \u0634\u062f\u0647 \u0648\u062c\u0648\u062f \u062f\u0627\u0631\u062f \u06a9\u0647 \u0647\u0646\u0648\u0632 \u062f\u0631 \u0645\u062e\u0627\u0632\u0646 \u0627\u0635\u0644\u0627\u062d \u0646\u0634\u062f\u0647 \u0627\u0633\u062a. \u0645\u062d\u06cc\u0637 \u062a\u0633\u062a \u0645\u0646 ubuntu 16.04 \u0627\u0633\u062a. \u06cc\u06a9\u06cc \u0627\u0632 \u0645\u0634\u06a9\u0644\u0627\u062a \u0628\u0631\u0627\u06cc \u0645\u0646 \u0632\u0645\u0627\u0646 \u0646\u0635\u0628 \u067e\u0644\u0627\u06af\u06cc\u0646 vagrant-share \u067e\u06cc\u0634 \u0627\u0648\u0645\u062f. \u0632\u0645\u0627\u0646\u06cc \u06a9\u0647 \u0645\u06cc \u062e\u0648\u0627\u0633\u062a\u0645 \u062f\u0633\u062a\u0648\u0631 \u0632\u06cc\u0631 \u0631\u0627 \u0627\u062c\u0631\u0627 \u06a9\u0646\u0645 \u0628\u0627 \u062e\u0637\u0627 \u0645\u0648\u0627\u062c\u0647 \u0645\u06cc \u0634\u062f\u0645: vagrant plugin install vagrant-share<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[10],"tags":[31,345,347,346,97,343,344,349,348],"class_list":["post-1015","post","type-post","status-publish","format-standard","hentry","category-administration","tag-debian-2","tag-install-plugin","tag-plugin","tag-share-plugin","tag-ubuntu","tag-vagrant","tag-vagrant-bug","tag-vagrant-plugin","tag-vagrant-share-plugin"],"_links":{"self":[{"href":"https:\/\/linuxmotto.io\/blog\/index.php?rest_route=\/wp\/v2\/posts\/1015","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/linuxmotto.io\/blog\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/linuxmotto.io\/blog\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/linuxmotto.io\/blog\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/linuxmotto.io\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=1015"}],"version-history":[{"count":3,"href":"https:\/\/linuxmotto.io\/blog\/index.php?rest_route=\/wp\/v2\/posts\/1015\/revisions"}],"predecessor-version":[{"id":1018,"href":"https:\/\/linuxmotto.io\/blog\/index.php?rest_route=\/wp\/v2\/posts\/1015\/revisions\/1018"}],"wp:attachment":[{"href":"https:\/\/linuxmotto.io\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=1015"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/linuxmotto.io\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=1015"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/linuxmotto.io\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=1015"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}