Support Ruby 2.2 on Windows #1256

Closed
flavorjones opened this Issue Mar 2, 2015 · 210 comments

Projects

None yet
@flavorjones
Member

Currently (1.6.6.2) we only cross-compile for 1.9.3, 2.0.0 and 2.1.3.

@flavorjones flavorjones modified the milestone: 1.6.7 Mar 2, 2015
@Javix
Javix commented Mar 17, 2015

+1, have the same problem.
I have a load error with the following nokogiri versions installed:

gem list nokogiri
nokogiri (1.6.6.2 x64-mingw32, 1.6.5 x64-mingw32)

Tried to load it irb:

C:\Users\XXXXXX\Documents\projects\ruby_drafts\lib>irb
irb(main):001:0> require 'nokogiri'
LoadError: cannot load such file -- nokogiri/nokogiri
        from C:/Ruby22-x64/lib/ruby/2.2.0/rubygems/core_ext/kernel_require.rb:54:in `require'
        from C:/Ruby22-x64/lib/ruby/2.2.0/rubygems/core_ext/kernel_require.rb:54:in `require'
        from C:/Ruby22-x64/lib/ruby/gems/2.2.0/gems/nokogiri-1.6.6.2-x64-mingw32/lib/nokogiri.rb:29:in `rescue
 in <top (required)>'
        from C:/Ruby22-x64/lib/ruby/gems/2.2.0/gems/nokogiri-1.6.6.2-x64-mingw32/lib/nokogiri.rb:25:in `<top (
required)>'
        from C:/Ruby22-x64/lib/ruby/2.2.0/rubygems/core_ext/kernel_require.rb:128:in `require'
        from C:/Ruby22-x64/lib/ruby/2.2.0/rubygems/core_ext/kernel_require.rb:128:in `rescue in require'
        from C:/Ruby22-x64/lib/ruby/2.2.0/rubygems/core_ext/kernel_require.rb:39:in `require'
        from (irb):1
        from C:/Ruby22-x64/bin/irb:11:in `<main>'
irb(main):002:0>

OS: Windows 7 Pro
Ruby: ruby 2.2.1p85 (2015-02-26 revision 49769) [x64-mingw32]

Any idea ? Thank you

@flavorjones
Member

Hello,

Thanks for asking this question. To be clear, we do not yet support window 2.2, as mentioned on the mailing list and in this issue. "+1"s are not necessary. :)

@Javix
Javix commented Mar 17, 2015

ok, thank you.

@knu knu added the windows label Mar 21, 2015
@richpeck

untitled

I think it works on my system (Win7 x64, Ruby 2.2.1)

@altmind
altmind commented Mar 27, 2015

that is so annoying. any timelines/plans to fix that? maybe there are some way/hack to alleviate the problem?

@marutosi
Contributor

I think Nokogori team should release new version including #1266,
if MinGW Ruby 2.2 supporting takes long time.

@guppygames

@richpeck: I tried your suggestion to compile nokogiri, but I got error iconv.h not found in mkmf.log, did exact setup as your example command. Any thoughts?

@billmurrin

In order for me to get it to work, I had to download the following packages from XMLSoft

  • iconv-1.9.2.win32.zip
  • libxml2-2.7.8.win32.zip
  • libxslt-1.1.26.win32.zip

I extracted the packages and copied the binaries into my Ruby bin directory (So I didn't have to edit my PATH)

After that, I ran the following to install the nokogiri gem successfully

gem install nokogiri -- --use-system-libraries --with-iconv-config=C:/Ruby22/bin --with-xml2-config=C:/Ruby22/bin --with-xslt-config=C:/Ruby22/bin

Lastly, I had to edit the file "\Ruby22\lib\ruby\gems\2.2.0\specifications\nokogiri-1.6.6.2-x86-mingw32.gemspec" and change:

  s.require_paths = ["lib/"]

to

  s.require_paths = ["lib/nokogiri"]

I am new to Rails and this isn't going quite as "easy" as the tutorials, but I guess I have been through worse... :)

UPDATE: This didn't quite work as it seemed that nearly every library was generating an error after I tried to start

rails server
@PositiveAlex

Windows brings quite an installation hell dealing with ported linux tools... Concurrency is bad thing sometimes, good instruments being developed within one environment become non-maintainable when ported to another one... Thank you for all your work, guys,

I'm also waiting for updates by this problem. Thanks.

@amnonkhen

@billmurrin Thanks for the detailed instructions.
I still cannot get nokogiri to run on Windows with Ruby 2.2 (I tried 2.2.2).
When you say

... copied the binaries into my Ruby bin directory ...

do you mean the dll and exe files?

Could you get a simple Ruby file with the following require statement to work?

require 'nokogiri'

Update: I got nokogiri working with Ruby 2.1.6.

@davispuh

I wonder what's preventing Nokogiri to be built for Ruby 2.2 on Windows? What's status, what are blockers?

@amnonkhen

It is indeed strange.
I downgraded to Ruby 2.1 and it worked.
I could live with this downgrade, since all I needed was a scraping task
with Mechanize & Nokogiri.
Amnon

On Tue, May 12, 2015 at 7:10 PM, Dāvis notifications@github.com wrote:

I wonder what's preventing Nokogiri to be built for Ruby 2.2 on Windows?
What's status, what are blockers?


Reply to this email directly or view it on GitHub
#1256 (comment)
.

@marutosi
Contributor

Rails 5 requires Ruby 2.2.2, so we cannot run Rails 5 on Windows without this issue fixing.
rails/rails#19753

@toncid
toncid commented May 29, 2015

+1

Any updates on Ruby v2.2 support for Windows?

@ccoenen
ccoenen commented May 31, 2015

Same here. Is there anything we can do to help?

@knu
Member
knu commented Jun 2, 2015

Considering a cross-build issue has been addressed on the Ruby side and there's a PR for the build environment that works, I think all we need to do is release a new version. /cc @flavorjones

@adrianwtx90

I have the same error and just wanting to pick up Ruby on Rails.

Would it be better for me to remove everything and get 2.0.0 instead?

@ccoenen
ccoenen commented Jun 2, 2015

@adrianwtx90 for now, ruby 2.1 or ruby 2.0 would solve your problem. Other people have reported that nokogiri worked well on windows with ruby 2.1.

If you have the choice of 32 bit vs. 64 bit, i'd recommend 32 bit on windows. There are some gems with problems with 64 bit builds (net-ssh, for example; nokogiri in earlier versions), so you'd likely just run into the next problem.

@Startouf
Startouf commented Jun 7, 2015

This issue should remain open ?

@toncid
toncid commented Jun 8, 2015

I guess so, there isn't a solution for Ruby 2.2 yet.

@miaf
miaf commented Jun 10, 2015

So there is no way for windows developers for Ruby 2.2 ? I am using Windows 8

@toncid
toncid commented Jun 10, 2015

Not that I'm aware of...

@fera2k
fera2k commented Jun 10, 2015

I think the only solution for developers to be up to date with Ruby development is if you use Vagrant =)

@rammaram06

We are having same issue, is this gonna be fixed soon?

@miaf
miaf commented Jun 10, 2015

The previous version Ruby 2.1 is working well. But does not support some features
Depending on your version of ruby, you may need to install ruby rdoc/ri data:

