Hobo Data Tables, fails install

25 views
Skip to first unread message

Jeremy Savoy

unread,
Jul 30, 2012, 8:45:10 PM7/30/12
to hobo...@googlegroups.com
I'm running 1.4.0 pre7 and when I try to install hobo data tables via these instructions ..


I get the following:

Hobo Command Line Interface 1.4.0.pre7
     gemfile  git://github.com/Hobo/hobo_data_tables.git
/Users/xxxx/.rvm/gems/ruby-1.9.3-p194/gems/hobo-1.4.0.pre7/lib/generators/hobo/plugin.rb:38:in `install_plugin_helper': undefined method `subsites' for Generators::Hobo:Module (NoMethodError)

Bryan Larsen

unread,
Jul 31, 2012, 9:13:44 AM7/31/12
to hobo...@googlegroups.com
I pushed a fix for this bug.

switch from 1.4.0.pre7 to :git => "git://github.com/tablatom/hobo.git"
in your Gemfile to pull the fix.

Note there's a typo in the instructions:

hobo generate install_plugin hobo_tree_table
git://github.com/Hobo/hobo_data_tables.git

should be

hobo generate install_plugin hobo_data_tables
git://github.com/Hobo/hobo_data_tables.git

or you can just install the plugin manually.

Here's what it does:

diff --git a/Gemfile b/Gemfile
index 431df25..f685476 100644
--- a/Gemfile
+++ b/Gemfile
@@ -52,3 +52,4 @@ gem "hobo_clean_admin", :path => "/work/hobo"
# The asset pipeline in Rails is really slow in development mode.
# Hobo has a lot of assets, so speed it up with rails-dev-tweaks
gem "rails-dev-tweaks", "~> 0.6.1", :group => :development
+gem "hobo_data_tables", :git => "git://github.com/Hobo/hobo_data_tables.git"
diff --git a/app/assets/javascripts/admin.js b/app/assets/javascripts/admin.js
index e421d52..c78958d 100644
--- a/app/assets/javascripts/admin.js
+++ b/app/assets/javascripts/admin.js
@@ -11,4 +11,5 @@
//= require hobo_jquery
//= require hobo_jquery_ui
//= require hobo_clean_admin
+//= require hobo_data_tables
//= require_tree ./admin
diff --git a/app/assets/javascripts/front.js b/app/assets/javascripts/front.js
index a73f205..450362b 100644
--- a/app/assets/javascripts/front.js
+++ b/app/assets/javascripts/front.js
@@ -12,4 +12,5 @@
//= require hobo_jquery
//= require hobo_jquery_ui
//= require hobo_clean
+//= require hobo_data_tables
//= require_tree ./front
diff --git a/app/assets/stylesheets/admin.css b/app/assets/stylesheets/admin.css
index ac077db..8aa5bd0 100644
--- a/app/assets/stylesheets/admin.css
+++ b/app/assets/stylesheets/admin.css
@@ -10,5 +10,6 @@
*= require hobo_jquery_ui
*= require jquery-ui/flick
*= require hobo_clean_admin
+ *= require hobo_data_tables
*= require_tree ./admin
*/
diff --git a/app/assets/stylesheets/front.css b/app/assets/stylesheets/front.css
index 35ac761..95f2380 100644
--- a/app/assets/stylesheets/front.css
+++ b/app/assets/stylesheets/front.css
@@ -11,5 +11,6 @@
*= require hobo_jquery_ui
*= require jquery-ui/redmond
*= require hobo_clean
+ *= require hobo_data_tables
*= require_tree ./front
*/
diff --git a/app/views/taglibs/admin_site.dryml
b/app/views/taglibs/admin_site.dryml
index 2d899cb..1bfb525 100644
--- a/app/views/taglibs/admin_site.dryml
+++ b/app/views/taglibs/admin_site.dryml
@@ -8,6 +8,8 @@

<include gem='hobo_clean_admin'/>

+<include gem='hobo_data_tables'/>
+
<include src="taglibs/auto/admin/rapid/cards"/>
<include src="taglibs/auto/admin/rapid/pages"/>
<include src="taglibs/auto/admin/rapid/forms"/>
diff --git a/app/views/taglibs/front_site.dryml
b/app/views/taglibs/front_site.dryml
index bd0069c..761b797 100644
--- a/app/views/taglibs/front_site.dryml
+++ b/app/views/taglibs/front_site.dryml
@@ -8,6 +8,8 @@

<include gem='hobo_clean'/>

+<include gem='hobo_data_tables'/>
+
<include src="taglibs/auto/rapid/cards"/>
<include src="taglibs/auto/rapid/pages"/>
<include src="taglibs/auto/rapid/forms"/>
> --
> You received this message because you are subscribed to the Google Groups
> "Hobo Users" group.
> To view this discussion on the web visit
> https://groups.google.com/d/msg/hobousers/-/muLpwsmqIlYJ.
> To post to this group, send email to hobo...@googlegroups.com.
> To unsubscribe from this group, send email to
> hobousers+...@googlegroups.com.
> For more options, visit this group at
> http://groups.google.com/group/hobousers?hl=en.

Jeremy Savoy

unread,
Jul 31, 2012, 2:41:49 PM7/31/12
to hobo...@googlegroups.com
Thanks Bryan, that worked like a charm !
Reply all
Reply to author
Forward
0 new messages