restful_authentication и rails 3.2.1

89 views
Skip to first unread message

Валентин Гимранов

unread,
Feb 29, 2012, 4:06:49 PM2/29/12
to ror...@googlegroups.com
Всем привет.
Возникла проблема:
добавил в gemfile: gem 'restful_authentication'
при попытке выполнить bundle install получаю:

Bundler could not find compatible versions for gem "rails":
In Gemfile:
restful_authentication (>= 0) ruby depends on
rails (~> 2.3.4) ruby

rails (3.2.1)

если устанавливаю через git, как описано в инструкции на github, то при генерации получаю вот такое сообщение:

DEPRECATION WARNING: You have Rails 2.3-style plugins in vendor/plugins! Support for these plugins will be removed in Rails 4.0. Move them out and bundle them in your Gemfile, or fold them in to your app as lib/myplugin/* and config/initializers/myplugin.rb. See the release notes for more on this: http://weblog.rubyonrails.org/2012/01/04/rails-3-2-0-rc2-has-been-released. (called from /home/tin/rcms/config/environment.rb:5)
Could not find generator authenticated.
Объясните проблему и как её исправить плз. В Rails я новичок.

PitOn

unread,
Mar 1, 2012, 1:25:25 AM3/1/12
to RubyOnRails to russian
> добавил в gemfile: gem 'restful_authentication'
А оно тебе надо? Не поддерживается уже давно, используй что-нибудь
актуальное - например, sorcery

On 1 мар, 01:06, Валентин Гимранов <tingimran...@gmail.com> wrote:
> Всем привет.
> Возникла проблема:
> добавил в gemfile: gem 'restful_authentication'
> при попытке выполнить bundle install получаю:
>
> Bundler could not find compatible versions for gem "rails":
>   In Gemfile:
>     restful_authentication (>= 0) ruby depends on
>       rails (~> 2.3.4) ruby
>
>     rails (3.2.1)
>
> если устанавливаю через git, как описано в инструкции на github, то при генерации получаю вот такое сообщение:
>

> DEPRECATION WARNING: You have Rails 2.3-style plugins in vendor/plugins! Support for these plugins will be removed in Rails 4.0. Move them out and bundle them in your Gemfile, or fold them in to your app as lib/myplugin/* and config/initializers/myplugin.rb. See the release notes for more on this:http://weblog.rubyonrails.org/2012/01/04/rails-3-2-0-rc2-has-been-rel.... (called from /home/tin/rcms/config/environment.rb:5)

Alexander Stepanov

unread,
Mar 1, 2012, 2:16:14 AM3/1/12
to RubyOnRails to russian
ну вот, как я и говорил. в гемах ЧЕРВИЕ. поэтому я пишу все сам

On 1 мар, 00:06, Валентин Гимранов <tingimran...@gmail.com> wrote:
> Всем привет.
> Возникла проблема:
> добавил в gemfile: gem 'restful_authentication'
> при попытке выполнить bundle install получаю:
>
> Bundler could not find compatible versions for gem "rails":
>   In Gemfile:
>     restful_authentication (>= 0) ruby depends on
>       rails (~> 2.3.4) ruby
>
>     rails (3.2.1)
>
> если устанавливаю через git, как описано в инструкции на github, то при генерации получаю вот такое сообщение:
>

> DEPRECATION WARNING: You have Rails 2.3-style plugins in vendor/plugins! Support for these plugins will be removed in Rails 4.0. Move them out and bundle them in your Gemfile, or fold them in to your app as lib/myplugin/* and config/initializers/myplugin.rb. See the release notes for more on this:http://weblog.rubyonrails.org/2012/01/04/rails-3-2-0-rc2-has-been-rel.... (called from /home/tin/rcms/config/environment.rb:5)

Sergey Nartimov

unread,
Mar 1, 2012, 2:27:38 AM3/1/12
to ror...@googlegroups.com
Писать все самому стоит на пэхапэ, там так приняно :trollface:

> --
> --
> Данное сообщение отправлено Вам, так как Вы являетесь подписчиком группы "RubyOnRails to russian" на группах Google.
> FAQ группы находится по адресу: http://ru.wikibooks.org/wiki/RubyFAQ
>
>  Для того, чтобы отправить сообщение в эту группу, пошлите его по адресу
> ror...@googlegroups.com
>  Чтобы отменить подписку на эту группу, отправьте сообщение по адресу: ror2ru-un...@googlegroups.com
>  Дополнительные варианты находятся на странице группы http://groups.google.com/group/ror2ru?hl=ru

Oleh Khomey

unread,
Mar 1, 2012, 9:43:44 AM3/1/12
to ror...@googlegroups.com
restful_authentication <> "пишу все сам"

--
Regards,
Oleh Khomey


2012/3/1 Alexander Stepanov <dark...@gmail.com>

Малъ Зануда

unread,
Mar 2, 2012, 1:55:40 AM3/2/12
to RubyOnRails to russian

On 1 мар, 11:16, Alexander Stepanov <darkd...@gmail.com> wrote:
> ну вот, как я и говорил. в гемах ЧЕРВИЕ. поэтому я пишу все сам

А подавить червия в монистах, не? =)

> Писать все самому стоит на пэхапэ, там так приняно :trollface:

+1

Andrei Dziahel

unread,
Mar 2, 2012, 4:39:30 AM3/2/12
to ror...@googlegroups.com
там просто по-другому сложно. например потому, что нету аналогов Rack

2012/3/1 Sergey Nartimov <just...@gmail.com>



--
Regards,
Andrei Dziahel

Reply all
Reply to author
Forward
0 new messages