Why still I see the bson_ext warning even though it is installed? #187
Comments
Are you running Genghis under RVM or rbenv? Are you running |
Under RVM. I'm running the app with "genghisapp" standalone. |
When you restart, does it say |
I have kill the process with "genghisapp --kill" then I restarted but not saying like you say. The output is below... |
Okay, so it's actually restarting and not just finding an old abandoned genghis instance that's already running. What OS, OS version, and Ruby version are you running? |
Run this in require 'rubygems'
Gem::Specification.select { |s| s.name == 'mongo' }
Gem::Specification.select { |s| s.name == 'bson_ext' } |
Mac OS X Yosemite Beta 2 |
|
(I added backticks to your comment so I could read the output) |
Ok :) |
Uninstall bson_ext |
gem uninstall bson --version '> 1.10'
gem uninstall bson_ext --version '> 1.10' |
yes you're right. it is ok now. thanks for your help. |
Great. I'll add a better message when the issue is version mismatch. Let's keep this issue open until I get around to that. |
works |
I just had this issue again (ノಠ益ಠ)ノ. As mentioned above, one must have version parity with
what got me in to trouble was this:
...or I'm still derp, but the problem did go away along with the other versions. ʅʕ•ᴥ•ʔʃ |
Ahh, yeah, having bson 2.3.0 is going to cause you issues. It's prolly installed on your system because of Mongoid/Moped? If you use Genghis with bundle exec and a Gemfile, it'll fix that. |
Sorry to dredge up the old issue, but I just got bitten by this. The new message when running genghis is nice, ts told me exactly which version to install. Unfortunately I had already installed bson_ext without specifying the version because the output from the commandline from genghis did not include the version number. It would have been nice if the console output also mentioned the version I needed. ;) |
Help me! C:\Ruby22-x64\lib\ruby\gems\2.2.0\gems\genghisapp-2.3.11>gem list |find "bson" C:\Ruby22-x64\lib\ruby\gems\2.2.0\gems\genghisapp-2.3.11>ruby -v C:\Ruby22-x64\lib\ruby\gems\2.2.0\gems\genghisapp-2.3.11>genghisapp |
@doughsay unfortunately that output is coming from the bson gem and there's not much we can do about it :( maybe detect the issue ourselves and add a second message? |
@guyskk you have the exact same issue. bson and bson_ext gems have to be the exact same versions, and you should only have one of them installed. uninstall all of 'em and start over :) if you just install bson and start up genghis, the UI will show you the exact command to run to get the right version of bson_ext. |
I uninstall all bson, bson_ext, genghisapp, then install genghisapp, C:\Users\kk>gem install genghisapp C:\Users\kk>gem list |find "bson" but ... C:\Users\kk>genghisapp
C:/Ruby22-x64/lib/ruby/site_ruby/2.2.0/rubygems/core_ext/kernel_require.rb:55:in |
uninstall bson 1.9.2 C:\Users\kk>gem uninstall bson --version 1.9.2 You have requested to uninstall the gem: mongo-1.9.2 depends on bson (~> 1.9.2) in addition to the gem? [Yn] y C:\Users\kk>gem list |find "bson" C:\Users\kk>genghisapp |
C:\Users\kk>gem list |find "mongo" C:\Users\kk>gem list |find "bson" C:\Users\kk>gem list |find "genghisapp" **still doesn't wrok ~~~** C:\Users\kk>genghisapp |
Oh! I didn't notice you're on Windows, and I was thrown by the two BSON versions, so I figured that was your issue. Try running with |
error~~~ C:\Users\kk>genghisapp -F C:\Users\kk>gem list | find "bson" |
Yeah, this is likely windows process control related, not BSON related. That's what the |
Keep on going! |
I had these issue on freshly installed genghis. I did following to fix:
If you have newer version of
|
Thanks for your help. |
Restart required
You have recently installed the bson_ext extension. Run genghisapp --kill then restart genghisapp to use it.
I restarted the app but it still shown. How can I avoid that message?
The text was updated successfully, but these errors were encountered: