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
Alright, I did what you said. Sadly, it still gives me the following error: ldap-wizard/wizard.rb:21:in `require': no such file to load -- sinatra/reloader (LoadError) from ldap-wizard/wizard.rb:21 I made sure that bundle was able to see the gem (bundle show sinatra), and the result was conclusive (I think): [root@gitorious50]# bundle show sinatra /opt/ruby-enterprise-1.8.7-2012.02/lib/ruby/gems/1.8/gems/sinatra-1.2.8 In regards to my original problem, I'm taking a guess here since I've pretty much exhausted everything I can think of, but the machine where I have this Gitorious install is a virtual machine that has been copied over from a machine with a working Gitorious install (and then put in our test environment). The name of the machine has changed to fit the new naming convention of the test environment, and I have changed every setting in all the config files to the new name. I've looked everywhere, and apart from some old log entries, there are no mention of the old machine name in any config file whatsoever. Is it a possibility that somewhere, deep in a file, it's still looking up the old hostname? I believe it shouldn't, but I have no idea what might be causing this problem at all :( -- -- To post to this group, send email to gitorious@googlegroups.com To unsubscribe from this group, send email to gitorious+unsubscr...@googlegroups.com --- 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 gitorious+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.