OK, here is a long pasted result.  Keep in mind that this was after already 
running the InstantHobo.bash once before:

arthur@Studio ~ $ cd Documents/
arthur@Studio ~/Documents $ ls
Dev
arthur@Studio ~/Documents $ cd Dev
arthur@Studio ~/Documents/Dev $ cd Hobo
arthur@Studio ~/Documents/Dev/Hobo $ ls
Docs  Projects
arthur@Studio ~/Documents/Dev/Hobo $ cd Docs
arthur@Studio ~/Documents/Dev/Hobo/Docs $ ls
InstantHobo.bash
arthur@Studio ~/Documents/Dev/Hobo/Docs $ sudo ./InstantHobo.bash 
[sudo] password for arthur: 
Updating package database
Ign http://archive.ubuntu.com saucy InRelease
Ign http://security.ubuntu.com saucy-security 
InRelease                        
Ign http://archive.ubuntu.com saucy-updates 
InRelease                          
Ign http://archive.canonical.com saucy 
InRelease                               
Ign http://extra.linuxmint.com petra 
InRelease                                 
Hit http://security.ubuntu.com saucy-security 
Release.gpg                      
Ign http://packages.linuxmint.com petra 
InRelease                              
Hit http://archive.ubuntu.com saucy 
Release.gpg                                
Hit http://security.ubuntu.com saucy-security 
Release                          
Hit http://archive.canonical.com saucy 
Release.gpg                             
Get:1 http://extra.linuxmint.com petra Release.gpg [198 
B]                     
Get:2 http://packages.linuxmint.com petra Release.gpg [198 
B]                  
Hit http://archive.ubuntu.com saucy-updates 
Release.gpg                        
Hit http://security.ubuntu.com saucy-security/main amd64 
Packages              
Hit http://archive.ubuntu.com saucy 
Release                                    
Hit http://archive.canonical.com saucy 
Release                                 
Get:3 http://extra.linuxmint.com petra Release [3,090 
B]                       
Hit http://security.ubuntu.com saucy-security/restricted amd64 
Packages        
Get:4 http://packages.linuxmint.com petra Release [18.5 
kB]                    
Hit http://archive.ubuntu.com saucy-updates 
Release                            
Hit http://security.ubuntu.com saucy-security/universe amd64 
Packages          
Hit http://archive.canonical.com saucy/partner amd64 
Packages                  
Get:5 http://extra.linuxmint.com petra/main amd64 Packages [655 
B]             
Hit http://archive.ubuntu.com saucy/main amd64 
Packages                        
Hit http://security.ubuntu.com saucy-security/multiverse amd64 
Packages        
Hit http://archive.canonical.com saucy/partner i386 
Packages                   
Hit http://archive.ubuntu.com saucy/restricted amd64 
Packages                  
Hit http://security.ubuntu.com saucy-security/main i386 
Packages               
Get:6 http://extra.linuxmint.com petra/main i386 Packages [655 
B]              
Get:7 http://packages.linuxmint.com petra/main amd64 Packages [29.3 
kB]        
Hit http://archive.ubuntu.com saucy/universe amd64 
Packages                    
Hit http://security.ubuntu.com saucy-security/restricted i386 
Packages         
Hit http://archive.ubuntu.com saucy/multiverse amd64 
Packages                  
Hit http://security.ubuntu.com saucy-security/universe i386 
Packages           
Hit http://archive.ubuntu.com saucy/main i386 
Packages                         
Hit http://security.ubuntu.com saucy-security/multiverse i386 
Packages         
Get:8 http://packages.linuxmint.com petra/upstream amd64 Packages [23.3 
kB]    
Hit http://archive.ubuntu.com saucy/restricted i386 
Packages                   
Hit http://archive.ubuntu.com saucy/universe i386 
Packages                     
Hit http://security.ubuntu.com saucy-security/main 
Translation-en              
Get:9 http://packages.linuxmint.com petra/import amd64 Packages [40.0 
kB]      
Hit http://archive.ubuntu.com saucy/multiverse i386 
Packages                   
Hit http://security.ubuntu.com saucy-security/multiverse 
Translation-en        
Hit http://archive.ubuntu.com saucy/main 
Translation-en                        
Get:10 http://packages.linuxmint.com petra/main i386 Packages [28.7 
kB]        
Hit http://security.ubuntu.com saucy-security/restricted 
Translation-en        
Hit http://archive.ubuntu.com saucy/multiverse 
Translation-en                  
Ign http://archive.canonical.com saucy/partner 
Translation-en_US               
Hit http://security.ubuntu.com saucy-security/universe 
Translation-en          
Hit http://archive.ubuntu.com saucy/restricted 
Translation-en                  
Ign http://archive.canonical.com saucy/partner 
Translation-en                  
Get:11 http://packages.linuxmint.com petra/upstream i386 Packages [23.3 
kB]    
Hit http://archive.ubuntu.com saucy/universe 
Translation-en                    
Hit http://archive.ubuntu.com saucy-updates/main amd64 
Packages                
Get:12 http://packages.linuxmint.com petra/import i386 Packages [40.4 kB]
Hit http://archive.ubuntu.com saucy-updates/restricted amd64 
Packages          
Ign http://extra.linuxmint.com petra/main 
Translation-en_US                    
Hit http://archive.ubuntu.com saucy-updates/universe amd64 
Packages            
Ign http://extra.linuxmint.com petra/main 
Translation-en                       
Hit http://archive.ubuntu.com saucy-updates/multiverse amd64 
Packages          
Hit http://archive.ubuntu.com saucy-updates/main i386 
Packages                 
Hit http://archive.ubuntu.com saucy-updates/restricted i386 Packages  
Hit http://archive.ubuntu.com saucy-updates/universe i386 Packages
Hit http://archive.ubuntu.com saucy-updates/multiverse i386 Packages
Hit http://archive.ubuntu.com saucy-updates/main Translation-en
Ign http://security.ubuntu.com saucy-security/main 
Translation-en_US           
Ign http://security.ubuntu.com saucy-security/multiverse 
Translation-en_US     
Hit http://archive.ubuntu.com saucy-updates/multiverse Translation-en
Ign http://security.ubuntu.com saucy-security/restricted Translation-en_US
Ign http://security.ubuntu.com saucy-security/universe Translation-en_US
Hit http://archive.ubuntu.com saucy-updates/restricted Translation-en
Hit http://archive.ubuntu.com saucy-updates/universe Translation-en
Ign http://archive.ubuntu.com saucy/main 
Translation-en_US                     
Ign http://archive.ubuntu.com saucy/multiverse 
Translation-en_US               
Ign http://archive.ubuntu.com saucy/restricted 
Translation-en_US               
Ign http://archive.ubuntu.com saucy/universe 
Translation-en_US                 
Ign http://archive.ubuntu.com saucy-updates/main 
Translation-en_US             
Ign http://archive.ubuntu.com saucy-updates/multiverse 
Translation-en_US       
Ign http://packages.linuxmint.com petra/import 
Translation-en_US               
Ign http://archive.ubuntu.com saucy-updates/restricted 
Translation-en_US       
Ign http://archive.ubuntu.com saucy-updates/universe 
Translation-en_US         
Ign http://packages.linuxmint.com petra/import 
Translation-en                  
Ign http://packages.linuxmint.com petra/main 
Translation-en_US                 
Ign http://packages.linuxmint.com petra/main 
Translation-en                    
Ign http://packages.linuxmint.com petra/upstream 
Translation-en_US             
Ign http://packages.linuxmint.com petra/upstream 
Translation-en                
Fetched 208 kB in 10s (19.5 
kB/s)                                              
Reading package lists... Done

