--
excuse my brevity, this is from my phone
On Jul 9, 2014 1:34 PM, "Quiliro Ordóñez Baca" <[email protected]>
wrote:

>
>
> El mié 09 jul 2014 10:41:03 ECT, Ignacio Huerta escribió:
> > I don't think there's a column type "name". You need to create it like
> > a string, and then assign the "name" option:
> >
> > hobo generate resource person employee:string number:integer
> >
> > Then edit the Person model and add the name attribute:
> >
> > employee :string, :name => true
> >
> > Alternatively you can call the column "name", and thus you will not
> > need to mark it in the fields list:
> >
> > hobo generate resource person name:string number:integer
>
> I am sorry. I can remember now it is this way. Thank you for the info.
>
> I reinstalled everything in order to test if it was a Hobo error before
> I got your message. But now I cannot use Hobo.
>
> I followed the following steps in
> http://hobocentral.net/tutorials/two-minutes because I use Trisquel
> 6.0.1 which is a cleanup of Ubuntu 12.04 for non-free software:
>
> sudo apt-get install ruby1.9.3 rubygems nodejs libsqlite3-dev git
> export GEM_HOME=$HOME/.gem
> echo "export GEM_HOME=$HOME/.gem" >> .bashrc
> PATH="$HOME/.gem/bin:$PATH"
> echo 'PATH="$HOME/.gem/bin:$PATH"' >> .bashrc
> gem install hobo
>
> But I get this error from the last command regardless if I use sudo or not:
> ERROR:  Error installing hobo:
>     activesupport requires Ruby version >= 1.9.3.
>
> ruby -v prints:
> ruby 1.8.7 (2011-06-30 patchlevel 352) [x86_64-linux]
>
> ruby1.9.3 -v prints:
> ruby 1.9.3p0 (2011-10-30 revision 33570) [x86_64-linux]
>
> I removed ruby 1.8.7 and it will removed rubygems. Then I was able to
> install Hobo. But then when I created the application, I got the
> following message:
>
> [...]
>  >= 1.9.2 : nothing to do! Yay!
>     generate    hobo:setup_wizard
>
> /home/quiliro/.gem/gems/hobo_support-2.1.0/lib/hobo_support/fixes/module.rb:14:in
> `alias_method': undefined method `create_record' for class
> `ActiveRecord::Associations::HasManyThroughAssociation' (NameError)
> [...]
>
> as I have said in my previous message. What do you think is happening?
>
> Thank you for your pointers.
>
> I would not like to use repositories outside of Trisquel where it does
> have the software available. I do this in order to avoid the risk of
> installing non-free software as much as possible.
>
> --
> Saludos libres,
> Quiliro Ordóñez
> 600 8579
>
>
>

-- 
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