初心者です。
はじめてrails serverを立ち上げることになり、
Could not find actionpackのエラーがでます。
$ rails server webrick
Could not find actionpack-4.0.5 in any of the sources
Try running bundle install
.
bundle installを実行後、rails server webrickで、同じエラーです。railsのversion 4.0.5のようです。
どうやればいいかわからないので、アドバイスいただければ、どうぞよろしくお願いします。
以下コマンド実行結果。
$ gem install actionpack
ERROR: Error installing actionpack:
activesupport requires Ruby version >= 2.2.2.
$ ruby -v
ruby 2.1.0p0 (2013-12-25 revision 44422) [x86_64-linux]
$ rails --version
Could not find actionpack-4.0.5 in any of the sources
Try running bundle install
.
$ gem list
*** LOCAL GEMS ***
bigdecimal (default: 1.2.3)
bundler (1.14.6)
bundler-unload (1.0.2)
concurrent-ruby (1.0.5)
executable-hooks (1.3.2)
gem-wrappers (1.2.7)
i18n (0.8.1)
io-console (default: 0.4.2)
json (default: 1.8.1)
minitest (5.10.1, default: 4.7.5)
psych (default: 2.0.2)
rake (default: 10.1.0)
rdoc (default: 4.1.0)
rubygems-bundler (1.4.4)
rvm (1.11.3.9)
test-unit (default: 2.1.0.0)
thread_safe (0.3.6)
tzinfo (1.2.3)
回答1件
あなたの回答
tips
プレビュー