Installing stable versions of Build utilities, Ruby
 and Rubygems as well as the git versioning system
Reading package lists... Done
Building dependency tree       
Reading state information... Done
build-essential is already the newest version.
libreadline-gplv2-dev is already the newest version.
libssl-dev is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 10 not upgraded.
Reading package lists... Done
Building dependency tree       
Reading state information... Done
git-core is already the newest version.
zlib1g-dev is already the newest version.
checkinstall is already the newest version.
nodejs is already the newest version.
ruby1.9.1-full is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 10 not upgraded.

Updating currently installed gems
Updating installed gems
Updating actionmailer
Fetching: tzinfo-1.1.0.gem (100%)
Fetching: minitest-5.3.3.gem (100%)
Fetching: activesupport-4.1.1.gem (100%)
Fetching: actionview-4.1.1.gem (100%)
Fetching: actionpack-4.1.1.gem (100%)
Fetching: actionmailer-4.1.1.gem (100%)
Successfully installed tzinfo-1.1.0
Successfully installed minitest-5.3.3
Successfully installed activesupport-4.1.1
Successfully installed actionview-4.1.1
Successfully installed actionpack-4.1.1
Successfully installed actionmailer-4.1.1
Updating activemodel
Fetching: activemodel-4.1.1.gem (100%)
Successfully installed activemodel-4.1.1
Updating activerecord
Fetching: arel-5.0.1.20140414130214.gem (100%)
Fetching: activerecord-4.1.1.gem (100%)
Successfully installed arel-5.0.1.20140414130214
Successfully installed activerecord-4.1.1
Updating builder
Fetching: builder-3.2.2.gem (100%)
Successfully installed builder-3.2.2
Updating hike
Fetching: hike-2.1.3.gem (100%)
Successfully installed hike-2.1.3
Updating jbuilder
Fetching: jbuilder-2.0.7.gem (100%)
Successfully installed jbuilder-2.0.7
Updating mime-types
Fetching: mime-types-2.2.gem (100%)
Successfully installed mime-types-2.2
Updating rails
Fetching: railties-4.1.1.gem (100%)
Fetching: rails-4.1.1.gem (100%)
Successfully installed railties-4.1.1
Successfully installed rails-4.1.1
Updating sprockets-rails
Fetching: sprockets-rails-2.1.3.gem (100%)
Successfully installed sprockets-rails-2.1.3
Updating tilt
Fetching: tilt-2.0.1.gem (100%)
Successfully installed tilt-2.0.1
Updating treetop
Fetching: treetop-1.5.3.gem (100%)
Successfully installed treetop-1.5.3
Gems updated: tzinfo, minitest, activesupport, actionview, actionpack, 
actionmailer, activemodel, arel, activerecord, builder, hike, jbuilder, 
mime-types, railties, rails, sprockets-rails, tilt, treetop
Installing ri documentation for tzinfo-1.1.0...
Installing ri documentation for minitest-5.3.3...
Installing ri documentation for activesupport-4.1.1...
Installing ri documentation for actionview-4.1.1...
Installing ri documentation for actionpack-4.1.1...
Installing ri documentation for actionmailer-4.1.1...
Installing ri documentation for activemodel-4.1.1...
Installing ri documentation for arel-5.0.1.20140414130214...
Installing ri documentation for activerecord-4.1.1...
Installing ri documentation for builder-3.2.2...
Installing ri documentation for hike-2.1.3...
Installing ri documentation for jbuilder-2.0.7...
Installing ri documentation for mime-types-2.2...
Installing ri documentation for railties-4.1.1...
Installing ri documentation for rails-4.1.1...
file 'lib' not found
Installing ri documentation for sprockets-rails-2.1.3...
Installing ri documentation for tilt-2.0.1...
Installing ri documentation for treetop-1.5.3...
Installing RDoc documentation for tzinfo-1.1.0...
Installing RDoc documentation for minitest-5.3.3...
Installing RDoc documentation for activesupport-4.1.1...
Installing RDoc documentation for actionview-4.1.1...
Installing RDoc documentation for actionpack-4.1.1...
Installing RDoc documentation for actionmailer-4.1.1...
Installing RDoc documentation for activemodel-4.1.1...
Installing RDoc documentation for arel-5.0.1.20140414130214...
Installing RDoc documentation for activerecord-4.1.1...
Installing RDoc documentation for builder-3.2.2...
Installing RDoc documentation for hike-2.1.3...
Installing RDoc documentation for jbuilder-2.0.7...
Installing RDoc documentation for mime-types-2.2...
Installing RDoc documentation for railties-4.1.1...
Installing RDoc documentation for rails-4.1.1...
file 'lib' not found
Installing RDoc documentation for sprockets-rails-2.1.3...
Installing RDoc documentation for tilt-2.0.1...
Installing RDoc documentation for treetop-1.5.3...

