This issue is probably related with your configuration with ruby and
ruby-enterprise, why don't you start from scratch.

Look this *walkthrough *
http://cjohansen.no/en/ruby/setting_up_gitorious_on_your_own_server

On Wed, May 11, 2011 at 9:53 AM, linuxwarm <[email protected]> wrote:

> Hi,
>
>  I ran this command.
>
> bundle install
>
>  It worked and I got this message.
>
> Your bundle is complete! Use `bundle show [gemname]` to see where a
> bundled gem is installed.
>
> then I tried to restart the service but still the same message.
>
>  /var/www/gitorious/script/../config/../config/preinitializer.rb:18:
> Bundler couldn't find some gems. Did you run `bundle install`?
> (RuntimeError)
>        from /var/www/gitorious/script/../config/boot.rb:28:in `load'
>        from /var/www/gitorious/script/../config/boot.rb:28:in
> `preinitialize'
>        from /var/www/gitorious/script/../config/boot.rb:10:in `boot!'
>        from /var/www/gitorious/script/../config/boot.rb:123
>        from /opt/ruby-enterprise-1.8.6-20081215/lib/ruby/site_ruby/
> 1.8/rubygems/custom_require.rb:29:in `gem_original_require'
>        from /opt/ruby-enterprise-1.8.6-20081215/lib/ruby/site_ruby/
> 1.8/rubygems/custom_require.rb:29:in `require'
>        from /var/www/gitorious/script/../config/environment.rb:11
>        from /opt/ruby-enterprise-1.8.6-20081215/lib/ruby/site_ruby/
> 1.8/rubygems/custom_require.rb:29:in `gem_original_require'
>        from /opt/ruby-enterprise-1.8.6-20081215/lib/ruby/site_ruby/
> 1.8/rubygems/custom_require.rb:29:in `require'
>        from /var/www/gitorious/script/git-daemon:11
>                                                            [FAILED]
>
> On May 11, 7:21 pm, linuxwarm <[email protected]> wrote:
> > Hi,
> >
> >  do you mean I need to run this command from the folder of my
> > Gitorious?
> >
> > On May 11, 7:20 pm, Daniel Espinoza <[email protected]> wrote:
> >
> >
> >
> >
> >
> >
> >
> > > You need to move to your gitorious directory, usually /var/www
> >
> > > On Wed, May 11, 2011 at 9:43 AM, linuxwarm <[email protected]>
> wrote:
> > > > Hi,
> >
> > > >  I tried to run
> >
> > > > /opt/ruby-enterprise-1.8.6-20081215/bin/bundle install
> >
> > > > It says.
> >
> > > > Could not locate Gemfile
> >
> > > > On May 11, 7:07 pm, linuxwarm <[email protected]> wrote:
> > > > > Hi,
> >
> > > > >  Still the same. Please check this output.
> >
> > > > > # /opt/ruby-enterprise-1.8.6-20081215/bin/gem install bundler
> > > > > Successfully installed bundler-1.0.13
> > > > > 1 gem installed
> > > > > Installing ri documentation for bundler-1.0.13...
> > > > > Installing RDoc documentation for bundler-1.0.13...
> >
> > > > > # /etc/init.d/git-daemon restart
> > > > > Stopping :                                                 [FAILED]
> > > > > Starting : /var/www/gitorious/script/../config/../config/
> > > > > preinitializer.rb:18: Bundler couldn't find some gems. Did you run
> > > > > `bundle install`? (RuntimeError)
> > > > >         from /var/www/gitorious/script/../config/boot.rb:28:in
> `load'
> > > > >         from /var/www/gitorious/script/../config/boot.rb:28:in
> > > > > `preinitialize'
> > > > >         from /var/www/gitorious/script/../config/boot.rb:10:in
> `boot!'
> > > > >         from /var/www/gitorious/script/../config/boot.rb:123
> > > > >         from
> /opt/ruby-enterprise-1.8.6-20081215/lib/ruby/site_ruby/
> > > > > 1.8/rubygems/custom_require.rb:29:in `gem_original_require'
> > > > >         from
> /opt/ruby-enterprise-1.8.6-20081215/lib/ruby/site_ruby/
> > > > > 1.8/rubygems/custom_require.rb:29:in `require'
> > > > >         from /var/www/gitorious/script/../config/environment.rb:11
> > > > >         from
> /opt/ruby-enterprise-1.8.6-20081215/lib/ruby/site_ruby/
> > > > > 1.8/rubygems/custom_require.rb:29:in `gem_original_require'
> > > > >         from
> /opt/ruby-enterprise-1.8.6-20081215/lib/ruby/site_ruby/
> > > > > 1.8/rubygems/custom_require.rb:29:in `require'
> > > > >         from /var/www/gitorious/script/git-daemon:11
> >
> > > > > On May 11, 6:50 pm, Rodrigo Rosenfeld Rosas <[email protected]>
> > > > > wrote:
> >
> > > > > > Try this:
> >
> > > > > > |cd /tmp
> > > > > > wgethttp://
> production.cf.rubygems.org/rubygems/rubygems-1.4.2.tgz
> > > > > > tar zxf rubygems-1.4.2.tgz
> > > > > > ruby rubygems-1.4.2/setup.rb --no-format-executable|
> >
> > > > > > Em 11-05-2011 10:48, linuxwarm escreveu:
> >
> > > > > > > Hi,
> >
> > > > > > >   I am getting this.
> >
> > > > > > > /opt/ruby-enterprise-1.8.6-20081215/bin/gem update --system
> 1.4.2
> > > > > > > Updating RubyGems
> > > > > > > ERROR:  While executing gem ... (RuntimeError)
> > > > > > >      No gem names are allowed with the --system option
> >
> > > > > > > On May 11, 6:45 pm, Daniel Espinoza<[email protected]>
>  wrote:
> > > > > > >> I suggest update gem to 1.4.2
> >
> > > > > > >> $ gem update --system 1.4.2
> >
> > > > > > >> On Wed, May 11, 2011 at 9:10 AM, linuxwarm<
> [email protected]>
> > > >  wrote:
> > > > > > >>>         bundler requires RubyGems version>= 1.3.6
> > > > > > >> --
> > > > > > >> Daniel Espinoza.
> >
> > > > --
> > > > To post to this group, send email to [email protected]
> > > > To unsubscribe from this group, send email to
> > > > [email protected]
> >
> > > --
> > > Daniel Espinoza.
>
> --
> To post to this group, send email to [email protected]
> To unsubscribe from this group, send email to
> [email protected]
>



-- 
Daniel Espinoza.

-- 
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]

Reply via email to