<= 1.8.6 : unsupported
= 1.8.7 : gem install rdoc-data; rdoc-data --install
= 1.9.1 : gem install rdoc-data; rdoc-data --install

= 1.9.2 : nothing to do! Yay!

@toncid
toncid commented Jun 11, 2015

@knu has already mentioned that there are possible fixes in place. Thoughts?

@flavorjones
Member

The only blocker is finding the time to build the release, which is a bit time-consuming. I hope to do this in the next day or so.

@RailsCod3rFuture

I can't wait until you release the next build for windows ruby 2.2 - My rails console is crying without it.

@jmthomas

For you rails Windows devs keep in mind that sqlite also doesn't yet support Ruby 2.2 but does support 2.1: https://groups.google.com/forum/#!topic/sqlite3-ruby/cNqvONJmocU. So be prepared to get another DB running as well.

@vitidev
vitidev commented Jun 16, 2015

jmthomas
c:>ruby -v
ruby 2.2.2p95 (2015-04-13 revision 50295) [x64-mingw32]
c:>irb
irb(main):001:0> require 'sqlite3'
=> true

@richww
richww commented Jun 17, 2015

Any update on potential windows 2.2 build?

@larskanis
Contributor

@richww If you want to help, you could try this: #1302

@pabloh
pabloh commented Jun 18, 2015

+1, I really need this.

@bboylilshaw

when are you gonna release 1.6.7? I really need this fix.

@kymoeller

+1, need this as well

@larskanis
Contributor

You can build your own nokogiri gems for Rubyinstaller x86/x64 on Windows-x64 by using #1302 as long as 1.6.7 isn't released. Install boot2docker for Windows and do this:

  git clone https://github.com/larskanis/nokogiri
  cd nokogiri
  git checkout make-use-of-rake-compiler-dock
  bundle
  rake gem:windows

It then takes a while to download and build everything, but in the end there should be some gems in the pkg directory for install.

Please leave a comment, if it works for you!

@lulzmachine

+1

@virvit
virvit commented Jun 24, 2015

@larskanis It can't find docker even it was installed and running :(

WARNING: cross compilation not available: No MinGW tools or unknown setup platform?
rake-compiler-dock bash -c "bundle && rake cross native gem MAKE='nice make -jnproc' RUBY_CC_VERSION=1.9.3:2.0.0:2.1.6:2.2.2"
Get http://127.0.0.1:2375/v1.19/version: dial tcp 127.0.0.1:2375: ConnectEx tcp: No connection could be made because the target machine actively refuse
d it.. Are you trying to connect to a TLS-enabled daemon without TLS?
rake aborted!
RakeCompilerDock::DockerIsNotAvailable: Docker is not available
C:/virvit/2/nokogiri/Rakefile:358:in `block in <top (required)>'
Tasks: TOP => gem:windows
(See full trace by running task with --trace)

Docker is not available. Please download and install boot2docker:
https://github.com/boot2docker/windows-installer/releases

Then execute 'boot2docker start' and follow the instuctions

@larskanis
Contributor
@SylvainHunault

Hi larskanis,

I have an error similar to virvit's and my variables are set correctly when I do "boot2docker".

My error :
WARNING: cross compilation not available: No MinGW tools or unknown setup platform?
rake-compiler-dock bash -c "bundle && rake cross native gem MAKE='nice make -j'nproc' RUBY_CC_VERSION=1.9.3:2.0.0:2.1.6:2.2.2"
An error occurred trying to connect : Get https://192.168.59.103:2376/v1.19/version: x509: certificate is valid for 127.0.0.1, 10.0.2.15, not 192.168.103
rake aborted !
RakeCompilerDock::DockerIsNotAvailable: Docker is not available
C:/wwww/2/nokogiri/Rakefile:358:in `block in ' <top >'
Tasks: TOP => gem:windows
(See full trace by running task with --trace)

Docker is not available. Please download and install boot2docker:
https://github.com/boot2docker/windows-installer/releases

Then execute 'boot2docker start' and follow the instuctions

As far as I understand, the IP is not correct. But I do not know where I can change it. However the instructions of boot2docker ask me to set DOCKER_HOST=tcp://192.168.59.103:2376
If I change 192.168.59.103:2376 by 127.0.0.1:2376, I obtain exactly the same message as virvit.

Do you have any idea of what is happening ?

@virvit
virvit commented Jun 24, 2015

I've found that you need to put 192.168.59.103 boot2docker into hosts file + set ENV variables. Then it works.

@SylvainHunault

It do not undertand which hosts file you are refering to.

@lmayorga1980

👍

@virvit
virvit commented Jun 25, 2015

windows/system32/drivers/etc/hosts

@SylvainHunault

The commands of larskanis finally worked. I needed to change the require path for nokogiri specification to lib/nokogiri.

However, I am still stuck with rails, getting loofah cannot load such file -- nokogiri.

Thanks to all ^^

@paulgrant999

deleted my comments as it is quite likely it is a virtual box issue. ;) VERY irritating way to discover a known problem. Got the so's and the gem; gem installed with no issues. Resolved all problems and rails is loading. New problems include bcrypt && sqlite3 (both of which have the same issue i.e. require cross compilation); sqlite3 you can dodge by using different db, bcrypt? looks like a cross-compile will be necessary...

@lulzmachine

If one of you guys manage to make a build, do you think you could help @flavorjones prepare a release through a pull request (if that even works)? You would have my eternal gratitude ^^,

@vladimmi

The only blocker is finding the time to build the release, which is a bit time-consuming. I hope to do this in the next day or so.

14 days ago... Usual thing in open-source but it's sad anyway.

@paulgrant999

this is what I got in /pkg on cross-compilation, which seems to do the trick.

give this a shot. let me know if it works... luck

https://github.com/paulgrant999/ruby-2.2.2-nokogiri-1.6.6.2-x86-x64-mingw32.gem

@nonsequitur

Here's a Vagrantfile for building the gem.

Usage:

mkdir build-nokogiri; cd build-nokogiri
wget https://gist.githubusercontent.com/nonsequitur/60cd7db1cbd61a74b62d/raw/d942a98dea7f22f3e34f94a3b2006b1b3792d0bd/Vagrantfile.rb
vagrant up # This takes a while
gem install --local nokogiri-1.6.6.2-x86-mingw32.gem # Pick your preferred version
vagrant destroy -f
@fera2k
fera2k commented Jul 1, 2015

@paulgrant999 , I've downloaded your gem to give it a try, and it seemed to work all right. Thanks. But now the problem is with bcrypt gem.
Facing the same error like described here:
codahale/bcrypt-ruby#102 (comment)

@daniel-rikowski

@paulgrant999 Thank you very much! With your files I can finally run a Rails 5 application with Ruby 2.2 on Windows. (with PostgreSQL)

@fera2k Until this is fixed, you can compile the .so file yourself: Just switch into the ext/mri directory of the gem path, call ruby extconf.rb and then make (You need DevKit of course) Then you can copy the newly compiled bcrypt_ext.so into lib\2.2.

@fera2k
fera2k commented Jul 1, 2015

@daniel-rikowski I've done as you said, and now its working beautifully! Thank you so much!

