Em 27-04-2011 03:33, Marius Mårnes Mathiesen escreveu:
On Tue, Apr 26, 2011 at 3:20 PM, Rodrigo Rosenfeld Rosas
<[email protected] <mailto:[email protected]>> wrote:
It is working (last time I tested was yesterday), but I would like
it to be faster... Currently the recipe uses RVM but I would like
to try it with native Ruby from Debian, which could speed up the
installation procedure.
I have never been able to make Debian's Ruby play nice with my apps,
did you succeed in doing this? Especially the inability to update
Rubygems itself (as well as sticking to an ancient Ruby version) has
been my showstopper.
In RVM, I can do "rvm rubygems 1.5.2" and it will install the
1.5.2 RubyGems for me. But writing this manually in the recipe for
Ruby distributed in Debian seems like a lot of work. I would
rather prefer Gitorious to support newer RubyGems...
That is why I'm asking for merging the solution provided by
Johansen, adding the following to config/environment.rb:
That sounds reasonable, would you mind submitting a merge request for
that?
I didn't replied before because I was making some experiments. It seems
that Debian still is on RubyGems 1.3.7, so I would need to upgrade it
anyway, and while changing to RubyGems 1.7.2 I still could run
Gitorious, although I had some strange messages running script/console
production:
Loading production environment (Rails 2.3.5)
NOTE: SourceIndex.new(hash) is deprecated; From
/srv/gitorious/current/config/../vendor/rails/railties/lib/rails/vendor_gem_source_index.rb:100:in
`new'.
/srv/gitorious/current/vendor/rails/activesupport/lib/active_support/dependencies.rb:55:NameError:
uninitialized constant ActiveSupport::Dependencies::Mutex
/srv/gitorious/current/vendor/rails/activesupport/lib/active_support/dependencies.rb:55:NameError:
uninitialized constant ActiveSupport::Dependencies::Mutex
/srv/gitorious/current/vendor/rails/railties/lib/console_with_helpers.rb:5:NameError:
uninitialized constant ApplicationController
I'll start working in another Chef cookbooks repository for trying to
speed up Gitorious installation. I'll let you know on any progress.
Best regards,
Rodrigo.
--
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]