Choose web server
------ --- ------
Choose one of the following webserver:

[A]pache 2
[W]ebrick
a
Installing Apache 2 Web server
Reading package lists... Done
Building dependency tree       
Reading state information... Done
apache2 is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 10 not upgraded.

Choose database
------ --------
Choose one of the following databases:

[M]ySQL 5
[S]QLite 3
[P]ostgreSQL
p

Installing PostgreSQL database management system server
Reading package lists... Done
Building dependency tree       
Reading state information... Done
postgresql is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 10 not upgraded.
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 ***
Could not create Makefile due to some reason, probably lack of
necessary libraries and/or headers.  Check the mkmf.log file for more
details.  You may need configuration options.

Provided configuration options:
    --with-opt-dir
    --without-opt-dir
    --with-opt-include
    --without-opt-include=${opt-dir}/include
    --with-opt-lib
    --without-opt-lib=${opt-dir}/lib
    --with-make-prog
    --without-make-prog
    --srcdir=.
    --curdir
    --ruby=/usr/bin/ruby1.9.1
    --with-pg
    --without-pg
    --with-pg-config
    --without-pg-config
    --with-pg_config
    --without-pg_config
    --with-pg-dir
    --without-pg-dir
    --with-pg-include
    --without-pg-include=${pg-dir}/include
    --with-pg-lib
    --without-pg-lib=${pg-dir}/lib


Gem files will remain installed in /var/lib/gems/1.9.1/gems/pg-0.17.1 for 
inspection.
Results logged to /var/lib/gems/1.9.1/gems/pg-0.17.1/ext/gem_make.out

