Displaying 20 results from an estimated 10000 matches similar to: "ldap authentication with ruby"
2007 Jun 06
1
ActiveLdap: no such file to load -- ldap (MissingSourceFile)
I just installed ActiveLdap, copied the plugin into vendor/plugins and
setup a config/ldap.yml file. Starting rails gives me an error that it
can not find the ldap source file. (I installed from the gem with its
prerequisites log4r, etc.)
/usr/local/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:27:in
`gem_original_require'': no such file to load -- ldap (MissingSourceFile)
2005 Nov 30
0
uninitialized constant Base (NameError) trying to use ActiveLdap
Hi group
I''m trying to hook up my simple app to Active Directory. I''m following
instructions posted on the website.
Mainly http://wiki.rubyonrails.com/rails/pages/HowtoAuthenticateViaLdap
and now also http://wiki.rubyonrails.com/rails/pages/ActiveLDAP.
The two instructions seem to differ a little on how to configure
(environment.rb). Both instructions break my app with an
2008 Jun 04
2
gem_original_require
Hi all,
my computer decide to take a dirt nap today so I am trying to relaod
rails on another machine and I am getting this error message which I
can''t make heads or tails about:
no such file to load -- postgres
RAILS_ROOT: ./script/../config/..
c:/ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:27:in
`gem_original_require''
2007 Apr 04
0
Webrick startup problem
I had my application running perfectly in the 1.8.2th version of ruby.
Now I have updated the version of ruby to 1.8.6(through the one-click
installer). I again installed the rails,uuid, and all other plugins.
I am able to start the application of some applications. But for this
application it is giving this error.
Can some body help me................THANKS in advance.
=> Booting WEBrick...
2006 Jul 18
0
Rails Error w/ ActiveLdap
Hello,
I am working on creating a simple interface for an ldap user repository.
A little background, for development, I am working under Cygwin, with an
ssh port forward on port 636 (for SSL).
I have included clips of my error message and all
config/environment/model files below. I replaced domain information,
which I have double checked with "<CORRECT>".
Please let me know
2006 Jul 18
1
Rail w/ ActiveLdap
Hello,
I am working on creating a simple interface for an ldap user repository.
A little background, for development, I am working under Cygwin, with an
ssh port forward on port 636 (for SSL).
I have included clips of my error message and all
config/environment/model files below. I replaced domain information,
which I have double checked with "<CORRECT>".
Please let me know
2007 Jul 16
3
Can''t start Mongrel under win32
I have a fresh installation of Ruby, Rails and Mongrel. Unfortunately
the server doesn''t start.
Any ideas ?
=> Booting Mongrel (use ''script/server webrick'' to force WEBrick)
=> Rails application starting on http://0.0.0.0:3000
=> Call with -d to detach
=> Ctrl-C to shutdown server
** Starting Mongrel listening at 0.0.0.0:3000
** Starting Rails with
2007 Jun 25
2
undefined method `each' for ***:Class PROBLEM
Hi,
i am very new to ROR, this is my 2nd day since i solve the problem of
database connection. when i started to write some codes, i got stuck.
here is the situation and please give me some help.
i have a "posts" table in my database
CREATE TABLE `mapapp`.`posts` (
`id` int(11) NOT NULL auto_increment,
`title` varchar(255) default NULL,
`body` text,
PRIMARY KEY (`id`)
)
2007 Sep 11
0
ruby script/console hangs on cygwin
>ruby -v script/console
ruby 1.8.6 (2007-03-13 patchlevel 0) [i386-cygwin]
Loading development environment.
What I did was
1) install latest cygwin files
2) download and install rubygems from <http://rubyforge.org/frs/?
group_id=126>
3) gem install rails --include-dependencies
rails test
cd test
ruby script/console
How can I debug this ? It looks like it''s hanging forever.
2008 May 07
1
Actionwebservice
I am just learning some about web service. But many guys still use
Java (Jws). But I wanna try ROR. There are less information about it.
I can''t get install plugin in the ROR 2.0.x. So I followed the
standard textbook("Agile_Web_Development_With_Rails-2nd" and "Ruby on
Rails for PHP and Java Developers") I almost finished it. However, I
can''t find my api
2007 Sep 12
0
Error when running migrations
I''ve checked out a rails project that i''m working on from a repository,
and created a new database for it. However whenever i try and run the
migrations i get the following error:
rake aborted!
#<AppConfig:0xb7870f84> is not a class/module
Whenever I try to fire up a webrick server, i get the following error:
=> Booting WEBrick...
2006 Dec 29
2
Gems looking in the wrong dir
Hello,
When I tested out SVN 1987, puppetmasterd barfs because gems is
looking in puppet/rails/lib no puppet/rails. This is under FC6 with
gems/rails installed from source. The simple fix for me was to create
the directory lib and link the files in /puppet/rails there.
.r''
Original error:
# puppetmasterd --debug
/usr/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:27:in
2007 Mar 17
0
webrick failing with "NameError: cannot remove Object::UnknownPropertyMethod"
Hi,
I just downloaded the latest rails, and tried to run webrick. I get
this strange
set of error messages. It looks like the real error is
NameError: cannot remove Object::UnknownPropertyMethod
I never had this problem with older versions, and the ''fastcgi''
variant, running
under lighttpd runs fine. Any ideas why webrick appears to be
broken?
Thanks,
David
2007 Aug 06
4
problem with rails_root
Hi everybody,
I used a openseradmin who is based on rubygem (i suppose ), so when i
start my server of this openseradmin in the http://localhost:3000, i
reciceved some messages like this:
SocketError in LoginController#login
getaddrinfo: Name or service not known
RAILS_ROOT: script/../config/..
Application Trace | Framework Trace | Full Trace
2007 Sep 10
3
Can't reach a controller :(
When I try to see a controller I get a 404 error, this is what WEBrick
says
What could it be? Thanks for the help ;)
=> Booting WEBrick...
=> Rails application started on http://0.0.0.0:3000
=> Ctrl-C to shutdown server; call with --help for options
[2007-09-10 13:30:26] INFO WEBrick 1.3.1
[2007-09-10 13:30:26] INFO ruby 1.8.6 (2007-06-07) [i486-linux]
[2007-09-10 13:30:26] INFO
2007 Aug 17
1
Scaffold (Agile Web Development With Rails)
What am I doing wrong here?
[app/controllers/admin_controller.rb]
class AdminController < ApplicationController
before_filter :authorize
def index
list
render :action => ''list''
end
# GETs should be safe (see http://www.w3.org/2001/tag/doc/whenToUseGet.html)
verify :method => :post, :only => [ :destroy, :create, :update ],
2007 Jun 21
2
Error when trying to run expense program
Guys, I m trying to get up to speed on Rails via the Apple tutorial
at:http://developer.apple.com/tools/rubyonrails.html
Problem is when I try and access localhost:3000/expenses I get the
following error. It may be a breeze for you to figure out but since I
dont know jack about rails it seems cryptic to me. Application.rb seems
to be very similar to the database.yml file.
I''m running
2007 Jun 14
4
Can''t run RSpec files in TextMate
Hi
Not sure if this is the place to ask this or not. I''ve upgraded to
RSpec 1.0.5, installed the latest TextMate bundle, but whenever I do
"Run Behaviour Descriptions in selected files/directories" I get this:
/Users/ashleymoran/Library/Application Support/TextMate/Pristine Copy/
Bundles/RSpec.tmbundle/Support/lib/spec_mate.rb:18:in `run_files'':
private method
2008 Nov 02
1
ROR Ubuntu 8.10: Action Controller: Exception caught
System:
Virtual Box running Ubuntu 8.10 as guest
Fellowed ( http://wiki.rubyonrails.org/rails/pages/RailsOnUbuntu ) to
instal RoR
Book: Agile Web Development with Rails: Second Edition
Issue:
(pleas help)
I''m creating a simple hello world application as defined on pages 36-40.
Generating controller called ''Say''.
How to I fix issue below?
it returns this error rather
2007 Nov 20
3
Plugin: can't call before_filter in ApplicationController
Hi all
I want to outsource an extension for ApplicationController, that I had
in application.rb so far, into a plugin.
I have created this plugin, and in init.rb I load
require File.dirname(__FILE__) + ''/lib/application_controller''
In lib/application_controller.rb I have the following code:
class ApplicationController
before_filter :prepare_user
...
end
This worked