[前][次][番号順一覧][スレッド一覧]

rails:3704

From: 前島 真一 <netwillnet@g...>
Date: Mon, 9 Jan 2012 22:06:43 +0900
Subject: [rails:3704] Re: deviseインストール時のエラー

前島です。

みたところrails3.1.1を使ってるようなので、

gem install device

ではなく、Gemfile に 

gem "device"

の一文を追加して

bundle install

としてから rails generate device:install してみると多分いけると思います

On 2012/01/09, at 14:56, iso-vm wrote:

> こんにちはisoです。
> 
> gem install device
> の後、
> 
> rails generate devise:install
> で、
> 
> /home/iso/test/vendor/bundle/ruby/1.8/gems/activesupport-3.1.1/lib/active_support/dependencies.rb:240:in
> `require': no such file to load -- openid (LoadError)
> from
> /home/iso/test/vendor/bundle/ruby/1.8/gems/activesupport-3.1.1/lib/active_support/dependencies.rb:240:in
> `require'
> from
> /home/iso/test/vendor/bundle/ruby/1.8/gems/activesupport-3.1.1/lib/active_support/dependencies.rb:223:in
> `load_dependency'
> from
> /home/iso/test/vendor/bundle/ruby/1.8/gems/activesupport-3.1.1/lib/active_support/dependencies.rb:640:in
> `new_constants_in'
> from
> /home/iso/test/vendor/bundle/ruby/1.8/gems/activesupport-3.1.1/lib/active_support/dependencies.rb:223:in
> `load_dependency'
> from
> /home/iso/test/vendor/bundle/ruby/1.8/gems/activesupport-3.1.1/lib/active_support/dependencies.rb:240:in
> `require'
> from
> /home/iso/test/vendor/plugins/open_id_authentication/lib/open_id_authentication.rb:2
> from
> /home/iso/test/vendor/bundle/ruby/1.8/gems/activesupport-3.1.1/lib/active_support/dependencies.rb:456:in
> `load'
> from
> /home/iso/test/vendor/bundle/ruby/1.8/gems/activesupport-3.1.1/lib/active_support/dependencies.rb:456:in
> `load_file'
> from
> /home/iso/test/vendor/bundle/ruby/1.8/gems/activesupport-3.1.1/lib/active_support/dependencies.rb:640:in
> `new_constants_in'
> from
> /home/iso/test/vendor/bundle/ruby/1.8/gems/activesupport-3.1.1/lib/active_support/dependencies.rb:455:in
> `load_file'
> from
> /home/iso/test/vendor/bundle/ruby/1.8/gems/activesupport-3.1.1/lib/active_support/dependencies.rb:342:in
> `require_or_load'
> from
> /home/iso/test/vendor/bundle/ruby/1.8/gems/activesupport-3.1.1/lib/active_support/dependencies.rb:489:in
> `load_missing_constant'
> from
> /home/iso/test/vendor/bundle/ruby/1.8/gems/activesupport-3.1.1/lib/active_support/dependencies.rb:181:in
> `const_missing'
> from
> /home/iso/test/vendor/bundle/ruby/1.8/gems/activesupport-3.1.1/lib/active_support/dependencies.rb:179:in
> `each'
> from
> /home/iso/test/vendor/bundle/ruby/1.8/gems/activesupport-3.1.1/lib/active_support/dependencies.rb:179:in
> `const_missing'
> from /home/iso/test/config/environment.rb:8
> from
> /home/iso/test/vendor/bundle/ruby/1.8/gems/railties-3.1.1/lib/rails/application.rb:83:in
> `require'
> from
> /home/iso/work_dir/cjk/vendor/bundle/ruby/1.8/gems/railties-3.1.1/lib/rails/application.rb:83:in
> `require_environment!'
> from
> /home/iso/test/vendor/bundle/ruby/1.8/gems/railties-3.1.1/lib/rails/commands.rb:22
> from script/rails:6:in `require'
> from script/rails:6
> 
> というエラーが出てインストールできません。
> どうすればインストールできますてでしょうか?
> 
> 
> 
> --
> ML: rails@r...
> 使い方: http://QuickML.com/


[前][次][番号順一覧][スレッド一覧]

      3703 2012-01-09 06:56 [vm_iso@y...         ] deviseインストール時のエラー            
->    3704 2012-01-09 14:06 ┗[netwillnet@g...     ]                                       
      3706 2012-01-14 04:14  ┗[vm_iso@y...         ]