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
--
--
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.