ruby - Rack dependency and thin start -
i trying use thin serve ruby on rails application on windows host.
when run
thin start
i following error:
c:/railsinstaller/ruby1.9.3/lib/ruby/gems/1.9.1/gems/bundler- 1.3.4/lib/bundler/runtime.rb:33:in `block in setup': have activated rack 1.5.0, gemfile requires rack 1.4.5. using bundle exec may solve this. (gem::loaderror)
after try resolve dependency running:
gem install rack -v 1.4.5
i following error:
c:/railsinstaller/ruby1.9.3/lib/ruby/site_ruby/1.9.1/rubygems/dependency.rb:247: in `to_specs': not find rack (>= 1.5.0) amongst...[list of installed gems].
i take problem thin requires rack 1.5.0 project requires rack 1.4.5. how can resolve , thin start correctly? new rails , confused do.
i don't want add thin bundle , use bundle exec because project not require thin - want use application server.
is possible install 2 versions of rack side side? alternatively, how can upgrade project use rack 1.5.0 uses same version required thin? running thin 1.6.0, rails 3.2.9 , ruby 1.9.3.
many help.
try updating gemfile, adding gem 'rack', '1.5.0'
, removing existing rack entry. if have updated rack version 1.5.0, in meantime, gem 'rack'
or gem 'rack', '"your_version"'
.
Comments
Post a Comment