Comments (8)
Environment
- OS X 10.10 Yosemite
- Homebrew
- rubygem installed via
brew install ruby
from milkode.
milk init
has been executed? (Error is bad when database does not exist...)
$ milk init --default
create : /Users/auser/.milkode/milkode.yaml
create : /Users/auser/.milkode/db/milkode.db created.
from milkode.
Yeah, I had same error:
% milk init --default
/usr/local/Cellar/ruby/2.2.3/lib/ruby/2.2.0/rubygems/core_ext/kernel_require.rb:69:in `require': uninitialized constant Groonga::Posting (NameError)
from /usr/local/Cellar/ruby/2.2.3/lib/ruby/2.2.0/rubygems/core_ext/kernel_require.rb:69:in `require'
from /usr/local/lib/ruby/gems/2.2.0/gems/milkode-1.8.7/lib/milkode/database/groonga_database.rb:9:in `<top (required)>'
from /usr/local/Cellar/ruby/2.2.3/lib/ruby/2.2.0/rubygems/core_ext/kernel_require.rb:69:in `require'
from /usr/local/Cellar/ruby/2.2.3/lib/ruby/2.2.0/rubygems/core_ext/kernel_require.rb:69:in `require'
from /usr/local/lib/ruby/gems/2.2.0/gems/milkode-1.8.7/lib/milkode/cdstk/cdstk.rb:24:in `<top (required)>'
from /usr/local/Cellar/ruby/2.2.3/lib/ruby/2.2.0/rubygems/core_ext/kernel_require.rb:69:in `require'
from /usr/local/Cellar/ruby/2.2.3/lib/ruby/2.2.0/rubygems/core_ext/kernel_require.rb:69:in `require'
from /usr/local/lib/ruby/gems/2.2.0/gems/milkode-1.8.7/lib/milkode/cli.rb:4:in `<top (required)>'
from /usr/local/Cellar/ruby/2.2.3/lib/ruby/2.2.0/rubygems/core_ext/kernel_require.rb:69:in `require'
from /usr/local/Cellar/ruby/2.2.3/lib/ruby/2.2.0/rubygems/core_ext/kernel_require.rb:69:in `require'
from /usr/local/lib/ruby/gems/2.2.0/gems/milkode-1.8.7/bin/milk:7:in `<top (required)>'
from /usr/local/bin/milk:23:in `load'
from /usr/local/bin/milk:23:in `<main>'
from milkode.
Thanks. Probably I think that it becomes to move if you drop a version of Groonga and Rroonga.
It will fix to move even 5.0.7.
from milkode.
It is one of my local environment. (Windows).
$ gem list
milkode (1.8.7, 1.8.5, 1.8.0)
rroonga (5.0.0 x86-mingw32)
from milkode.
I've heard the similar report before. It may have something to do with older rubygems version.
https://osdn.jp/projects/groonga/lists/archive/dev/2015-July/003347.html
from milkode.
Thanks @kenhys !
from milkode.
Thanks, it is fixed.
gem install rubygems-update
update_ruby_gems
from milkode.
Related Issues (20)
- Windowsで1.3を1.4に上書きインストールした場合のエラー HOT 1
- Permission deniedで中断してしまう HOT 5
- 検索結果が多すぎる場合 HOT 8
- 資源の最新化 HOT 7
- milkコマンドの実行 HOT 6
- gmilk で Ctrl+C 押下時のスタックトレースを表示しないで欲しい HOT 3
- データベースの容量が肥大化する HOT 9
- パッケージを完全一致で検索する方法 HOT 2
- milk web -n でthinのArgumentErrorとなり起動できない。 HOT 4
- Windows版でファイルのパスが長い(259文字+null)場合、エラーになる。 HOT 4
- gmilkでの検索結果のファイルのパス HOT 5
- grenfiletest.rb:12:in `match': invalid byte sequence in UTF-8 (ArgumentError) HOT 6
- test HOT 1
- C#のシンタックスハイライト HOT 3
- milk web実行時にSECURITY WARNINGが発生する
- Redmine 2.6.7のリポジトリよりmilkodeを使用して検索を行いたい(エラーとなる) HOT 2
- etc ディレクトリ配下のファイルが登録されない
- Windows環境で特定のディレクトリを探索したときにエラーが発生することがある
- milk web で --db=を指定しても、環境変数HOMEが無いとエラーになる
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from milkode.