烟雨来看看积分
烟雨来看看积分
关注数: 9
粉丝数: 9
发帖数: 41
关注贴吧数: 39
rails server报错如何解决? f:\ruby\workspace\MyApp>rails server undler could not find compatible versions for gem "activesupport": In Gemfile: rails (= 4.0.0) x86-mingw32 depends on activesupport (= 4.0.0) x86-mingw32 jbuilder (~> 1.2) x86-mingw32 depends on activesupport (>= 3.0.0) x86-mingw32 activesupport (>= 3.0) x86-mingw32 rails (= 4.0.0) x86-mingw32 depends on activesupport (= 4.0.0) x86-mingw32 rails (= 4.0.0) x86-mingw32 depends on activesupport (= 4.0.0) x86-mingw32 jquery-rails (>= 0) x86-mingw32 depends on rails-dom-testing (~> 1.0) x86-mingw32 depends on activesupport (< 5.0, >= 4.2.0.beta) x86-mingw32 jquery-rails (>= 0) x86-mingw32 depends on rails-dom-testing (~> 1.0) x86-mingw32 depends on rails-deprecated_sanitizer (>= 1.0.1) x86-mingw32 depends on activesupport (>= 4.2.0.alpha) x86-mingw32 :\ruby\workspace\MyApp>
请问ruby new blog 报错,如何解决?谢谢! F:\ruby\workspace>rails new blog E:/Program Files/Ruby200/lib/ruby/gems/2.0.0/gems/rails-2.3.4/lib/rails_generato r/generators/applications/app/app_generator.rb:7:in `<class:AppGenerator>': Use RbConfig instead of obsolete and deprecated Config. E:/Program Files/Ruby200/lib/ruby/gems/2.0.0/gems/rails-2.3.4/lib/rails_generato r/generators/applications/app/app_generator.rb:7:in `<class:AppGenerator>': Use RbConfig instead of obsolete and deprecated Config. E:/Program Files/Ruby200/lib/ruby/gems/2.0.0/gems/rails-2.3.4/lib/rails_generato r/generators/applications/app/app_generator.rb:7:in `<class:AppGenerator>': Use RbConfig instead of obsolete and deprecated Config. undefined method `camelize' for "app":String F:\ruby\workspace> ruby版本: F:\ruby\workspace>ruby -v ruby 2.0.0p481 (2014-05-08) [i386-mingw32] F:\ruby\workspace> rails版本: F:\ruby\workspace> rails --version Rails 2.3.4 F:\ruby\workspace> gem: F:\ruby\workspace>gem update –-system Updating installed gems Nothing to update
1
下一页