El dom 18 may 2014 10:48:14 ECT, Arthur Baldwin escribió:
> Please notice that during the second run of InstantHobo.bash the
> version numbers of several modules are changed from 4.0.x to 4.1.1.
> This becomes significant after the InstantHobo.bash finishes running
> and you execute the command:
>
> hobo new Test --setup --database=postgresql
>
> Please notice the conflicting modules message at the point where the
> "hobo new" command stops.

The problem is really here:

> Installing ri documentation for rails-4.1.1...
> file 'lib' not found

and here:

> Installing RDoc documentation for rails-4.1.1...
> file 'lib' not found

and here:

> Installing PostgreSQL gem
> Building native extensions.  This could take a while...
> ERROR:  Error installing pg:
>     ERROR: Failed to build gem native extension.
>
>         /usr/bin/ruby1.9.1 extconf.rb
> checking for pg_config... yes
> Using config values from /usr/bin/pg_config
> You need to install postgresql-server-dev-X.Y for building a
> server-side extension or libpq-dev for building a client-side application.
> You need to install postgresql-server-dev-X.Y for building a
> server-side extension or libpq-dev for building a client-side application.
> checking for libpq-fe.h... no
> Can't find the 'libpq-fe.h header
> *** extconf.rb failed ***

The first two are the consequence of not having previously updated the 
gems (rails) because of this last error. So it says you need:
libpq-dev
postgresql-server-dev-X.Y
libpq-dev
You do have postgresql-server-dev-X.Y in:
sudo apt-get -y install postgresql postgresql-server-dev-9.1

So you need to add:
sudo apt-get -y install libpq-dev

So that will let you install the pg gem which will let you update the 
rails gem. Please test it then with:
sudo gem install hobo
or use version 0.5.8 of InstantHobo.bash on Pastebin.

--
Saludos libres,
Quiliro Ordóñez
600 8579

Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to