-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi Quiliro,

I think you need to enable ruby1.9.3 as your default Ruby, so "ruby
- -v" returns "1.9.3". You should be able to use a package called
"ruby-switch" for this. It just handles the aliased in
/etc/alternatives. If it's not available, you might be able to do the
same manually.

Alternatively, consider the possibility of using this PPA:
http://brightbox.com/docs/ruby/ubuntu/

I believe it only contains free software, and it has the advantage of
providing the latest Ruby versions (with the most recent security and
performance patches). It makes it very easy to install ruby switch and
the latest Ruby 1.9.3.

Warm regards,
Ignacio

El 09/07/14 19:33, Quiliro Ordóñez Baca escribió:
> 
> 
> 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.
> 
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/

iEYEARECAAYFAlO9hsgACgkQBPlUJ6RHaOTcIwCfVTnNyiJPXzI3tWwKTTWmPlzl
02kAoOqesM8NxbTneMv+4qfavA51nOmI
=tg0S
-----END PGP SIGNATURE-----

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