Installing the Hobo gem
Successfully installed hobo-2.1.0
1 gem installed
Installing ri documentation for hobo-2.1.0...
Installing RDoc documentation for hobo-2.1.0...
arthur@Studio ~/Documents/Dev/Hobo/Docs $ cd ..
arthur@Studio ~/Documents/Dev/Hobo $ cd Projects
arthur@Studio ~/Documents/Dev/Hobo/Projects $ hobo new mysuperapp --setup 
--database=postgresql
Hobo Command Line Interface 2.1.0
Generating Rails infrastructure...
      create  
      create  README.rdoc
      create  Rakefile
      create  config.ru
      create  .gitignore
      create  Gemfile
      create  app
      create  app/assets/javascripts/application.js
      create  app/assets/stylesheets/application.css
      create  app/controllers/application_controller.rb
      create  app/helpers/application_helper.rb
      create  app/views/layouts/application.html.erb
      create  app/assets/images/.keep
      create  app/mailers/.keep
      create  app/models/.keep
      create  app/controllers/concerns/.keep
      create  app/models/concerns/.keep
      create  bin
      create  bin/bundle
      create  bin/rails
      create  bin/rake
      create  config
      create  config/routes.rb
      create  config/application.rb
      create  config/environment.rb
      create  config/secrets.yml
      create  config/environments
      create  config/environments/development.rb
      create  config/environments/production.rb
      create  config/environments/test.rb
      create  config/initializers
      create  config/initializers/backtrace_silencers.rb
      create  config/initializers/cookies_serializer.rb
      create  config/initializers/filter_parameter_logging.rb
      create  config/initializers/inflections.rb
      create  config/initializers/mime_types.rb
      create  config/initializers/session_store.rb
      create  config/initializers/wrap_parameters.rb
      create  config/locales
      create  config/locales/en.yml
      create  config/boot.rb
      create  config/database.yml
      create  db
      create  db/seeds.rb
      create  lib
      create  lib/tasks
      create  lib/tasks/.keep
      create  lib/assets
      create  lib/assets/.keep
      create  log
      create  log/.keep
      create  public
      create  public/404.html
      create  public/422.html
      create  public/500.html
      create  public/favicon.ico
      create  public/robots.txt
      create  test/fixtures
      create  test/fixtures/.keep
      create  test/controllers
      create  test/controllers/.keep
      create  test/mailers
      create  test/mailers/.keep
      create  test/models
      create  test/models/.keep
      create  test/helpers
      create  test/helpers/.keep
      create  test/integration
      create  test/integration/.keep
      create  test/test_helper.rb
      create  tmp/cache
      create  tmp/cache/assets
      create  vendor/assets/javascripts
      create  vendor/assets/javascripts/.keep
      create  vendor/assets/stylesheets
      create  vendor/assets/stylesheets/.keep
       apply  /tmp/hobo_app_template
     gemfile    hobo (= 2.1.0)
     gemfile    protected_attributes
The template [/tmp/hobo_app_template] could not be loaded. Error: Unable to 
activate rails-4.0.5, because activesupport-4.1.1 conflicts with 
activesupport (= 4.0.5), actionpack-4.1.1 conflicts with actionpack (= 
4.0.5), railties-4.1.1 conflicts with railties (= 4.0.5)
arthur@Studio ~/Documents/Dev/Hobo/Projects $ 

This result is not quite the same the first time.  There don't seem to be 
any problems on the first run with the script itself.
However there are some problems with issuing the command: hobo new 
mysuperapp --setup --database=postgresql

I will paste those results in here later after doing another OS install.

Sincerely,

Arthur

On Friday, May 2, 2014 8:55:48 AM UTC-7, Arthur Baldwin wrote:
>
> Hi there,
>
> I've been away from Hobo for a while, but was involved in prompting the 
> creation of InstantHobo.bash by Quillro.
> I'm wondering if anyone might be interested in refining and updating 
> InstantHobo.bash to use the latest versions of 
> Ruby, Rails, and Hobo?
>
> Hobo 2.1
> Rails 4.x
> Ruby 2.x
>
> and I also would like the script to prompt for the desired database:
>
> SQLite
> MySQL
> PostGreSQL
>
> PostGreSQL is the one I prefer, but try as I might...I always get problems 
> with trying to use the 'gem install pg' command.
>
> I very much need to start designing websites for customers using the 
> latest versions and PostGreSQL right away.
>
> Thanks for your assistance.
>
> Sincerely,
>
> Arthur Baldwin
>

-- 
You received this message because you are subscribed to the Google Groups "Hobo 
Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/hobousers.
For more options, visit https://groups.google.com/d/optout.

Reply via email to