On Fri, Feb 19, 2010 at 2:37 PM, Conrad Taylor <conra...@gmail.com> wrote:

> On Fri, Feb 19, 2010 at 12:42 PM, straightfl...@gmail.com <
> straightfl...@gmail.com> wrote:
>
>> I am now getting an error
>> irb(main):002:0> u = UserSession.find(1)
>> NameError: uninitialized constant AuthLogic
>>
>>
> Try using the following line within your Gemfile:
>
> gem "authlogic"
>
> If that doesn't work for you, I would try to install it as a plugin:
>
> script/plugin install git://github.com/binarylogic/authlogic.git
>
> Note:  If you install it as a plugin, then you'll need to remove the
> reference from the Gemfile.
>

If the above two options doesn't work for you, then I recommend filing a
ticket against this gem
on github.com.

-Conrad


>
> Good luck,
>
> -Conrad
>
>
>
>> $ grep authlogic Gemfile
>> gem "authlogic", :git => "git://github.com/binarylogic/authlogic.git"
>>
>> $ bundle check
>> The Gemfile's dependencies are satisfied
>>
>> For some reason bundle pack doesnt pack the gem into vendors/cache but
>> bundle check succeeds.  Any ideas?
>>
>> On Fri, Feb 19, 2010 at 7:58 AM, Conrad Taylor <conra...@gmail.com>
>> wrote:
>> > On Fri, Feb 19, 2010 at 1:08 AM, RaW <ra...@wrzochol.net> wrote:
>> >>
>> >> I think
>> >> $ script/generate
>> >> has been replaced with
>> >> $ r g
>> >> in Rails3
>> >>
>> >> Am I right?
>> >>
>> >
>> > You'll need to do the following in Rails 3:
>> > rails g model user_session
>> > Then just edit the file and you should be good to go.
>> > Good luck,
>> > -Conrad
>> >
>> >>
>> >> --
>> >> You received this message because you are subscribed to the Google
>> Groups
>> >> "Ruby on Rails: Talk" group.
>> >> To post to this group, send email to rubyonrails-talk@googlegroups.com
>> .
>> >> To unsubscribe from this group, send email to
>> >> rubyonrails-talk+unsubscr...@googlegroups.com<rubyonrails-talk%2bunsubscr...@googlegroups.com>
>> .
>> >> For more options, visit this group at
>> >> http://groups.google.com/group/rubyonrails-talk?hl=en.
>> >>
>> >
>> > --
>> > You received this message because you are subscribed to the Google
>> Groups
>> > "Ruby on Rails: Talk" group.
>> > To post to this group, send email to rubyonrails-t...@googlegroups.com.
>> > To unsubscribe from this group, send email to
>> > rubyonrails-talk+unsubscr...@googlegroups.com<rubyonrails-talk%2bunsubscr...@googlegroups.com>
>> .
>> > For more options, visit this group at
>> > http://groups.google.com/group/rubyonrails-talk?hl=en.
>> >
>>
>> --
>> You received this message because you are subscribed to the Google Groups
>> "Ruby on Rails: Talk" group.
>> To post to this group, send email to rubyonrails-t...@googlegroups.com.
>> To unsubscribe from this group, send email to
>> rubyonrails-talk+unsubscr...@googlegroups.com<rubyonrails-talk%2bunsubscr...@googlegroups.com>
>> .
>> For more options, visit this group at
>> http://groups.google.com/group/rubyonrails-talk?hl=en.
>>
>>
>

-- 
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Talk" group.
To post to this group, send email to rubyonrails-t...@googlegroups.com.
To unsubscribe from this group, send email to 
rubyonrails-talk+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en.

Reply via email to