@toncid
toncid commented Jul 1, 2015

So, the gem can be updated with Windows support on Ruby 2.2? :)

@larskanis larskanis referenced this issue in ruby-concurrency/concurrent-ruby Jul 7, 2015
Merged

Add rake-compiler-dock for building Windows binary gems. #359

@jjgh
jjgh commented Jul 16, 2015

what @toncid said :) ...
it's a pity, and it does bad to Ruby, that on Windows it's still not possible to effectively use Ruby 2.2 ...

I am thinking of the many new devs that are just starting with Ruby, maybe going with latest RubyInstaller (2.2), and about the fact that just about when they might start having fun they are trapped in a maze so intricated that could easily make them throw everything away...

I do not have the skills to fix this issue, all I can do is simply trying to put this issue a bit more under the spotlight and to stress how important this could be..

Thanks, hopefully there is a chance this will trigger the right reaction into the right person! :)

Going back to 2.1 now...

@marutosi
Contributor

What is status of this issue?
#1310 passes tests on AppVeyor.

@fsauter
fsauter commented Jul 16, 2015

Thanks @paulgrant999. Your version is working for me. Here is what I did for Win7_x64bit_ (should work with Win7_x32bit_ the same way - just make sure to download the x86 versions on the corresponding GitHub repository pages):

  1. Download @paulgrant999 's version: nokogiri-1.6.6.2-x64-mingw32.gem
  2. gem uninstall nokogiri
  3. gem install --local C:\Users\$user$\Downloads\nokogiri-1.6.6.2-x64-mingw32.gem

If you have problems using sqlite3 ("cannot load such file...") do the following:

  1. Download @larskanis 's version: sqlite3-1.3.11.pr159-x64-mingw32.gem
  2. gem uninstall sqlite3
  3. gem install --local C:\Users\$user$\Downloads\sqlite3-1.3.11.pr159-x64-mingw32.gem
  4. To be sure that this version is used replace gem 'sqlite3' with gem 'sqlite3', '1.3.11.pr159' in your Gemfile and run bundle install
@Javix
Javix commented Jul 16, 2015

Worked for me as well (Windows 7 Pro). Nevertheless, (sure it is an sqlite issue this time), after creating a simple rails project, sqlite3 fails:

C:/Ruby22-x64/lib/ruby/gems/2.2.0/gems/sqlite3-1.3.10-x64-mingw32/lib/sqlite3.rb:6:in `require': cannot load such file -- sqlite3/
sqlite3_native (LoadError)
        from C:/Ruby22-x64/lib/ruby/gems/2.2.0/gems/sqlite3-1.3.10-x64-mingw32/lib/sqlite3.rb:6:in `rescue in <top (required)>'
        from C:/Ruby22-x64/lib/ruby/gems/2.2.0/gems/sqlite3-1.3.10-x64-mingw32/lib/sqlite3.rb:2:in `<top (required)>'
        from C:/Ruby22-x64/lib/ruby/gems/2.2.0/gems/bundler-1.10.5/lib/bundler/runtime.rb:76:in `require'
        from C:/Ruby22-x64/lib/ruby/gems/2.2.0/gems/bundler-1.10.5/lib/bundler/runtime.rb:76:in `block (2 levels) in require'
        from C:/Ruby22-x64/lib/ruby/gems/2.2.0/gems/bundler-1.10.5/lib/bundler/runtime.rb:72:in `each'
        from C:/Ruby22-x64/lib/ruby/gems/2.2.0/gems/bundler-1.10.5/lib/bundler/runtime.rb:72:in `block in require'
        from C:/Ruby22-x64/lib/ruby/gems/2.2.0/gems/bundler-1.10.5/lib/bundler/runtime.rb:61:in `each'
        from C:/Ruby22-x64/lib/ruby/gems/2.2.0/gems/bundler-1.10.5/lib/bundler/runtime.rb:61:in `require'
        from C:/Ruby22-x64/lib/ruby/gems/2.2.0/gems/bundler-1.10.5/lib/bundler.rb:134:in `require'
        from C:/Users/c59scam/Documents/soft/draft_rails/config/application.rb:16:in `<top (required)>'
        from C:/Ruby22-x64/lib/ruby/gems/2.2.0/gems/railties-4.2.3/lib/rails/commands/commands_tasks.rb:78:in `require'
        from C:/Ruby22-x64/lib/ruby/gems/2.2.0/gems/railties-4.2.3/lib/rails/commands/commands_tasks.rb:78:in `block in server'
        from C:/Ruby22-x64/lib/ruby/gems/2.2.0/gems/railties-4.2.3/lib/rails/commands/commands_tasks.rb:75:in `tap'
        from C:/Ruby22-x64/lib/ruby/gems/2.2.0/gems/railties-4.2.3/lib/rails/commands/commands_tasks.rb:75:in `server'
        from C:/Ruby22-x64/lib/ruby/gems/2.2.0/gems/railties-4.2.3/lib/rails/commands/commands_tasks.rb:39:in `run_command!'
        from C:/Ruby22-x64/lib/ruby/gems/2.2.0/gems/railties-4.2.3/lib/rails/commands.rb:17:in `<top (required)>'
        from bin/rails:4:in `require'
        from bin/rails:4:in `<main>'

despite the gem sqlite3 is installed:

C:\Users\c59scam\Documents\soft\draft_rails>rails s
C:/Ruby22-x64/lib/ruby/gems/2.2.0/gems/sqlite3-1.3.10-x64-mingw32/lib/sqlite3.rb:6:in `require': cannot load such file -- sqlite3/
sqlite3_native (LoadError)
        from C:/Ruby22-x64/lib/ruby/gems/2.2.0/gems/sqlite3-1.3.10-x64-mingw32/lib/sqlite3.rb:6:in `rescue in <top (required)>'
        from C:/Ruby22-x64/lib/ruby/gems/2.2.0/gems/sqlite3-1.3.10-x64-mingw32/lib/sqlite3.rb:2:in `<top (required)>'
        from C:/Ruby22-x64/lib/ruby/gems/2.2.0/gems/bundler-1.10.5/lib/bundler/runtime.rb:76:in `require'
        from C:/Ruby22-x64/lib/ruby/gems/2.2.0/gems/bundler-1.10.5/lib/bundler/runtime.rb:76:in `block (2 levels) in require'
        from C:/Ruby22-x64/lib/ruby/gems/2.2.0/gems/bundler-1.10.5/lib/bundler/runtime.rb:72:in `each'
        from C:/Ruby22-x64/lib/ruby/gems/2.2.0/gems/bundler-1.10.5/lib/bundler/runtime.rb:72:in `block in require'
        from C:/Ruby22-x64/lib/ruby/gems/2.2.0/gems/bundler-1.10.5/lib/bundler/runtime.rb:61:in `each'
        from C:/Ruby22-x64/lib/ruby/gems/2.2.0/gems/bundler-1.10.5/lib/bundler/runtime.rb:61:in `require'
        from C:/Ruby22-x64/lib/ruby/gems/2.2.0/gems/bundler-1.10.5/lib/bundler.rb:134:in `require'
        from C:/Users/c59scam/Documents/soft/draft_rails/config/application.rb:16:in `<top (required)>'
        from C:/Ruby22-x64/lib/ruby/gems/2.2.0/gems/railties-4.2.3/lib/rails/commands/commands_tasks.rb:78:in `require'
        from C:/Ruby22-x64/lib/ruby/gems/2.2.0/gems/railties-4.2.3/lib/rails/commands/commands_tasks.rb:78:in `block in server'
        from C:/Ruby22-x64/lib/ruby/gems/2.2.0/gems/railties-4.2.3/lib/rails/commands/commands_tasks.rb:75:in `tap'
        from C:/Ruby22-x64/lib/ruby/gems/2.2.0/gems/railties-4.2.3/lib/rails/commands/commands_tasks.rb:75:in `server'
        from C:/Ruby22-x64/lib/ruby/gems/2.2.0/gems/railties-4.2.3/lib/rails/commands/commands_tasks.rb:39:in `run_command!'
        from C:/Ruby22-x64/lib/ruby/gems/2.2.0/gems/railties-4.2.3/lib/rails/commands.rb:17:in `<top (required)>'
        from bin/rails:4:in `require'
        from bin/rails:4:in `<main>'
