投稿

8月, 2014の投稿を表示しています

bundle update.... failed pg install

症状

[redmine@your_host redmine-2.5]$ bundle update
Fetching gem metadata from https://rubygems.org/........
Fetching gem metadata from https://rubygems.org/........
Fetching gem metadata from https://rubygems.org/..
Fetching gem metadata from https://rubygems.org/..
Resolving dependencies...
Using rake (10.3.2)
Using i18n (0.6.1)
Using multi_json (1.10.1)
Using activesupport (3.2.13)
Using builder (3.0.0)
Using activemodel (3.2.13)
Using erubis (2.7.0)
Using journey (1.0.4)
Using rack (1.4.5)
Using rack-cache (1.2)
Using rack-test (0.6.2)
Using hike (1.2.3)
Using tilt (1.4.1)
Using sprockets (2.2.2)
Using actionpack (3.2.13)
Using mime-types (1.25.1)
Using polyglot (0.3.5)
Using treetop (1.4.15)
Using mail (2.5.4)
Using actionmailer (3.2.13)
Using arel (3.0.3)
Using tzinfo (0.3.41)
Using activerecord (3.2.13)
Using activeresource (3.2.13)
Using bundler (1.3.5)
Using coderay (1.0.9)
Using daemons (1.1.9)
Using eventmachine (1.0.3)
Using holidays (1.0.6)
Using icalendar (2.1.1)
Using rack-ssl (1.3.4)
Using json (1.8.1)
Usin…

Ansible On Windows

Windows 環境で Ansible を利用できるようにするために、

C:\temp>pip install ansible
Downloading/unpacking ansible
  Running setup.py egg_info for package ansible
    Traceback (most recent call last):
      File "<string>", line 16, in <module>
      File "c:\docume~1\yamamu~1\locals~1\temp\pip-build-YourName\ansible\
setup.py", line 17, in <module>
        from ansible.constants import DEFAULT_MODULE_PATH
      File "c:\docume~1\yamamu~1\locals~1\temp\pip-build-YourName\ansible\
lib\ansible\constants.py", line 19, in <module>
        import pwd
    ImportError: No module named pwd
    Complete output from command python setup.py egg_info:
    Traceback (most recent call last):

  File "<string>", line 16, in <module>

  File "c:\docume~1\yamamu~1\locals~1\temp\pip-build-YourName\ansible\setu
p.py", line 17, in <module>

    from ansible.constants import DEFAULT_MODULE_PATH

  File "c:\docume~1\yamamu~1\locals~1\temp\pip-build-Y…