Добрый день! помогите пожалуйста в решении данной проблемы проблемы, при попытке запуска проекта, или даже вызвать rails -v, или bundle install , вылетает такая ошибка
/home/admin/.rvm/rubies/ree-1.8.7-2012.02/lib/ruby/site_ruby/1.8/rubygems/requirement.rb:81:in `parse': Illformed requirement [""] (ArgumentError)
from /home/admin/.rvm/rubies/ree-1.8.7-2012.02/lib/ruby/site_ruby/1.8/rubygems/requirement.rb:106:in `initialize'
from /home/admin/.rvm/rubies/ree-1.8.7-2012.02/lib/ruby/site_ruby/1.8/rubygems/requirement.rb:106:in `map!'
from /home/admin/.rvm/rubies/ree-1.8.7-2012.02/lib/ruby/site_ruby/1.8/rubygems/requirement.rb:106:in `initialize'
from /home/admin/.rvm/rubies/ree-1.8.7-2012.02/lib/ruby/site_ruby/1.8/rubygems/requirement.rb:44:in `new'
from /home/admin/.rvm/rubies/ree-1.8.7-2012.02/lib/ruby/site_ruby/1.8/rubygems/requirement.rb:44:in `create'
from /home/admin/.rvm/rubies/ree-1.8.7-2012.02/lib/ruby/site_ruby/1.8/rubygems/dependency.rb:50:in `initialize'
from /home/admin/.rvm/gems/ree-1.8.7-2012.02/gems/bundler-1.1.5/lib/bundler/resolver.rb:371:in `new'
from /home/admin/.rvm/gems/ree-1.8.7-2012.02/gems/bundler-1.1.5/lib/bundler/resolver.rb:371:in `search'
from /home/admin/.rvm/gems/ree-1.8.7-2012.02/gems/bundler-1.1.5/lib/bundler/resolver.rb:361:in `gems_size'
from /home/admin/.rvm/gems/ree-1.8.7-2012.02/gems/bundler-1.1.5/lib/bundler/resolver.rb:159:in `start'
from /home/admin/.rvm/gems/ree-1.8.7-2012.02/gems/bundler-1.1.5/lib/bundler/resolver.rb:159:in `map'
from /home/admin/.rvm/gems/ree-1.8.7-2012.02/gems/bundler-1.1.5/lib/bundler/resolver.rb:159:in `start'
from /home/admin/.rvm/gems/ree-1.8.7-2012.02/gems/bundler-1.1.5/lib/bundler/resolver.rb:128:in `resolve'
from /home/admin/.rvm/gems/ree-1.8.7-2012.02/gems/bundler-1.1.5/lib/bundler/resolver.rb:127:in `catch'
from /home/admin/.rvm/gems/ree-1.8.7-2012.02/gems/bundler-1.1.5/lib/bundler/resolver.rb:127:in `resolve'
from /home/admin/.rvm/gems/ree-1.8.7-2012.02/gems/bundler-1.1.5/lib/bundler/definition.rb:192:in `resolve'
from /home/admin/.rvm/gems/ree-1.8.7-2012.02/gems/bundler-1.1.5/lib/bundler/definition.rb:153:in `missing_specs'
from /home/admin/.rvm/gems/ree-1.8.7-2012.02/gems/bundler-1.1.5/lib/bundler/cli.rb:102:in `check'
from /home/admin/.rvm/gems/ree-1.8.7-2012.02/gems/bundler-1.1.5/lib/bundler/vendor/thor/task.rb:22:in `send'
from /home/admin/.rvm/gems/ree-1.8.7-2012.02/gems/bundler-1.1.5/lib/bundler/vendor/thor/task.rb:22:in `run'
from /home/admin/.rvm/gems/ree-1.8.7-2012.02/gems/bundler-1.1.5/lib/bundler/vendor/thor/invocation.rb:118:in `invoke_task'
from /home/admin/.rvm/gems/ree-1.8.7-2012.02/gems/bundler-1.1.5/lib/bundler/vendor/thor.rb:263:in `dispatch'
from /home/admin/.rvm/gems/ree-1.8.7-2012.02/gems/bundler-1.1.5/lib/bundler/vendor/thor/base.rb:386:in `start'
from /home/admin/.rvm/gems/ree-1.8.7-2012.02/gems/bundler-1.1.5/bin/bundle:13
from /home/admin/.rvm/gems/ree-1.8.7-2012.02/bin/bundle:19:in `load'
from /home/admin/.rvm/gems/ree-1.8.7-2012.02/bin/bundle:19
from /home/admin/.rvm/gems/ree-1.8.7-2012.02/bin/ruby_noexec_wrapper:14
debian squeeze 32 bit
ruby on rails Illformed requirement [""] (ArgumentError)
Модераторы: Warderer, Модераторы разделов
-
ruby90
- Сообщения: 12
- ОС: Arch
-
ruby90
- Сообщения: 12
- ОС: Arch
Re: ruby on rails Illformed requirement [""] (ArgumentError)
так, уже разобрался,
на всякий случай оставляю способ решения проблемы
Instructions for common Bundler use-cases can be found on the Bundler documentation site.
Detailed information about each Bundler command, including help with common problems, can be found in the Bundler man pages.
After reading the documentation, try these troubleshooting steps:
# remove user-specific gems and git repos
rm -rf ~/.bundle/ ~/.gem/
# remove system-wide git repos and git checkouts
rm -rf $GEM_HOME/bundler/ $GEM_HOME/cache/bundler/
# remove project-specific settings and git repos
rm -rf .bundle/
# remove project-specific cached .gem files
rm -rf vendor/cache/
# remove the saved resolve of the Gemfile
rm -rf Gemfile.lock
# try to install one more time
bundle install
взято здесь
на всякий случай оставляю способ решения проблемы
Instructions for common Bundler use-cases can be found on the Bundler documentation site.
Detailed information about each Bundler command, including help with common problems, can be found in the Bundler man pages.
After reading the documentation, try these troubleshooting steps:
# remove user-specific gems and git repos
rm -rf ~/.bundle/ ~/.gem/
# remove system-wide git repos and git checkouts
rm -rf $GEM_HOME/bundler/ $GEM_HOME/cache/bundler/
# remove project-specific settings and git repos
rm -rf .bundle/
# remove project-specific cached .gem files
rm -rf vendor/cache/
# remove the saved resolve of the Gemfile
rm -rf Gemfile.lock
# try to install one more time
bundle install
взято здесь