@dmcnaughtond

@fsauter, thanks for making installation crystal clear, and thanks @paulgrant999 for putting this together.

@dmcnaughtond

spoke too soon. the gem downloads fine, but I try to start the server and I get the "cannot load such file" error.

@Javix
Javix commented Jul 17, 2015

@larskanis: worked like a charm after downloading the specified sqlite3 gem version 👍 and changing it in Gemfile.

@toncid
toncid commented Jul 17, 2015

All right, great!

So, what is the of the gem so that gem install nokogiri works on Windows with Ruby 2.2.x?
If not like that, can you please summarize how to install it on Windows?

Thanks!

@Shadowofsorrow

@larskanis thank you so much it works! now rails is up and running...thanks...

@douglas1

@fsauter, thanks for making installation crystal clear, and thanks @paulgrant999 for putting this together.

Ditto. I hope the gem maintainer gets time to fix the official gem.

@jianchen

@Javix, what did you change in your Gemfile to make it use the new version of sqlite3, mine was default to sqlite3 3.1.10, after I install it from https://github.com/larskanis/sqlite3-ruby/releases/tag/1.3.11-pr159, I got 2 different versions of sqlite3, but my server is still using the old 3.1.10

@jjgh
jjgh commented Jul 25, 2015

I used

gem 'sqlite3', '1.3.11.pr159'

and it worked :)

@jianchen

@jjgh, it errored out for me

ERROR: While executing gem ... (Gem::CommandLineError)
Unknown command sqlite3,

@jianchen

@jjgh , I figured it out, what you said is actually a change in the gemfile of project. Sorry, I am quite new to Ruby.

@kataphraktoi

@paulgrant999 @fsauter , thanks for your tips guys! worked for me

@Javix
Javix commented Jul 27, 2015

@jianchen: I've just updated the used sqlite3 gem version to the newest one in the Gmefile of the Rails application:

#before
gem 'sqlite3'
#after
gem 'sqlite3', '1.3.11.pr159'

and run bundle install.
Then just run as usual rails s to check if the app starts without problems.

@jjgh
jjgh commented Jul 27, 2015

@jianchen glad you did it. I wish you a good stay in the Ruby ecosystem. I hope the Windows support will get less bumpy with time :) Anyway for when you just starting with learning the basics of the language and simple Rails projects it should be just ok. I hope you enjoy it!

@Gionnix
Gionnix commented Jul 27, 2015

Hey please help me.I tried the solution of @paulgrant999 but now my console say me :ERROR: While executing gem ... (Gem::Package::FormatError)
package metadata is missing in ruby-2.2.2-nokogiri-1.6.6.2-x86-x64-mingw32.g
em
What can i do?

@Javix
Javix commented Jul 28, 2015

Try to follow the steps described by @fsauter before

@Gionnix
Gionnix commented Jul 28, 2015

Can you explain me this step?

@Javix
Javix commented Jul 28, 2015

Just reperat them one by one:

Download @paulgrant999 's version: nokogiri-1.6.6.2-x64-mingw32.gem
gem uninstall nokogiri
gem install --local C:\Users$user$\Downloads\nokogiri-1.6.6.2-x64-mingw32.gem
If you have problems using sqlite3 ("cannot load such file...") do the following:

To fix sqlite3 issue:

Download @larskanis 's version: sqlite3-1.3.11.pr159-x64-mingw32.gem
gem uninstall sqlite3
gem install --local C:\Users$user$\Downloads\sqlite3-1.3.11.pr159-x64-mingw32.gem
To be sure that this version is used replace gem 'sqlite3' with gem 'sqlite3', '1.3.11.pr159' in your Gemfile and run bundle install

Sure, you should adapt the specidied gem path to your PC (place where you saved the downloaded gems).

@Gionnix
Gionnix commented Jul 28, 2015

Already done,but it gave me the same error

@Javix
Javix commented Jul 28, 2015

Let the folks correct me if I'm wrong, but It seems like either your downloaded gem was corrupted or you are behind a proxy. If it works for lots of us, I don't see a reason why it should not work for you.

@Gionnix
Gionnix commented Jul 28, 2015

No i'm not using a proxy.I'll try to re-dwnload the nokogiri gem.

@Gionnix
Gionnix commented Jul 28, 2015

Ok now the installation is succesfully done.
But it give me Another error

C:/Ruby22/lib/ruby/2.2.0/rubygems/dependency.rb:315:in to_specs': Could not fin d 'nokogiri' (>= 1.5.9) - did find: [nokogiri-1.6.6.2-x64-mingw32] (Gem::LoadErr or) Checked in 'GEM_PATH=C:/Users/Giovanni Giordano/.gem/ruby/2.2.0;C:/Ruby22/lib/ru by/gems/2.2.0', executegem env` for more information

Tell me what i've to do please

@Javix
Javix commented Jul 28, 2015
  1. Display your nokogiri gem:
gem list nokogiri

You should get something like this:

C:\Users\XXXXX>gem list nokogiri

*** LOCAL GEMS ***

nokogiri (1.6.6.2 x64-mingw32)
  1. run irb in your Windows console (terminal) and require nokogiri as follows:
C:\Users\XXXXX>irb
irb(main):001:0> require 'nokogiri'
=> true
irb(main):002:0>

If not, post your results here.

@Gionnix
Gionnix commented Jul 28, 2015

1 step it's ok,2 step log me this

LoadError: cannot load such file -- nokogiri/nokogiri
from C:/Ruby22/lib/ruby/2.2.0/rubygems/core_ext/kernel_require.rb:54:in
require' from C:/Ruby22/lib/ruby/2.2.0/rubygems/core_ext/kernel_require.rb:54:inrequire'
from C:/Ruby22/lib/ruby/gems/2.2.0/gems/nokogiri-1.6.6.2-x64-mingw32/lib
/nokogiri.rb:29:in rescue in <top (required)>' from C:/Ruby22/lib/ruby/gems/2.2.0/gems/nokogiri-1.6.6.2-x64-mingw32/lib /nokogiri.rb:25:in<top (required)>'
from C:/Ruby22/lib/ruby/2.2.0/rubygems/core_ext/kernel_require.rb:128:in
require' from C:/Ruby22/lib/ruby/2.2.0/rubygems/core_ext/kernel_require.rb:128:inrescue in require'
from C:/Ruby22/lib/ruby/2.2.0/rubygems/core_ext/kernel_require.rb:39:in
require' from (irb):1 from C:/Ruby22/bin/irb:11:in

