You'd need to be using bundler for a gemfile to make a difference. >From other recent postings (and I think an Stack Overflow question) the error message seems to be coming from multi_json what might work is to use a slightly oder version of it. Try this from the command line
gem uninstall multi_json gem install multi_json --version 1.7.2 then try running things and see if you no longer get the warning On Tuesday, May 14, 2013 5:49:10 AM UTC-7, GJHmf wrote: > > Hi all, > > I've seen the following issue mentioned in another thread a few days > ago amongst other problems, but the solution for this issue (to me) > didn't seem to be addressed. > > I recently ran a test on my Ruby 1.9.2-p290 environment, and was > presented with the following error when I ran a test script: > > You are using an old or stdlib version of json gem > Please upgrade to the recent version by adding this to your > Gemfile: > > gem 'json', '~> 1.7.7' > > > This issue continued when I created a completely fresh Ruby 1.9.3-p392 > environment, running on Windows XP (don't ask). What confuses me is > that even when I have json 1.7.7 or 1.8.0 installed (gem list is > pasted below), I still get this message when I run my test. It's not > really affecting my test results, but the warning is just rather > annoying to see each time. > > Which Gemfile do I need to add this version into, and where would it > be located? > > > Thanks, > > > Graham > > gem list: > bigdecimal (1.1.0) > childprocess (0.3.9) > commonwatir (4.0.0) > ffi (1.8.1 x86-mingw32) > io-console (0.4.2, 0.3) > json (1.8.0, 1.7.7, 1.5.5) > mini_portile (0.5.0) > minitest (5.0.0, 2.5.1) > multi_json (1.7.3) > rake (10.1.0.beta.3, 10.0.4, 0.9.2.2) > rdoc (4.0.1, 3.9.5) > rubygems-update (2.0.3) > rubyzip (0.9.9) > selenium-webdriver (2.32.1) > watir-webdriver (0.6.4) > websocket (1.0.7) > win32-api (1.4.8 x86-mingw32) > win32-process (0.7.2) > windows-api (0.4.2) > windows-pr (1.2.2) > -- -- Before posting, please read http://watir.com/support. In short: search before you ask, be nice. [email protected] http://groups.google.com/group/watir-general [email protected] --- You received this message because you are subscribed to the Google Groups "Watir General" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/groups/opt_out.
