On Wednesday, December 4, 2013 4:47:07 AM UTC-5, Marcin Kulik wrote:
> On 03/12/13 17:45, Alexandre Beauclair wrote:
> 
> > Hi Marcin, thanks for the input.
> 
> >
> 
> > I downloaded the folder from the link you provided, then moved it to my 
> > Gitorious install folder. I then installed the Sinatra gem (gem install 
> > sinatra).
> 
> >
> 
> > I then tried to launch the wizard.rb according to the documentation on the 
> > page you provided, but it came back with this error:
> 
> >
> 
> > wizard.rb:11:in `require': no such file to load -- bundler/setup (LoadError)
> 
> >     from wizard.rb:11
> 
> >
> 
> > Which is weird, because I do have the bundler installed. I remember while 
> > installing Gitorious initially I had to use the bundler to install a couple 
> > of things, so I tried "bundle exec ruby ldap-wizard/wizard.rb" from the 
> > root of my Gitorious install, and it gave me the following message:
> 
> >
> 
> > ldap-wizard/wizard.rb:21:in `require': no such file to load -- 
> > sinatra/reloader (LoadError)
> 
> >     from ldap-wizard/wizard.rb:21
> 
> >
> 
> > I don't know if the wizard you suggested me does the same thing as the 
> > script test_ldap_connection (which came with Gitorious), but I did run 
> > these tests previously (sorry I didn't mention it).
> 
> > # bundle exec script/test_ldap_connection testuser password
> 
> >   All good, your credentials are correct
> 
> >
> 
> > Which is why I believe the settings of my authentication.yml are either 
> > correct or very close to.
> 
> >
> 
> > Any idea as to what I should do next?
> 
> >
> 
> Right, so when you run through bundle exec in runs in an isolated gem 
> 
> environment that includes only the gems that are listed in Gemfile. 
> 
> That's why the sinatra gem you installed manually is not visible to bundler.
> 
> 
> 
> Try the following: add "gem 'sinatra'" line to the Gemfile (somewhere at 
> 
> the top, in the global group), run "bundle", and then "bundle exec ruby 
> 
> ldap-wizard/wizard.rb".
> 
> 
> 
> Marcin

Hmm. Since this worning, I can't seem to restart the git-daemon. I get the 
following error:

[root@gitorious50 ~]# /etc/init.d/git-daemon start
Starting git-daemon: 
/opt/ruby-enterprise-1.8.7-2012.02/lib/ruby/gems/1.8/gems/bundler-1.3.5/lib/bundler/source/git.rb:177:in
 `load_spec_files': https://github.com/roman/rots.git (at master) is not 
checked out. Please run `bundle install` (Bundler::GitError)
        from 
/opt/ruby-enterprise-1.8.7-2012.02/lib/ruby/gems/1.8/gems/bundler-1.3.5/lib/bundler/source/path.rb:86:in
 `local_specs'
        from 
/opt/ruby-enterprise-1.8.7-2012.02/lib/ruby/gems/1.8/gems/bundler-1.3.5/lib/bundler/source/git.rb:150:in
 `specs'
        from 
/opt/ruby-enterprise-1.8.7-2012.02/lib/ruby/gems/1.8/gems/bundler-1.3.5/lib/bundler/lazy_specification.rb:52:in
 `__materialize__'
        from 
/opt/ruby-enterprise-1.8.7-2012.02/lib/ruby/gems/1.8/gems/bundler-1.3.5/lib/bundler/spec_set.rb:88:in
 `materialize'
        from 
/opt/ruby-enterprise-1.8.7-2012.02/lib/ruby/gems/1.8/gems/bundler-1.3.5/lib/bundler/spec_set.rb:85:in
 `map!'
        from 
/opt/ruby-enterprise-1.8.7-2012.02/lib/ruby/gems/1.8/gems/bundler-1.3.5/lib/bundler/spec_set.rb:85:in
 `materialize'
        from 
/opt/ruby-enterprise-1.8.7-2012.02/lib/ruby/gems/1.8/gems/bundler-1.3.5/lib/bundler/definition.rb:114:in
 `specs'
        from 
/opt/ruby-enterprise-1.8.7-2012.02/lib/ruby/gems/1.8/gems/bundler-1.3.5/lib/bundler/definition.rb:159:in
 `specs_for'
        from 
/opt/ruby-enterprise-1.8.7-2012.02/lib/ruby/gems/1.8/gems/bundler-1.3.5/lib/bundler/definition.rb:148:in
 `requested_specs'
        from 
/opt/ruby-enterprise-1.8.7-2012.02/lib/ruby/gems/1.8/gems/bundler-1.3.5/lib/bundler/environment.rb:18:in
 `requested_specs'
        from 
/opt/ruby-enterprise-1.8.7-2012.02/lib/ruby/gems/1.8/gems/bundler-1.3.5/lib/bundler/runtime.rb:13:in
 `setup'
        from 
/opt/ruby-enterprise-1.8.7-2012.02/lib/ruby/gems/1.8/gems/bundler-1.3.5/lib/bundler.rb:120:in
 `setup'
        from /home/git/gitorious/script/../config/../config/preinitializer.rb:16
        from /home/git/gitorious/script/../config/boot.rb:28:in `load'
        from /home/git/gitorious/script/../config/boot.rb:28:in `preinitialize'
        from /home/git/gitorious/script/../config/boot.rb:10:in `boot!'
        from /home/git/gitorious/script/../config/boot.rb:123
        from 
/opt/ruby-enterprise-1.8.7-2012.02/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:36:in
 `gem_original_require'
        from 
/opt/ruby-enterprise-1.8.7-2012.02/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:36:in
 `require'
        from /home/git/gitorious/script/../config/environment.rb:10
        from 
/opt/ruby-enterprise-1.8.7-2012.02/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:36:in
 `gem_original_require'
        from 
/opt/ruby-enterprise-1.8.7-2012.02/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:36:in
 `require'
        from /home/git/gitorious/script/git-daemon:11
                                                           [FAILED]


I have tried running "bundle install" as specified in the error message, to no 
avail. I have been to the webpage mentioned above, and it seems to be a dummy 
server to test OpenID authentication. Would this be a result of the commands I 
tried to run earlier with sinatra and ldap-wizard? I didn't have this error 
before.

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

--- 
You received this message because you are subscribed to the Google Groups 
"Gitorious" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to