'

@Javix
Javix commented Jul 28, 2015

Do you have Development Kit installed ?

@zetetic
zetetic commented Sep 8, 2015

@Javix I believe you need to specify the exact version when using "pre-release" gems. Try adding gem 'nokogiri', '1.6.7.rc3' to the Gemfile for your Rails project, and then bundle install.

@Javix
Javix commented Sep 8, 2015

@zetetic

  1. FYI: The generated Rails app's Gemfile does not contain nokogiri gem declaration.
  2. As you could see from my previous comment describing internal gems dependencies, every gem has its own ones. And you can't force any of them to use the version you need (if you don't modify the gem source code locally, of course). So declaring a nokogiri version in the Gemfile is not a solution.
@zetetic
zetetic commented Sep 8, 2015

@Javix normally of course, the Gemfile should not include a dependency for Nokogiri. But 1.6.7.rc3 is a "pre-release" version. AFAIK adding it to the Gemfile is the only way to get Bundler to install it. Or you could wait until the "official" version is released. Understand that the version being loaded is determined by Gemfile.lock. If it specifies 1.6.6.2, that's what you get, until you update the Gemfile or run bundle update.

@Javix
Javix commented Sep 9, 2015

Fixed it as follows:

  • add gem 'nokogiri', '1.6.7.rc3'to your rails app Gemfile
  • download sqlite pre version 1.3.11.pr159 and install it locally (see described earlier steps)
  • modifiy the declared sqlite gem as follows gem 'sqlite3', '1.3.11.pr159' in your Gemfile
  • delete Gemfile.lock
  • cd to your rails app and run bundle install
  • hit rails sand navigate to localhost:3000 in your browser.
  • enjoy :)
@cbliard cbliard pushed a commit to hiptest/hiptest-publisher that referenced this issue Sep 11, 2015
Christophe Bliard Now compatible with Ruby 2.2 on Windows
Nokogiri 1.6.6.2 is not compatible with Ruby 2.2 on Windows. See this
thread: sparklemotion/nokogiri#1256

The 1.6.7 release candidate works with Windows, so use it instead.
e147658
@flavorjones
Member

Just a note here about the delay in shipping a nokogiri 1.6.7 final -- @larskanis and I have been working on what do to about newly-discovered incompatibilities between the latest prerelease of mini_portile and previous versions.

The TL;DR is that we're going to cut at least one more nokogiri release candidate, to bump the dependency on mini_portile. This should happen today.

@DSAMPAT
DSAMPAT commented Sep 17, 2015

Hi All, 1.6.7.rc3 works

gem uninstall nokogiri
gem install nokogiri --pre
edit your gemlock file to match as nokogiri (1.6.7.rc3-x86-mingw32)
rails s

image

@tomwebbi
tomwebbi commented Oct 2, 2015

why i am not able to start rails server after updating nokogiri?
C:\row\dev\myblog>gem list nokogiri

*** LOCAL GEMS ***

nokogiri (1.6.7.rc3 x86-mingw32, 1.6.6.2 x86-mingw32)

