rails:3671
From: eiichi_maekawa@m...
Date: Mon, 28 Nov 2011 10:43:08 +0900
Subject: [rails:3671] Re: Ruby1.9.3p0にRails3.1.3をインストール
ISHIKAWAさん
ありがとうございました。sqlite3-1.3.4-x86-mingw32.gem入れてみました。
また、rail s で実行したところ、sass-rails-3.1.5等7ファイルのgemが必要でした。
デモ画面(Welcome aboard)は、表示できましたが、ワーニングメッセージが、出
ました。
Railsは、触っている程度なのですが、対処方法について、どなたか、アドバイスい
ただけたら、助かります。
D:\>rails new mall313ruby193p0
exist
identical README
identical Rakefile
identical config.ru
identical .gitignore
<中略>
identical vendor/plugins/.gitkeep
run bundle install
D:/ruby193p0/lib/ruby/gems/1.9.1/gems/bundler-1.0.0/lib/bundler/ui.rb:46:in
`<class:UI>': uninitialized constant
Gem::SilentUI (NameError)
from
D:/ruby193p0/lib/ruby/gems/1.9.1/gems/bundler-1.0.0/lib/bundler/ui.rb:2:in
`<module:Bundler>'
from
D:/ruby193p0/lib/ruby/gems/1.9.1/gems/bundler-1.0.0/lib/bundler/ui.rb:1:in
`<top (required)>'
from
D:/ruby193p0/lib/ruby/gems/1.9.1/gems/bundler-1.0.0/lib/bundler/cli.rb:17:in
`initialize'
from
D:/ruby193p0/lib/ruby/gems/1.9.1/gems/bundler-1.0.0/lib/bundler/vendor/thor.rb:246:in
`new'
from
D:/ruby193p0/lib/ruby/gems/1.9.1/gems/bundler-1.0.0/lib/bundler/vendor/thor.rb:246:in
`dispatch'
from
D:/ruby193p0/lib/ruby/gems/1.9.1/gems/bundler-1.0.0/lib/bundler/vendor/thor/base.rb:389:in
`start'
from
D:/ruby193p0/lib/ruby/gems/1.9.1/gems/bundler-1.0.0/bin/bundle:13:in
`<main>'
この後に、rails s を実行しましたが、ワーニングが、でました。(デモ画面
は、表示できましたが・・・)
D:\mall313ruby193p0>rails s
NOTE: Gem.source_index is deprecated, use Specification. It will be removed
on or after 2011-11-01.
Gem.source_index called from
D:/ruby193p0/lib/ruby/gems/1.9.1/gems/bundler-1.0.0/lib/bundler/shared_helpers.rb:3.
NOTE: Gem::SourceIndex.from_installed_gems is deprecated with no
replacement. It will be removed on or after 2011-10-01.
Gem::SourceIndex.from_installed_gems called from
D:/ruby193p0/lib/ruby/gems/1.9.1/gems/bundler-
1.0.0/lib/bundler/source.rb:166.
NOTE: Gem::SourceIndex.installed_spec_directories is deprecated, use
Specification.dirs. It will be removed on or after
2011-11-01.
Gem::SourceIndex.installed_spec_directories called from
D:/ruby193p0/lib/ruby/1.9.1/rubygems/source_index.rb:47.
NOTE: Gem::SourceIndex.from_gems_in is deprecated with no replacement. It
will be removed on or after 2011-10-01.
Gem::SourceIndex.from_gems_in called from
D:/ruby193p0/lib/ruby/1.9.1/rubygems/source_index.rb:47.
NOTE: Gem::SourceIndex#initialize is deprecated with no replacement. It
will be removed on or after 2011-11-01.
Gem::SourceIndex#initialize called from
D:/ruby193p0/lib/ruby/1.9.1/rubygems/source_index.rb:67.
NOTE: Gem::SourceIndex#spec_dirs= is deprecated, use Specification.dirs=.
It will be removed on or after 2011-11-01.
Gem::SourceIndex#spec_dirs= called from
D:/ruby193p0/lib/ruby/1.9.1/rubygems/source_index.rb:94.
NOTE: Gem::SourceIndex#refresh! is deprecated with no replacement. It will
be removed on or after 2011-11-01.
Gem::SourceIndex#refresh! called from
D:/ruby193p0/lib/ruby/1.9.1/rubygems/source_index.rb:95.
NOTE: Gem::SourceIndex#load_gems_in is deprecated with no replacement. It
will be removed on or after 2011-11-01.
Gem::SourceIndex#load_gems_in called from
D:/ruby193p0/lib/ruby/1.9.1/rubygems/source_index.rb:322.
NOTE: Gem::SourceIndex#add_spec is deprecated, use Specification.add_spec.
It will be removed on or after 2011-11-01.
Gem::SourceIndex#add_spec called from
D:/ruby193p0/lib/ruby/1.9.1/rubygems/source_index.rb:127.
NOTE: Gem::SourceIndex#add_spec is deprecated, use Specification.add_spec.
It will be removed on or after 2011-11-01.
Gem::SourceIndex#add_spec called from
D:/ruby193p0/lib/ruby/1.9.1/rubygems/source_index.rb:127.
NOTE: Gem::SourceIndex#add_spec is deprecated, use Specification.add_spec.
It will be removed on or after 2011-11-01.
Gem::SourceIndex#add_spec called from
D:/ruby193p0/lib/ruby/1.9.1/rubygems/source_index.rb:127.
+++++++++++++++略(同一エラーメッセージ)++++++++++++++++++++
++
NOTE: Gem::SourceIndex#add_spec is deprecated, use Specification.add_spec.
It will be removed on or after 2011-11-01.
Gem::SourceIndex#add_spec called from
D:/ruby193p0/lib/ruby/1.9.1/rubygems/source_index.rb:127.
NOTE: Gem::SourceIndex#add_spec is deprecated, use Specification.add_spec.
It will be removed on or after 2011-11-01.
Gem::SourceIndex#add_spec called from
D:/ruby193p0/lib/ruby/1.9.1/rubygems/source_index.rb:127.
NOTE: Gem::SourceIndex#each is deprecated with no replacement. It will be
removed on or after 2011-11-01.
Gem::SourceIndex#each called from
D:/ruby193p0/lib/ruby/gems/1.9.1/gems/bundler-1.0.0/lib/bundler/source.rb:166.
NOTE: Gem.source_index is deprecated, use Specification. It will be removed
on or after 2011-11-01.
Gem.source_index called from
D:/ruby193p0/lib/ruby/gems/1.9.1/gems/bundler-1.0.0/lib/bundler/shared_helpers.rb:77.
=> Booting WEBrick
=> Rails 3.1.3 application starting in development on http://0.0.0.0:3000
=> Call with -d to detach
=> Ctrl-C to shutdown server
[2011-11-28 09:44:02] INFO WEBrick 1.3.1
[2011-11-28 09:44:02] INFO ruby 1.9.3 (2011-10-30) [i386-mingw32]
[2011-11-28 09:44:02] INFO WEBrick::HTTPServer#start: pid=2236 port=3000
# ここで、ブラウザ(I.E.)に、localhost/3000 を設定し、Welcome aboard画面を
確認。
# 確認後、ctrl+c で、終了。
Started GET "/assets/rails.png" for 127.0.0.1 at 2011-11-28 09:45:11 +0900
Served asset /rails.png - 200 OK (62ms)
[2011-11-28 09:50:35] INFO going to shutdown ...
[2011-11-28 09:50:35] INFO WEBrick::HTTPServer#start done.
Exiting
バッチ ジョブを終了しますか (Y/N)? y
"ISHIKAWA Takayuki" <rechka_osaka@y...> wrote on 2011/11/25
20:31:02:
> お手元の環境に DevKit がないようです。gem file をお手元に用意して
> から install するのであれば、
>
> http://rubygems.org/gems/sqlite3/versions
>
> から「x86-mingw32」と書かれた 1.3.4 を download してみてはいかが
> でしょうか。sqlite3-1.3.4-x86-mingw32.gem という file name で
> あれば、DevKit がなくても大丈夫だと思うのですが。(今、私の手元に
> Ruby 1.9.3 がないので未確認ですが、ご参考まで。)
>
> --
> 石川
>
>
> --
> ML: rails@r...
> 使い方: http://QuickML.com/
--
ML: rails@r...
使い方: http://QuickML.com/
3667 2011-11-25 09:41 ["=?ISO-2022-JP?] Ruby1.9.3p0にRails3.1.3をインストール 3668 2011-11-25 12:31 ┗[rechka_osaka@y... ] -> 3671 2011-11-28 02:43 ┗[eiichi_maekawa@m... ] 3672 2011-11-28 07:46 ┗[ayumu.aizawa@g... ] 3673 2011-11-28 09:56 ┗[eiichi_maekawa@m... ] 3674 2011-11-29 06:09 ┗[eiichi_maekawa@m... ] 3675 2011-11-29 07:24 ┗[ayumu.aizawa@g... ] 3676 2011-11-29 08:22 ┗[eiichi_maekawa@m... ] 3677 2011-11-29 08:54 ┗[yusuke.sakaki@g... ] 3679 2011-11-29 23:59 ┗[eiichi_maekawa@m... ] 3680 2011-11-30 01:08 ┗[eiichi_maekawa@m... ] 3681 2011-11-30 01:29 ┗[kawabata.agile@g... ] 3682 2011-11-30 02:23 ┗[eiichi_maekawa@m... ] 3683 2011-11-30 02:29 ┗[netwillnet@g... ] 3684 2011-11-30 02:51 ┗[eiichi_maekawa@m... ]