You asked for it... Wall of text incoming ... (I'll refrain from using
external services because who knows.Maybe someone will be reading this
2 years from now and my pastie would be expired and that would be sad)
scorpio@scorpio-vb:~/Desktop/Sites$ rvm gemset empty
Are you SURE you wish to remove the installed gems for gemset
'ruby-1.9.3-p125' (/home/scorpio/.rvm/gems/ruby-1.9.3-p125)?
(anything other than 'yes' will cancel) > yes
scorpio@scorpio-vb:~/Desktop/Sites$ gem install -v 3.1.4 rails --no-ri
--no-rdoc
********************************************************************************
MultiJson.encode is deprecated and will be removed in the next major
version.
Use MultiJson.dump instead.
MultiJson.decode is deprecated and will be removed in the next major
version.
Use MultiJson.load instead.
MultiJson.engine is deprecated and will be removed in the next major
version.
Use MultiJson.adapter instead.
MultiJson.engine= is deprecated and will be removed in the next
major
version. Use MultiJson.use instead.
MultiJson.default_engine is deprecated and will be removed in the
next major
version. Use MultiJson.default_adapter instead.
********************************************************************************
Building native extensions. This could take a while...
Depending on your version of ruby, you may need to install ruby rdoc/
ri data:
<= 1.8.6 : unsupported
= 1.8.7 : gem install rdoc-data; rdoc-data --install
= 1.9.1 : gem install rdoc-data; rdoc-data --install
>= 1.9.2 : nothing to do! Yay!
Successfully installed multi_json-1.3.2
Successfully installed activesupport-3.1.4
Successfully installed builder-3.0.0
Successfully installed i18n-0.6.0
Successfully installed activemodel-3.1.4
Successfully installed rack-1.3.6
Successfully installed rack-cache-1.2
Successfully installed rack-test-0.6.1
Successfully installed rack-mount-0.8.3
Successfully installed hike-1.2.1
Successfully installed tilt-1.3.3
Successfully installed sprockets-2.0.3
Successfully installed erubis-2.7.0
Successfully installed actionpack-3.1.4
Successfully installed arel-2.2.3
Successfully installed tzinfo-0.3.33
Successfully installed activerecord-3.1.4
Successfully installed activeresource-3.1.4
Successfully installed mime-types-1.18
Successfully installed polyglot-0.3.3
Successfully installed treetop-1.4.10
Successfully installed mail-2.3.3
Successfully installed actionmailer-3.1.4
Successfully installed thor-0.14.6
Successfully installed rack-ssl-1.3.2
Successfully installed json-1.6.6
Successfully installed rdoc-3.12
Successfully installed railties-3.1.4
Successfully installed rails-3.1.4
29 gems installed
scorpio@scorpio-vb:~/Desktop/Sites$ gem install hobo --pre
Building native extensions. This could take a while...
Successfully installed hobo_support-1.4.0.pre4
Successfully installed hobo_fields-1.4.0.pre4
Successfully installed dryml-1.4.0.pre4
Successfully installed will_paginate-3.0.3
Successfully installed hobo-1.4.0.pre4
5 gems installed
Installing ri documentation for hobo_support-1.4.0.pre4...
Installing ri documentation for hobo_fields-1.4.0.pre4...
Installing ri documentation for dryml-1.4.0.pre4...
Installing ri documentation for will_paginate-3.0.3...
Installing ri documentation for hobo-1.4.0.pre4...
Installing RDoc documentation for hobo_support-1.4.0.pre4...
Installing RDoc documentation for hobo_fields-1.4.0.pre4...
Installing RDoc documentation for dryml-1.4.0.pre4...
Installing RDoc documentation for will_paginate-3.0.3...
Installing RDoc documentation for hobo-1.4.0.pre4...
scorpio@scorpio-vb:~/Desktop/Sites$ hobo new blabla -d mysql
Hobo Command Line Interface 1.4.0.pre4
Generating Rails infrastructure...
create
create README
create Rakefile
create config.ru
create .gitignore
create Gemfile
create app
create app/assets/images/rails.png
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/mailers
create app/models
create app/views/layouts/application.html.erb
create app/mailers/.gitkeep
create app/models/.gitkeep
create config
create config/routes.rb
create config/application.rb
create config/environment.rb
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/inflections.rb
create config/initializers/mime_types.rb
create config/initializers/secret_token.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 doc
create doc/README_FOR_APP
create lib
create lib/tasks
create lib/tasks/.gitkeep
create lib/assets
create lib/assets/.gitkeep
create log
create log/.gitkeep
create public
create public/404.html
create public/422.html
create public/500.html
create public/favicon.ico
create public/index.html
create public/robots.txt
create script
create script/rails
create test/fixtures
create test/fixtures/.gitkeep
create test/functional
create test/functional/.gitkeep
create test/integration
create test/integration/.gitkeep
create test/unit
create test/unit/.gitkeep
create test/performance/browsing_test.rb
create test/test_helper.rb
create tmp/cache
create tmp/cache/assets
create vendor/assets/stylesheets
create vendor/assets/stylesheets/.gitkeep
create vendor/plugins
create vendor/plugins/.gitkeep
apply /tmp/hobo_app_template
gemfile hobo (= 1.4.0.pre4)
Hobo Setup Wizard
Do you want to start the Setup Wizard now?
(Choose 'n' if you need to manually customize any file before running
the Wizard.
You can run it later with `hobo g setup_wizard` from the application
root dir.) [y|n] y
=> "y"
run bundle install from "."
Fetching gem metadata from http://rubygems.org/.......
Fetching gem metadata from http://rubygems.org/..
Using rake (0.9.2.2)
Using multi_json (1.3.2)
Using activesupport (3.1.4)
Using builder (3.0.0)
Using i18n (0.6.0)
Using activemodel (3.1.4)
Using erubis (2.7.0)
Using rack (1.3.6)
Using rack-cache (1.2)
Using rack-mount (0.8.3)
Using rack-test (0.6.1)
Using hike (1.2.1)
Using tilt (1.3.3)
Using sprockets (2.0.3)
Using actionpack (3.1.4)
Using mime-types (1.18)
Using polyglot (0.3.3)
Using treetop (1.4.10)
Using mail (2.3.3)
Using actionmailer (3.1.4)
Using arel (2.2.3)
Using tzinfo (0.3.33)
Using activerecord (3.1.4)
Using activeresource (3.1.4)
Installing ansi (1.4.2)
Using bundler (1.1.3)
Installing coffee-script-source (1.3.1)
Installing execjs (1.3.0)
Installing coffee-script (2.2.0)
Using rack-ssl (1.3.2)
Using json (1.6.6)
Using rdoc (3.12)
Using thor (0.14.6)
Using railties (3.1.4)
Installing coffee-rails (3.1.1)
Using rails (3.1.4)
Using hobo_support (1.4.0.pre4)
Using dryml (1.4.0.pre4)
Using hobo_fields (1.4.0.pre4)
Using will_paginate (3.0.3)
Using hobo (1.4.0.pre4)
Installing jquery-rails (1.0.19)
Installing mysql2 (0.3.11) with native extensions
Installing sass (3.1.15)
Installing sass-rails (3.1.6)
Installing turn (0.8.3)
Installing uglifier (1.2.4)
Your bundle is complete! Use `bundle show [gemname]` to see where a
bundled gem is installed.
Startup
Installing Hobo assets...
create app/views/taglibs/application.dryml
create app/views/taglibs/front_site.dryml
create config/initializers/dryml_taglibs.rb
create app/models/guest.rb
create app/assets/stylesheets/application.css
create app/assets/stylesheets/application/.gitkeep
create app/assets/stylesheets/front.css
create app/assets/stylesheets/front/.gitkeep
create app/assets/javascripts/application.js
create app/assets/javascripts/application/.gitkeep
create app/assets/javascripts/front.js
create app/assets/javascripts/front/.gitkeep
Test Framework
Do you want to customize the test_framework? [y|n] n
=> "n"
User Resource
Choose a name for the user resource: [<enter>=user|<custom_name>]
=> "user"
Do you want to send an activation email to activate the user? [y|n] n
=> "n"
Invite Only Option
Do you want to add the features for an invite only website? [y|n] y
=> "y"
Do you want to prevent all access to the site to non-members?
(Choose 'y' only if ALL your site will be private, choose 'n' if at
least one controller will be public) [y|n] n
=> "n"
If you wish to prevent all access to some controller to non-members,
add 'before_filter :login_required'
to the relevant controllers:
include Hobo::Controller::AuthenticationSupport
before_filter :login_required
(note that the include statement is not required for hobo_controllers)
NOTE: You might want to sign up as the administrator before adding
this!
Templates Option
Will your application use only hobo/dryml web page templates?
(Choose 'n' only if you also plan to use plain rails/erb web page
templates) [y|n] n
=> "n"
Front Controller
Choose a name for the front controller: [<enter>=front|<custom_name>]
=> "front"
Installing front controller...
create app/controllers/front_controller.rb
create app/helpers/front_helper.rb
invoke test_unit
create test/unit/helpers/front_helper_test.rb
invoke test_unit
create test/functional/front_controller_test.rb
create app/views/front/index.dryml
remove public/index.html
route match 'search' => 'front#search', :as => 'site_search'
route root :to => 'front#index'
Admin Subsite
Choose a name for the admin subsite: [<enter>=admin|<custom_name>]
=> "admin"
Installing 'user' resources...
create app/models/user.rb
invoke test_unit
create test/unit/user_test.rb
create test/fixtures/users.yml
insert app/models/user.rb
create app/mailers/user_mailer.rb
create app/views/user_mailer/forgot_password.erb
create app/views/user_mailer/invite.erb
invoke test_unit
create test/functional/user_mailer_test.rb
create app/controllers/users_controller.rb
invoke test_unit
create app/views/users/accept_invitation.dryml
Installing admin subsite...
create app/controllers/admin/users_controller.rb
invoke test_unit
create app/views/admin/users/index.dryml
create app/views/taglibs/admin_site.dryml
create app/assets/stylesheets/admin.css
create app/assets/stylesheets/admin/.gitkeep
create app/assets/javascripts/admin.js
create app/assets/javascripts/admin/.gitkeep
create app/controllers/admin/admin_site_controller.rb
invoke test_unit
Installing hobo_rapid plugin...
gemfile hobo_rapid (1.4.0.pre4)
insert app/assets/javascripts/application.js
insert app/assets/stylesheets/application.css
insert app/views/taglibs/application.dryml
Installing hobo_jquery plugin...
gemfile hobo_jquery (1.4.0.pre4)
insert app/assets/javascripts/application.js
insert app/assets/stylesheets/application.css
insert app/views/taglibs/application.dryml
Installing hobo_jquery_ui plugin...
gemfile hobo_jquery_ui (1.4.0.pre4)
insert app/assets/javascripts/application.js
insert app/assets/stylesheets/application.css
insert app/views/taglibs/application.dryml
Installing hobo_clean theme...
insert app/assets/stylesheets/front.css
gemfile hobo_clean (1.4.0.pre4)
insert app/assets/javascripts/front.js
insert app/assets/stylesheets/front.css
insert app/views/taglibs/front_site.dryml
gemfile jquery-ui-themes (~> 0.0.4)
run bundle install from "."
Fetching gem metadata from http://rubygems.org/.......
Fetching gem metadata from http://rubygems.org/..
Using rake (0.9.2.2)
Using multi_json (1.3.2)
Using activesupport (3.1.4)
Using builder (3.0.0)
Using i18n (0.6.0)
Using activemodel (3.1.4)
Using erubis (2.7.0)
Using rack (1.3.6)
Using rack-cache (1.2)
Using rack-mount (0.8.3)
Using rack-test (0.6.1)
Using hike (1.2.1)
Using tilt (1.3.3)
Using sprockets (2.0.3)
Using actionpack (3.1.4)
Using mime-types (1.18)
Using polyglot (0.3.3)
Using treetop (1.4.10)
Using mail (2.3.3)
Using actionmailer (3.1.4)
Using arel (2.2.3)
Using tzinfo (0.3.33)
Using activerecord (3.1.4)
Using activeresource (3.1.4)
Using ansi (1.4.2)
Using bundler (1.1.3)
Using coffee-script-source (1.3.1)
Using execjs (1.3.0)
Using coffee-script (2.2.0)
Using rack-ssl (1.3.2)
Using json (1.6.6)
Using rdoc (3.12)
Using thor (0.14.6)
Using railties (3.1.4)
Using coffee-rails (3.1.1)
Using rails (3.1.4)
Using hobo_support (1.4.0.pre4)
Using dryml (1.4.0.pre4)
Using hobo_fields (1.4.0.pre4)
Using will_paginate (3.0.3)
Using hobo (1.4.0.pre4)
Installing hobo_clean (1.4.0.pre4)
Using jquery-rails (1.0.19)
Installing hobo_jquery (1.4.0.pre4)
Installing multi_xml (0.4.4)
Installing httparty (0.8.2)
Installing jquery-ui-themes (0.0.5)
Installing hobo_jquery_ui (1.4.0.pre4)
Installing hobo_rapid (1.4.0.pre4)
Using mysql2 (0.3.11)
Using sass (3.1.15)
Using sass-rails (3.1.6)
Using turn (0.8.3)
Using uglifier (1.2.4)
Your bundle is complete! Use `bundle show [gemname]` to see where a
bundled gem is installed.
Post-install message from httparty:
When you HTTParty, you must party hard!
Adding rails-dev-tweaks gem
gemfile rails-dev-tweaks (~> 0.6.1)
run bundle install from "."
Fetching gem metadata from http://rubygems.org/.......
Fetching gem metadata from http://rubygems.org/..
Using rake (0.9.2.2)
Using multi_json (1.3.2)
Using activesupport (3.1.4)
Using builder (3.0.0)
Using i18n (0.6.0)
Using activemodel (3.1.4)
Using erubis (2.7.0)
Using rack (1.3.6)
Using rack-cache (1.2)
Using rack-mount (0.8.3)
Using rack-test (0.6.1)
Using hike (1.2.1)
Using tilt (1.3.3)
Using sprockets (2.0.3)
Using actionpack (3.1.4)
Using mime-types (1.18)
Using polyglot (0.3.3)
Using treetop (1.4.10)
Using mail (2.3.3)
Using actionmailer (3.1.4)
Using arel (2.2.3)
Using tzinfo (0.3.33)
Using activerecord (3.1.4)
Using activeresource (3.1.4)
Using ansi (1.4.2)
Using bundler (1.1.3)
Using coffee-script-source (1.3.1)
Using execjs (1.3.0)
Using coffee-script (2.2.0)
Using rack-ssl (1.3.2)
Using json (1.6.6)
Using rdoc (3.12)
Using thor (0.14.6)
Using railties (3.1.4)
Using coffee-rails (3.1.1)
Using rails (3.1.4)
Using hobo_support (1.4.0.pre4)
Using dryml (1.4.0.pre4)
Using hobo_fields (1.4.0.pre4)
Using will_paginate (3.0.3)
Using hobo (1.4.0.pre4)
Using hobo_clean (1.4.0.pre4)
Using jquery-rails (1.0.19)
Using hobo_jquery (1.4.0.pre4)
Using multi_xml (0.4.4)
Using httparty (0.8.2)
Using jquery-ui-themes (0.0.5)
Using hobo_jquery_ui (1.4.0.pre4)
Using hobo_rapid (1.4.0.pre4)
Using mysql2 (0.3.11)
Installing rails-dev-tweaks (0.6.1)
Using sass (3.1.15)
Using sass-rails (3.1.6)
Using turn (0.8.3)
Using uglifier (1.2.4)
Your bundle is complete! Use `bundle show [gemname]` to see where a
bundled gem is installed.
insert config/environments/development.rb
DB Migration
Initial Migration: [s]kip, [g]enerate migration file only, generate
and [m]igrate: [s|g|m] m
=> "m"
Migrating...
rake db:setup
/home/scorpio/.rvm/gems/ruby-1.9.3-p125/gems/activesupport-3.1.4/lib/
active_support/dependencies.rb:240:in `block in require': iconv will
be deprecated in the future, use String#encode instead.
/home/scorpio/Desktop/Sites/blabla/db/schema.rb doesn't exist yet. Run
"rake db:migrate" to create it then try again. If you do not intend to
use a database, you should instead alter /home/scorpio/Desktop/Sites/
blabla/config/application.rb to limit the frameworks that will be
loaded
---------- Up Migration ----------
create_table :users do |t|
t.string :crypted_password, :limit => 40
t.string :salt, :limit => 40
t.string :remember_token
t.datetime :remember_token_expires_at
t.string :name
t.string :email_address
t.boolean :administrator, :default => false
t.datetime :created_at
t.datetime :updated_at
t.string :state, :default => "invited"
t.datetime :key_timestamp
end
add_index :users, [:state]
----------------------------------
---------- Down Migration --------
drop_table :users
----------------------------------
create db/migrate/20120418143744_initial_migration.rb
rake db:migrate
/home/scorpio/.rvm/gems/ruby-1.9.3-p125/gems/activesupport-3.1.4/lib/
active_support/dependencies.rb:240:in `block in require': iconv will
be deprecated in the future, use String#encode instead.
== InitialMigration: migrating
===============================================
-- create_table(:users)
-> 0.0366s
-- add_index(:users, [:state])
-> 0.0278s
== InitialMigration: migrated (0.0647s)
======================================
I18n
The Hobo supported locales are ru fr en it de nb es pt-PT (please,
contribute to more translations)
Type the locales (space separated) you want to add to your application
or <enter> for 'en':
=> "en"
create config/locales/hobo.en.yml
create config/locales/app.en.yml
remove config/locales/en.yml
Git Repository
Do you want to initialize a git repository now? [y|n] n
=> "n"
Process completed!
You can start your application with `rails server`
(run with --help for options). Then point your browser to
http://localhost:3000/
Follow the guidelines to start developing your application.
You can find the following resources handy:
* The Getting Started Guide: http://guides.rubyonrails.org/getting_started.html
* Ruby on Rails Tutorial Book: http://www.railstutorial.org/
scorpio@scorpio-vb:~/Desktop/Sites$
On Apr 18, 4:29 pm, Bryan Larsen <[email protected]> wrote:
> That would be useful as I am having trouble recreating the problem here.
>
> Bryan
>
>
>
>
>
>
>
> On Wed, Apr 18, 2012 at 10:24 AM, Scorpio <[email protected]> wrote:
> > Reinstall did not help. Exactly same error as before.
>
> > The plugin installation command helped tho.
>
> > My terminal has too few lines scroll to show you exactly the options I
> > picked but I can generate a new app and set the rollback to 10k if
> > that would help you guys with this error as the exact same error was
> > present fresh after the generator on a clean gem install.
>
> > On Apr 18, 4:10 pm, Scorpio <[email protected]> wrote:
> >> I'll regenerate as I kinda upgraded from .0 to .4 Rails mid
> >> development and I can see now something got screwed really badly. Give
> >> me a few moments
>
> >> On Apr 18, 4:03 pm, Bryan Larsen <[email protected]> wrote:
>
> >> > On Wed, Apr 18, 2012 at 10:00 AM, Scorpio <[email protected]>
> >> > wrote:
> >> > > Ok. I'll purge RVM /reinstall gems, regenerate and post back if that
> >> > > helped.
>
> >> > That's pretty drastic. Try this first:
>
> >> > rails g hobo:install_plugin hobo_clean_admin -v 1.4.0.pre4
> >> > --subsite=admin --css-top
>
> >> > > Too bad about the recipes. There were some very nice ones in there.
>
> >> > It should be only minor tweaks to fix most of them.
>
> >> > Bryan
>
> > --
> > You received this message because you are subscribed to the Google Groups
> > "Hobo Users" group.
> > To post to this group, send email to [email protected].
> > To unsubscribe from this group, send email to
> > [email protected].
> > For more options, visit this group
> > athttp://groups.google.com/group/hobousers?hl=en.
--
You received this message because you are subscribed to the Google Groups "Hobo
Users" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/hobousers?hl=en.