C:\row\dev\myblog>
C:\row\dev\myblog>rails s
C:/row/Ruby22/lib/ruby/gems/2.2.0/gems/nokogiri-1.6.6.2-x86-mingw32/lib/nokogiri.rb:29:in require': cannot load such file -- nokogiri/nokogiri (LoadError) from C:/row/Ruby22/lib/ruby/gems/2.2.0/gems/nokogiri-1.6.6.2-x86-mingw32/lib/nokogiri.rb:29: inrescue in <top (required)>'
from C:/row/Ruby22/lib/ruby/gems/2.2.0/gems/nokogiri-1.6.6.2-x86-mingw32/lib/nokogiri.rb:25:
in <top (required)>' from C:/row/Ruby22/lib/ruby/gems/2.2.0/gems/loofah-2.0.3/lib/loofah.rb:3:inrequire'
from C:/row/Ruby22/lib/ruby/gems/2.2.0/gems/loofah-2.0.3/lib/loofah.rb:3:in `<top (required)

'
from C:/row/Ruby22/lib/ruby/gems/2.2.0/gems/rails-html-sanitizer-1.0.2/lib/rails-html-saniti
zer.rb:2:in require' from C:/row/Ruby22/lib/ruby/gems/2.2.0/gems/rails-html-sanitizer-1.0.2/lib/rails-html-saniti zer.rb:2:in<top (required)>'
from C:/row/Ruby22/lib/ruby/gems/2.2.0/gems/actionview-4.2.4/lib/action_view/helpers/sanitiz
e_helper.rb:3:in require' from C:/row/Ruby22/lib/ruby/gems/2.2.0/gems/actionview-4.2.4/lib/action_view/helpers/sanitiz e_helper.rb:3:in<top (required)>'
from C:/row/Ruby22/lib/ruby/gems/2.2.0/gems/actionview-4.2.4/lib/action_view/helpers/text_he
lper.rb:32:in <module:TextHelper>' from C:/row/Ruby22/lib/ruby/gems/2.2.0/gems/actionview-4.2.4/lib/action_view/helpers/text_he lper.rb:29:inmodule:Helpers'
from C:/row/Ruby22/lib/ruby/gems/2.2.0/gems/actionview-4.2.4/lib/action_view/helpers/text_he
lper.rb:6:in <module:ActionView>' from C:/row/Ruby22/lib/ruby/gems/2.2.0/gems/actionview-4.2.4/lib/action_view/helpers/text_he lper.rb:4:in<top (required)>'
from C:/row/Ruby22/lib/ruby/gems/2.2.0/gems/actionview-4.2.4/lib/action_view/helpers/form_ta
g_helper.rb:18:in <module:FormTagHelper>' from C:/row/Ruby22/lib/ruby/gems/2.2.0/gems/actionview-4.2.4/lib/action_view/helpers/form_ta g_helper.rb:14:inmodule:Helpers'
from C:/row/Ruby22/lib/ruby/gems/2.2.0/gems/actionview-4.2.4/lib/action_view/helpers/form_ta
g_helper.rb:8:in <module:ActionView>' from C:/row/Ruby22/lib/ruby/gems/2.2.0/gems/actionview-4.2.4/lib/action_view/helpers/form_ta g_helper.rb:6:in<top (required)>'
from C:/row/Ruby22/lib/ruby/gems/2.2.0/gems/actionview-4.2.4/lib/action_view/helpers/form_he
lper.rb:4:in require' from C:/row/Ruby22/lib/ruby/gems/2.2.0/gems/actionview-4.2.4/lib/action_view/helpers/form_he lper.rb:4:in<top (required)>'
from C:/row/Ruby22/lib/ruby/gems/2.2.0/gems/actionview-4.2.4/lib/action_view/helpers.rb:50:i
n <module:Helpers>' from C:/row/Ruby22/lib/ruby/gems/2.2.0/gems/actionview-4.2.4/lib/action_view/helpers.rb:4:inmodule:ActionView'
from C:/row/Ruby22/lib/ruby/gems/2.2.0/gems/actionview-4.2.4/lib/action_view/helpers.rb:3:in
<top (required)>' from C:/row/Ruby22/lib/ruby/gems/2.2.0/gems/sprockets-rails-2.3.3/lib/sprockets/rails/legacy _asset_tag_helper.rb:7:inmodule:LegacyAssetTagHelper'
from C:/row/Ruby22/lib/ruby/gems/2.2.0/gems/sprockets-rails-2.3.3/lib/sprockets/rails/legacy
_asset_tag_helper.rb:6:in <module:Rails>' from C:/row/Ruby22/lib/ruby/gems/2.2.0/gems/sprockets-rails-2.3.3/lib/sprockets/rails/legacy _asset_tag_helper.rb:4:inmodule:Sprockets'
from C:/row/Ruby22/lib/ruby/gems/2.2.0/gems/sprockets-rails-2.3.3/lib/sprockets/rails/legacy
_asset_tag_helper.rb:3:in <top (required)>' from C:/row/Ruby22/lib/ruby/gems/2.2.0/gems/sprockets-rails-2.3.3/lib/sprockets/rails/helper .rb:45:inrequire'
from C:/row/Ruby22/lib/ruby/gems/2.2.0/gems/sprockets-rails-2.3.3/lib/sprockets/rails/helper
.rb:45:in <module:Helper>' from C:/row/Ruby22/lib/ruby/gems/2.2.0/gems/sprockets-rails-2.3.3/lib/sprockets/rails/helper .rb:7:inmodule:Rails'
from C:/row/Ruby22/lib/ruby/gems/2.2.0/gems/sprockets-rails-2.3.3/lib/sprockets/rails/helper
.rb:6:in <module:Sprockets>' from C:/row/Ruby22/lib/ruby/gems/2.2.0/gems/sprockets-rails-2.3.3/lib/sprockets/rails/helper .rb:5:in<top (required)>'
from C:/row/Ruby22/lib/ruby/gems/2.2.0/gems/sprockets-rails-2.3.3/lib/sprockets/railtie.rb:6
:in require' from C:/row/Ruby22/lib/ruby/gems/2.2.0/gems/sprockets-rails-2.3.3/lib/sprockets/railtie.rb:6 :in<top (required)>'
from C:/row/Ruby22/lib/ruby/gems/2.2.0/gems/sass-rails-5.0.4/lib/sass/rails/railtie.rb:3:in
require' from C:/row/Ruby22/lib/ruby/gems/2.2.0/gems/sass-rails-5.0.4/lib/sass/rails/railtie.rb:3:in<top (required)>'
from C:/row/Ruby22/lib/ruby/gems/2.2.0/gems/sass-rails-5.0.4/lib/sass/rails.rb:11:in requir e' from C:/row/Ruby22/lib/ruby/gems/2.2.0/gems/sass-rails-5.0.4/lib/sass/rails.rb:11:in<top (
required)>'
from C:/row/Ruby22/lib/ruby/gems/2.2.0/gems/sass-rails-5.0.4/lib/sass-rails.rb:1:in require ' from C:/row/Ruby22/lib/ruby/gems/2.2.0/gems/sass-rails-5.0.4/lib/sass-rails.rb:1:in<top (r
equired)>'
from C:/row/Ruby22/lib/ruby/gems/2.2.0/gems/bundler-1.10.6/lib/bundler/runtime.rb:76:in req uire' from C:/row/Ruby22/lib/ruby/gems/2.2.0/gems/bundler-1.10.6/lib/bundler/runtime.rb:76:inblo
ck (2 levels) in require'
from C:/row/Ruby22/lib/ruby/gems/2.2.0/gems/bundler-1.10.6/lib/bundler/runtime.rb:72:in eac h' from C:/row/Ruby22/lib/ruby/gems/2.2.0/gems/bundler-1.10.6/lib/bundler/runtime.rb:72:inblo
ck in require'
from C:/row/Ruby22/lib/ruby/gems/2.2.0/gems/bundler-1.10.6/lib/bundler/runtime.rb:61:in eac h' from C:/row/Ruby22/lib/ruby/gems/2.2.0/gems/bundler-1.10.6/lib/bundler/runtime.rb:61:inreq
uire'
from C:/row/Ruby22/lib/ruby/gems/2.2.0/gems/bundler-1.10.6/lib/bundler.rb:134:in require' from C:/row/dev/myblog/config/application.rb:7:in<top (required)>'
from C:/row/Ruby22/lib/ruby/gems/2.2.0/gems/railties-4.2.4/lib/rails/commands/commands_tasks
.rb:78:in require' from C:/row/Ruby22/lib/ruby/gems/2.2.0/gems/railties-4.2.4/lib/rails/commands/commands_tasks .rb:78:inblock in server'
from C:/row/Ruby22/lib/ruby/gems/2.2.0/gems/railties-4.2.4/lib/rails/commands/commands_tasks
.rb:75:in tap' from C:/row/Ruby22/lib/ruby/gems/2.2.0/gems/railties-4.2.4/lib/rails/commands/commands_tasks .rb:75:inserver'
from C:/row/Ruby22/lib/ruby/gems/2.2.0/gems/railties-4.2.4/lib/rails/commands/commands_tasks
.rb:39:in run_command!' from C:/row/Ruby22/lib/ruby/gems/2.2.0/gems/railties-4.2.4/lib/rails/commands.rb:17:in<top
(required)>'
from bin/rails:4:in require' from bin/rails:4:in

'

C:\row\dev\myblog>

@Javix
Javix commented Oct 2, 2015

@tomwebbi : see my previous comment explaining how to fix that.

@tomwebbi
tomwebbi commented Oct 2, 2015

@Javix i followed your steps but not able to start the server

@Javix
Javix commented Oct 2, 2015

@tomwebbi the error stacktace points it clearly that your Rails app uses 1.6.6.2 version:

C:/row/Ruby22/lib/ruby/gems/2.2.0/gems/nokogiri-1.6.6.2-x86-mingw32/lib/nokogiri.rb:29

Try to add the latest (RC) nokogiri version as follows:

  • add gem 'nokogiri', '1.6.7.rc3'to your rails app Gemfile
  • download sqlite pre version 1.3.11.pr159 and install it locally (see described earlier steps)
  • modifiy the declared sqlite gem as follows gem 'sqlite3', '1.3.11.pr159' in your Gemfile
  • delete Gemfile.lock
  • cd to your rails app and run bundle install
  • run rails s and navigate to localhost:3000
@tomwebbi
tomwebbi commented Oct 2, 2015

when i run bundle install it automatically downloads nokogiri 1.6.6 version again

@Javix
Javix commented Oct 2, 2015

Nope, if you add gem 'nokogiri', '1.6.7.rc3'to your Gemfile, remove Gemfile.lock firil and run bundle install it will install the indicated version - 1.6.7rc3.

@DSAMPAT
DSAMPAT commented Oct 2, 2015

Do a Bundle Update after you do a Bundle install

or try

gem uninstall nokogiri
gem install nokogiri --pre
edit your gemlock file to match as nokogiri (1.6.7.rc3-x86-mingw32)
rails s

@tomwebbi
tomwebbi commented Oct 2, 2015

i tried but though it installs 1.6.6 again evry time i install bundle

@DSAMPAT
DSAMPAT commented Oct 2, 2015

Edit your gemfile with the following and then do a bundle install. It seems you still have the 1.6.6 installed.

gem "nokogiri", "=1.6.7.rc3"

If it still fails, make sure the uninstall is sucessful

gem uninstall nokogiri

@tomwebbi
tomwebbi commented Oct 2, 2015

i updated bundle also but it downloads the 1.6.6 nokogiri and editing gemfile also prompts for removing and installing bundle again

@tomwebbi
tomwebbi commented Oct 2, 2015

yeah uninstall gets successful

@DSAMPAT
DSAMPAT commented Oct 2, 2015

edit your gemfile and add this

gem 'nokogiri', '1.6.7.rc3', :platforms => [:mswin, :mingw]

@tomwebbi
tomwebbi commented Oct 2, 2015

@DSAMPAT which rails and ruby version you using

@DSAMPAT
DSAMPAT commented Oct 2, 2015

@tomwebbi I am using ruby "2.2.3" and rails "4.2.3" with nokogiri "1.6.7.rc3"

Maybe your issue is not related to this thread. Look on stackoverflow for your errors
http://stackoverflow.com/search?q=nokogiri

@Javix
Javix commented Oct 2, 2015

It is a mysql2 gem issue and nothing to do with nokogiri. Replace it in your Gemfile with the default one (gem 'sqlite3', '1.3.11.pr159').

@Javix
Javix commented Oct 2, 2015

@tomwebbi : I suppose that the discussed issue concern nokogiri gem only. Please, would you try to run a simple Rails app with its default values. If you have some related issues, post it here. Otherwise open another one on a corresponding github repo to not hack this one.

@Javix
Javix commented Oct 2, 2015
  • In this case, try to download Ruby 2.2.2 version from http://rubyinstaller.org/downloads/archives.
    Choose the version depending on you Windows version (32 or 64 bits).
  • Uninstall the previousely installed RUby version(s)
  • Remove DevKit folder
  • Install the corresponding DevKit version
  • create a simple Rails app without indicating Db to use (to use sqlite3 as default one).
  • follow the step described earlier to install the working nokogiri and sqlite3 versions in the created earlier Rails app.
  • if it works, find the steps to follow to install mysql2 gem or try these ones:
  1. Download the ARCHIVE of connector C used by mysql2 gem (either 32bit or 64bit version depending on your OS)
    from MySQL site.
  2. Unzip it wherever you you want
  3. Run gem install mysql2 --platform=ruby -- '--with-mysql-dir="C:\mysql-connector"' (depending on where you put it).
  4. Copy the libmysql.dll from the LIB directory of the mysql connector to the bin folder of Ruby installation.
  • replace sqlite3 gem in the created Rails app with mysql2
  • run bundle
  • run rails sto see if it works as needed.

Hope this helps.

@Javix
Javix commented Oct 3, 2015

Either download the indicated version from rubygems.org then install locally or just add it to your Gemfile by specifying the exact version and run bundle.

Sent from my iPhone

On 03 Oct 2015, at 09:32, tomwebbi notifications@github.com wrote:

@Javix how to install sqlite3?, cause i have tried before and i got sqlite3 error while starting rails server


Reply to this email directly or view it on GitHub.

@toncid
toncid commented Oct 3, 2015

OK, guys, discussing sqlite installation here is really off-topic. Please move it to a private conversation.

@toncid
toncid commented Oct 3, 2015

I think Stack Overflow would be more appropriate. ;)

@ccoenen
ccoenen commented Oct 3, 2015

Or if it's a bug, sqlite3 has a bugtracker of their own:
https://github.com/sparklemotion/sqlite3-ruby/issues

@ccoenen
ccoenen commented Oct 3, 2015

At first glance, this might be the same problem: sparklemotion/sqlite3-ruby#150 I think continuing there is the most helpful thing for everyone.

@jrochkind
Contributor

On June 11, @flavorjones wrote:

The only blocker is finding the time to build the release, which is a bit time-consuming. I hope to do this in the next day or so.

Any update as to status, situation, ETA?

@tomwebbi
tomwebbi commented Oct 4, 2015

@Javix on ruby 2.2.2 nokogiri is giving error

@Javix
Javix commented Oct 4, 2015

@tomwebbi

  • post errors stack trace
  • post nokogiri version you installed
@marutosi
Contributor
marutosi commented Oct 4, 2015

@tomwebbi, do not post again and again.
It is obvious what is wrong.

@tomwebbi
tomwebbi commented Oct 4, 2015

i have fixed it now everything is working fine ;)

@Jonathan-92

Thank you @Javix !!! It worked just with "add gem 'nokogiri', '1.6.7.rc3' to your rails app Gemfile"

@net1957
net1957 commented Oct 12, 2015

On windows8.1,
ruby 2.2.2p95 (2015-04-13 revision 50295) [x64-mingw32]
rails 4.2.4

I confirm nokogiri 1.6.7 rc3 don't break rails loading.

Great news! Thanks for your work!

@Javix
Javix commented Oct 12, 2015

@Jonathan-92 It's for @fsauter, I just followed the steps he posted :)

@codelearner777

hello guys,
this is my first time learning rubyonrails. I am having this nokogiri 1.6.6.2 issue.
Google searching leads me here.
I tried Javix's way, but unfortunately I still have issue.
my setup:
windows 8.1
image

from a post above:
add gem 'nokogiri', '1.6.7.rc3'to your rails app Gemfile
download sqlite pre version 1.3.11.pr159 and install it locally (see described earlier steps)
modifiy the declared sqlite gem as follows gem 'sqlite3', '1.3.11.pr159' in your Gemfile
delete Gemfile.lock
cd to your rails app and run bundle install
run rails s and navigate to localhost:3000

after I run bundle install, I got this
image

my gemfile
image

could someone help me, please?

@ccoenen
ccoenen commented Oct 25, 2015

I believe, the sqlite error should no longer be a problem could you try
gem 'sqlite3', '1.3.11' instead? (no pr...)

also: this is a sqlite issue, not a nokogiri issue. If the suggestion does not fix it, please open a ticket with in the sqlite3-bugtracker here: https://github.com/sparklemotion/sqlite3-ruby/issues

@codelearner777

@ccoenen
woww.thanks man.it works
thanks for the fast response as well.

my gemfile
image

image

thanks. I can open localhost:3000 now.

@ccoenen
ccoenen commented Oct 25, 2015

Cheers :) 👍

@marutosi
Contributor

What progress?
Posts of Redmine cannot run on Windows Ruby 2.2 are very annoying.
http://www.redmine.org/boards/2/topics/48548

@PositiveAlex

Are you sure that it is nokogiri issue?

ср, 28 окт. 2015, 13:44, Toshi MARUYAMA notifications@github.com:

What progress?
Posts of Redmine cannot run on Windows Ruby 2.2 are very annoying.
http://www.redmine.org/boards/2/topics/48548


Reply to this email directly or view it on GitHub
#1256 (comment)
.

@flavorjones
Member

@marutosi Thanks for your patience. I understand you'd like to get this fixed. Have you tried the release candidates? Do they work for you?

@marutosi
Contributor

Are you sure that it is nokogiri issue?

http://www.redmine.org/issues/19419#note-5
bundler/bundler#3484

@marutosi
Contributor

I understand you'd like to get this fixed.

I am Redmine contributor.

Have you tried the release candidates?

I don't have Windows environment I can use now.

@marutosi
Contributor
@marutosi
Contributor

Rails5 uses "gem 'nokogiri', '>= 1.6.7.rc3'" for Windows.
rails/rails@bbfd176
rails/rails#21602

@marutosi
Contributor

I have requested to Rails4 uses "gem 'nokogiri', '>= 1.6.7.rc3'" for Windows.
rails/rails#21602 (comment)

@rafaelfranca
Contributor

@marutosi Rails is only using the releases candidates in its own test suite. The applications are still using the last released version that it is 1.6.6.

@marutosi marutosi added a commit to marutosi/openproject that referenced this issue Oct 29, 2015
@marutosi marutosi gh sparklemotion/nokogiri#1256 (comment) 03be10f
@marutosi marutosi added a commit to marutosi/openproject that referenced this issue Oct 29, 2015
@marutosi marutosi gh sparklemotion/nokogiri#1256 (comment) 13193b3
@marutosi marutosi added a commit to marutosi/redmine that referenced this issue Oct 29, 2015
@marutosi marutosi gh sparklemotion/nokogiri#1256 (comment) 76d887d
@marutosi marutosi added a commit to marutosi/redmine that referenced this issue Oct 29, 2015
@marutosi marutosi gh sparklemotion/nokogiri#1256 (comment) bb75a4a
@marutosi
Contributor

Have you tried the release candidates? Do they work for you?

Appveyor tests passes on Windows Ruby 2.2.
https://ci.appveyor.com/project/marutosi/redmine/build/1.0.4

@marutosi
Contributor

This is proof revision.
marutosi/redmine@76d887d

@flavorjones
Member

Great, thank you.
On Oct 29, 2015 4:51 AM, "Toshi MARUYAMA" notifications@github.com wrote:

This is proof revision.
marutosi/redmine@76d887d
marutosi/redmine@76d887d


Reply to this email directly or view it on GitHub
#1256 (comment)
.

@marutosi marutosi added a commit to marutosi/redmine that referenced this issue Oct 29, 2015
@marutosi marutosi gh sparklemotion/nokogiri#1256 (comment) e743dc2
@marutosi marutosi added a commit to marutosi/redmine that referenced this issue Oct 29, 2015
@marutosi marutosi gh sparklemotion/nokogiri#1256 (comment) 5c18130
@marutosi marutosi added a commit to marutosi/redmine that referenced this issue Oct 29, 2015
@marutosi marutosi gh sparklemotion/nokogiri#1256 (comment) 4c4eb6d
@marutosi marutosi added a commit to marutosi/redmine that referenced this issue Oct 29, 2015
@marutosi marutosi gh sparklemotion/nokogiri#1256 (comment) bd8c401
@marutosi marutosi added a commit to marutosi/redmine that referenced this issue Oct 29, 2015
@marutosi marutosi gh sparklemotion/nokogiri#1256 (comment) 7dba0ad
@martinsefcik

Is there any blocker for 1.6.7 ?

@marutosi marutosi added a commit to marutosi/redmine that referenced this issue Nov 17, 2015
@marutosi marutosi gh sparklemotion/nokogiri#1256 (comment) 47e0720
@marutosi marutosi added a commit to marutosi/redmine that referenced this issue Nov 17, 2015
@marutosi marutosi GitHub sparklemotion/nokogiri#1256 (comment) 88ef387
@flavorjones
Member

@martinsefcik Yes, we still have some items to take care of before shipping a final. Are you offering assistance?

@martinsefcik

What kind of items ?
But I'm not sure I can help. I'm still relatively new to Ruby.

@flavorjones
Member

1.6.7.rc4 just shipped, which I'd like someone to try and confirm that it works for them. Unless something comes up, this will ship as 1.6.7 final in the next few days.

@DSAMPAT
DSAMPAT commented Nov 23, 2015

All good. No issues. Unless you want us to test something specific.

nokogiri (1.6.7.rc4-x86-mingw32)
  mini_portile2 (~> 2.0.0.rc2)
@marutosi marutosi added a commit to marutosi/redmine that referenced this issue Nov 23, 2015
@marutosi marutosi GitHub sparklemotion/nokogiri#1256 (comment) f180f0b
@marutosi marutosi added a commit to marutosi/redmine that referenced this issue Nov 23, 2015
@marutosi marutosi github sparklemotion/nokogiri#1256 (comment) 64c1d59
@fera2k
fera2k commented Nov 23, 2015

I've tested here on Windows 10 and CentOS Linux, both using Ruby 2.2.3.
No failures so far! Good job!

@flavorjones
Member

OK, let's ship this thing. No compelling blockers having been raised, I'm going to cut 1.6.7 today.

Thanks, everybody, for your patience and help.

Will update this ticket when I ship it.

@flavorjones
Member

v1.6.7 has been shipped.

@marutosi marutosi added a commit to marutosi/openproject that referenced this issue Nov 30, 2015
@marutosi marutosi github sparklemotion/nokogiri#1256 ad0a0c6
@DSAMPAT
DSAMPAT commented Nov 30, 2015

All good. No issues.

nokogiri (1.6.7-x86-mingw32)
  mini_portile2 (~> 2.0.0.rc2)
@marutosi marutosi added a commit to marutosi/redmine that referenced this issue Nov 30, 2015
@marutosi marutosi github sparklemotion/nokogiri#1256 4bcd40f
@marutosi marutosi added a commit to marutosi/openproject that referenced this issue Nov 30, 2015
@marutosi marutosi github sparklemotion/nokogiri#1256 f23537c
@marutosi marutosi added a commit to marutosi/openproject that referenced this issue Nov 30, 2015
@marutosi marutosi github sparklemotion/nokogiri#1256 d4a08af
@marutosi marutosi added a commit to marutosi/openproject that referenced this issue Nov 30, 2015
@marutosi marutosi GitHub sparklemotion/nokogiri#1256 (comment) 93cba32
@jbbarth jbbarth pushed a commit to redmine/redmine that referenced this issue Nov 30, 2015
@marutosi marutosi enable Ruby 2.2 on appveyor
Nokogiri 1.6.7 has released.
sparklemotion/nokogiri#1256 (comment)

git-svn-id: http://svn.redmine.org/redmine/trunk@14904 e93f8b46-1217-0410-a6f0-8f06a7374b81
09cdd06
@marutosi marutosi added a commit to marutosi/openproject that referenced this issue Nov 30, 2015
@marutosi marutosi GitHub sparklemotion/nokogiri#1256 (comment) 5018991
@marutosi marutosi added a commit to marutosi/openproject that referenced this issue Nov 30, 2015
@marutosi marutosi github sparklemotion/nokogiri#1256 (comment) d758e93
@ccoenen
ccoenen commented Nov 30, 2015

🍀 :-D Thanks!

@toncid
toncid commented Nov 30, 2015

Thanks! 👍

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment