From: Di <denyago@rambler.ru> To: ALT Linux Community <community@lists.altlinux.org> Subject: [Comm] Redmine и Ruby 1.9 - не находится rack Date: Thu, 18 Feb 2010 23:30:38 +0200 Message-ID: <4B7DB17E.5010802@rambler.ru> (raw) [-- Attachment #1: Type: text/plain, Size: 2587 bytes --] Доброго времени суток. У кого-то получалось запускать Redmine вместе с Ruby 1.9? Т.к. именно такая версия идёт вместе с p5, пробую запустить под ней. Суть проблемы заключается в том, что rake db:migrate не находит RubyGem rack, который находит find. Ставил вот по этой инструкции: http://admdev.blogspot.com/2009/02/redmine-quickstart.html Всё обламывалось на шаге: $ RAILS_ENV=production rake db:migrate --trace (in /opt/redmine/redmine-0.9.2) ** Invoke db:migrate (first_time) ** Invoke environment (first_time) ** Execute environment rake aborted! Could not find RubyGem rack (~> 1.0.1) /opt/redmine/redmine-0.9.2/vendor/rails/railties/lib/initializer.rb:271:in `rescue in require_frameworks' /opt/redmine/redmine-0.9.2/vendor/rails/railties/lib/initializer.rb:268:in `require_frameworks' /opt/redmine/redmine-0.9.2/vendor/rails/railties/lib/initializer.rb:134:in `process' /opt/redmine/redmine-0.9.2/vendor/rails/railties/lib/initializer.rb:113:in `run' *** далее длинный дамп стека, если нужно приведу полностью *** Попробовал найти недостающий RubyGem (хотя, его я ставил из репозитория Alt): $ gem list *** LOCAL GEMS *** $ find / -name "*rack*" 2>/dev/null /usr/share/ruby/vendor_ruby/1.9/rack /usr/share/ruby/vendor_ruby/1.9/rack.rb /usr/share/ruby/vendor_ruby/1.9/rails/rack /usr/share/ruby/vendor_ruby/1.9/rails/rack.rb ... и поставить: $ gem install --version='~> 1.0.1' rack Successfully installed rack-1.0.1 1 gem installed Installing ri documentation for rack-1.0.1... Updating class cache with 0 classes... Installing RDoc documentation for rack-1.0.1... После чего, всё запустилось... И вполне поднялось на WEBrick. Вот всё, что есть по поводу ruby: ruby-fcgi-0.8.7-alt2 ruby-tool-rdoc-1.9.1-alt1.r26040.1 ruby-rake-0.8.4-alt1 ruby-rack-1.0.1-alt1 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ruby-activeresource-2.3.5-alt1 ruby-activerecord-mysql-adapter-2.3.5-alt1 ruby-railties-2.3.5-alt1 ruby-i18n-0.1.3-alt1 ruby-rack-handler-webrick-1.0.1-alt1 ruby-stdlibs-1.9.1-alt1.r26040.1 ruby-tzinfo-0.3.13-alt1 ruby-racc-runtime-1.4.6-alt1.1 ruby-actionpack-2.3.5-alt1 ruby-test-unit-2.0.2-alt1.1 ruby-openid-2.1.8-alt1 ruby-actionmailer-2.3.5-alt1 mysql-ruby-2.8.1-alt2 libruby-1.9.1-alt1.r26040.1 libxml-ruby-1.1.3-alt1 ruby-text-format-1.0.0-alt3 ruby-activesupport-2.3.5-alt1 ruby-rails-2.3.5-alt1 ruby-1.9.1-alt1.r26040.1 ruby-json-1.1.7-alt1 ruby-builder-2.1.2-alt3 ruby-activerecord-2.3.5-alt1 rubygems-1.3.5-alt1 ruby-memcache-client-1.7.4-alt1 ruby-tmail-1.2.3.1-alt2 ruby-tool-irb-1.9.1-alt1.r26040.1 ruby-prof-0.7.3-alt1 ruby-nokogiri-1.3.2-alt1 [-- Attachment #2: denyago.vcf --] [-- Type: text/x-vcard, Size: 366 bytes --] begin:vcard fn:Denis Timurovich Yagofarov n:Yagofarov;Denis Timurovich org:ITGIS NASU adr:room 615;;Chokolovski blvdr., 13;Kiev;;03151;Ukraine email;internet:denyago@rambler.ru title:system administrator tel;work:80442480755 tel;pager:diyago@jabber.te.ua tel;home:80442434512 tel;cell:80662933760 note:diyago@jabber.te.ua x-mozilla-html:FALSE version:2.1 end:vcard
reply other threads:[~2010-02-18 21:30 UTC|newest] Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions: You may reply publicly to this message via plain-text email using any one of the following methods: * Save the following mbox file, import it into your mail client, and reply-to-all from there: mbox Avoid top-posting and favor interleaved quoting: https://en.wikipedia.org/wiki/Posting_style#Interleaved_style * Reply using the --to, --cc, and --in-reply-to switches of git-send-email(1): git send-email \ --in-reply-to=4B7DB17E.5010802@rambler.ru \ --to=denyago@rambler.ru \ --cc=community@lists.altlinux.org \ /path/to/YOUR_REPLY https://kernel.org/pub/software/scm/git/docs/git-send-email.html * If your mail client supports setting the In-Reply-To header via mailto: links, try the mailto: link
ALT Linux Community general discussions This inbox may be cloned and mirrored by anyone: git clone --mirror http://lore.altlinux.org/community/0 community/git/0.git # If you have public-inbox 1.1+ installed, you may # initialize and index your mirror using the following commands: public-inbox-init -V2 community community/ http://lore.altlinux.org/community \ mandrake-russian@linuxteam.iplabs.ru community@lists.altlinux.org community@lists.altlinux.ru community@lists.altlinux.com public-inbox-index community Example config snippet for mirrors. Newsgroup available over NNTP: nntp://lore.altlinux.org/org.altlinux.lists.community AGPL code for this site: git clone https://public-inbox.org/public-inbox.git