El mié 09 jul 2014 13:15:36 ECT, Ignacio Huerta escribió: > -----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
It is not available. But changing alternatives was easy.
sudo rm /etc/alternatives/ruby
sudo ln -s /usr/bin/ruby1.9.3 /etc/alternatives/ruby
I got ruby -v correct now:
ruby 1.9.3p0 (2011-10-30 revision 33570) [x86_64-linux]
But I still have the same problem:
[...]
Post-install message from rdoc:
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!
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)
from
/home/quiliro/.gem/gems/hobo_support-2.1.0/lib/hobo_support/fixes/module.rb:14:in
`alias_method_chain'
from
/home/quiliro/.gem/gems/hobo-2.1.0/lib/hobo/extensions/active_record/permissions.rb:89:in
`block in <top (required)>'
from
/home/quiliro/.gem/gems/hobo-2.1.0/lib/hobo/extensions/active_record/permissions.rb:64:in
`class_eval'
from
/home/quiliro/.gem/gems/hobo-2.1.0/lib/hobo/extensions/active_record/permissions.rb:64:in
`<top (required)>'
from
/home/quiliro/.gem/gems/activesupport-4.0.8/lib/active_support/dependencies.rb:229:in
`require'
from
/home/quiliro/.gem/gems/activesupport-4.0.8/lib/active_support/dependencies.rb:229:in
`block in require'
from
/home/quiliro/.gem/gems/activesupport-4.0.8/lib/active_support/dependencies.rb:214:in
`load_dependency'
from
/home/quiliro/.gem/gems/activesupport-4.0.8/lib/active_support/dependencies.rb:229:in
`require'
from /home/quiliro/.gem/gems/hobo-2.1.0/lib/hobo/engine.rb:33:in
`block in <class:Engine>'
from
/home/quiliro/.gem/gems/activesupport-4.0.8/lib/active_support/lazy_load_hooks.rb:38:in
`instance_eval'
from
/home/quiliro/.gem/gems/activesupport-4.0.8/lib/active_support/lazy_load_hooks.rb:38:in
`execute_hook'
from
/home/quiliro/.gem/gems/activesupport-4.0.8/lib/active_support/lazy_load_hooks.rb:28:in
`block in on_load'
from
/home/quiliro/.gem/gems/activesupport-4.0.8/lib/active_support/lazy_load_hooks.rb:27:in
`each'
from
/home/quiliro/.gem/gems/activesupport-4.0.8/lib/active_support/lazy_load_hooks.rb:27:in
`on_load'
from /home/quiliro/.gem/gems/hobo-2.1.0/lib/hobo/engine.rb:27:in
`<class:Engine>'
from /home/quiliro/.gem/gems/hobo-2.1.0/lib/hobo/engine.rb:7:in
`<module:Hobo>'
from /home/quiliro/.gem/gems/hobo-2.1.0/lib/hobo/engine.rb:6:in `<top
(required)>'
from
/home/quiliro/.gem/gems/activesupport-4.0.8/lib/active_support/dependencies.rb:229:in
`require'
from
/home/quiliro/.gem/gems/activesupport-4.0.8/lib/active_support/dependencies.rb:229:in
`block in require'
from
/home/quiliro/.gem/gems/activesupport-4.0.8/lib/active_support/dependencies.rb:214:in
`load_dependency'
from
/home/quiliro/.gem/gems/activesupport-4.0.8/lib/active_support/dependencies.rb:229:in
`require'
from /home/quiliro/.gem/gems/hobo-2.1.0/lib/hobo.rb:86:in `<top
(required)>'
from
/home/quiliro/.gem/gems/bundler-1.6.3/lib/bundler/runtime.rb:76:in
`require'
from
/home/quiliro/.gem/gems/bundler-1.6.3/lib/bundler/runtime.rb:76:in
`block (2 levels) in require'
from
/home/quiliro/.gem/gems/bundler-1.6.3/lib/bundler/runtime.rb:72:in
`each'
from
/home/quiliro/.gem/gems/bundler-1.6.3/lib/bundler/runtime.rb:72:in
`block in require'
from
/home/quiliro/.gem/gems/bundler-1.6.3/lib/bundler/runtime.rb:61:in
`each'
from
/home/quiliro/.gem/gems/bundler-1.6.3/lib/bundler/runtime.rb:61:in
`require'
from /home/quiliro/.gem/gems/bundler-1.6.3/lib/bundler.rb:132:in
`require'
from /home/quiliro/thingybob/config/application.rb:7:in `<top
(required)>'
from
/home/quiliro/.gem/gems/railties-4.0.8/lib/rails/commands.rb:43:in
`require'
from
/home/quiliro/.gem/gems/railties-4.0.8/lib/rails/commands.rb:43:in
`<top (required)>'
from bin/rails:4:in `require'
from bin/rails:4:in `<main>'
run bundle install
Using rake 10.3.2
Using i18n 0.6.11
Using minitest 4.7.5
Using multi_json 1.10.1
Using thread_safe 0.3.4
Using tzinfo 0.3.39
Using activesupport 4.0.8
Using builder 3.1.4
Using erubis 2.7.0
Using rack 1.5.2
Using rack-test 0.6.2
Using actionpack 4.0.8
Using mime-types 1.25.1
Using polyglot 0.3.5
Using treetop 1.4.15
Using mail 2.5.4
Using actionmailer 4.0.8
Using activemodel 4.0.8
Using activerecord-deprecated_finders 1.0.3
Using arel 4.0.2
Using activerecord 4.0.8
Using coffee-script-source 1.7.0
Using execjs 2.2.1
Using coffee-script 2.2.0
Using thor 0.19.1
Using railties 4.0.8
Using coffee-rails 4.0.1
Using bundler 1.6.3
Using hike 1.2.3
Using tilt 1.4.1
Using sprockets 2.11.0
Using sprockets-rails 2.1.3
Using rails 4.0.8
Using hobo_support 2.1.0
Using dryml 2.1.0
Using hobo_fields 2.1.0
Using hobo_will_paginate 2.1.1
Using hobo 2.1.0
Using jbuilder 1.5.3
Using jquery-rails 3.1.1
Using json 1.8.1
Using protected_attributes 1.0.8
Using rdoc 4.1.1
Using sass 3.2.19
Using sass-rails 4.0.3
Using sdoc 0.4.0
Using sqlite3 1.3.9
Using turbolinks 2.2.2
Using uglifier 2.5.1
Your bundle is complete!
Use `bundle show [gemname]` to see where a bundled gem is installed.
> 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.
Many developers say their software is free. But in practice even though
they use a free software license, they include non-free bits. It is
necessary for someone to verify if it is really true that it is free
software. An example of this is GNU. Many distros say that they are
free software. But in practice distribute non-free software too. There
are free versions of several distros that contrain free software but
are not free: Trisquel (Ubuntu), BLAG (Fedora), Parabola (Archlinux),
gNewSense (Debian), dyne:bolic, Dragora and GNU System. A very
interesting case is Linux. It is a kernel that is not free. There is a
free version: linux-Libre.
So you can see it is not easy to find free software even though there
is a lot.
--
Saludos libres,
Quiliro Ordóñez
600 8579
signature.asc
Description: OpenPGP digital signature
