-
Notifications
You must be signed in to change notification settings - Fork 128
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Installation fails under Rails 4 #73
Comments
(Seems like an rbenv problem with the "dynamic installation" of native extensions. I don't have much time to spend on this right now. Treat lazily loads all the external dependencies it uses that are not language-agnostic. The reason is a) to avoid clutter, b) to avoid people not being able to install the gem due to compatibility issues and c) to separate our dependency management by language.) If using Treat in an app, you should be adding the gems you require to your app`s Gemfile. You don't actually need to install any language package if you do this. That way, you only need to install the few (probably 4-5 max) gems you will actually be using, and make sure that these are updated along with the rest of your gems. Since you're not using the installer, you'll have to manually configure dependencies that use JARs or external binaries (which you would need to do anyways in such a setting). Just look here: http://louismullie.com/treat/ for the necessary files, and see the configuration section of the manual on how to specify the paths. Here's the Gemfile I use for developing my apps (this has most of the stuff that Treat includes).
Hope this helps - please keep me updated on your progress. Louis |
Thanks for the quick feedback. I didn't realize that it's possible to use Treat without first running the installer. I'll give your advice a shot and let you know how I get on. |
Same issue but using RVM. @louismullie, is your suggestion applicable to mine? It doesn't fail on just one gem like @aaroncraigongithub's. Also, my dev't environment is Rails 4.1.1, Ruby 2.1.2p95 and on OS X 10.9.4. I also created my own gemset for this app. Would that have any conflicts? Here's my error log: ▶ rails c
Loading development environment (Rails 4.1.1)
:001 > require 'treat'
=> false
:002 > Treat::Core::Installer.install 'english'
Treat Installer, v. 2.1.0
1. Installing core dependencies.
Installing nokogiri...
Building native extensions. This could take a while...
Warning: couldn't install gem 'nokogiri' (ERROR: Failed to build gem native extension.
/Users/dean/.rvm/rubies/ruby-2.1.2/bin/ruby extconf.rb
/Users/dean/.rvm/gems/ruby-2.1.2@global/gems/bundler-1.7.2/lib/bundler/spec_set.rb:92:in `block in materialize': Could not find nokogiri-1.6.3.1 in any of the sources (Bundler::GemNotFound)
from /Users/dean/.rvm/gems/ruby-2.1.2@global/gems/bundler-1.7.2/lib/bundler/spec_set.rb:85:in `map!'
from /Users/dean/.rvm/gems/ruby-2.1.2@global/gems/bundler-1.7.2/lib/bundler/spec_set.rb:85:in `materialize'
from /Users/dean/.rvm/gems/ruby-2.1.2@global/gems/bundler-1.7.2/lib/bundler/definition.rb:132:in `specs'
from /Users/dean/.rvm/gems/ruby-2.1.2@global/gems/bundler-1.7.2/lib/bundler/definition.rb:177:in `specs_for'
from /Users/dean/.rvm/gems/ruby-2.1.2@global/gems/bundler-1.7.2/lib/bundler/definition.rb:166:in `requested_specs'
from /Users/dean/.rvm/gems/ruby-2.1.2@global/gems/bundler-1.7.2/lib/bundler/environment.rb:18:in `requested_specs'
from /Users/dean/.rvm/gems/ruby-2.1.2@global/gems/bundler-1.7.2/lib/bundler/runtime.rb:13:in `setup'
from /Users/dean/.rvm/gems/ruby-2.1.2@global/gems/bundler-1.7.2/lib/bundler.rb:121:in `setup'
from /Users/dean/.rvm/gems/ruby-2.1.2@global/gems/bundler-1.7.2/lib/bundler/setup.rb:17:in `<top (required)>'
from /Users/dean/.rvm/rubies/ruby-2.1.2/lib/ruby/2.1.0/rubygems/core_ext/kernel_require.rb:55:in `require'
from /Users/dean/.rvm/rubies/ruby-2.1.2/lib/ruby/2.1.0/rubygems/core_ext/kernel_require.rb:55:in `require'
extconf failed, exit code 1
Gem files will remain installed in /Users/dean/.rvm/gems/ruby-2.1.2@app/gems/nokogiri-1.6.3.1 for inspection.
Results logged to /Users/dean/.rvm/gems/ruby-2.1.2@app/extensions/x86_64-darwin-13/2.1.0/nokogiri-1.6.3.1/gem_make.out
).
Installing ferret...
Building native extensions. This could take a while...
Warning: couldn't install gem 'ferret' (ERROR: Failed to build gem native extension.
/Users/dean/.rvm/rubies/ruby-2.1.2/bin/ruby extconf.rb
/Users/dean/.rvm/gems/ruby-2.1.2@global/gems/bundler-1.7.2/lib/bundler/spec_set.rb:92:in `block in materialize': Could not find nokogiri-1.6.3.1 in any of the sources (Bundler::GemNotFound)
from /Users/dean/.rvm/gems/ruby-2.1.2@global/gems/bundler-1.7.2/lib/bundler/spec_set.rb:85:in `map!'
from /Users/dean/.rvm/gems/ruby-2.1.2@global/gems/bundler-1.7.2/lib/bundler/spec_set.rb:85:in `materialize'
from /Users/dean/.rvm/gems/ruby-2.1.2@global/gems/bundler-1.7.2/lib/bundler/definition.rb:132:in `specs'
from /Users/dean/.rvm/gems/ruby-2.1.2@global/gems/bundler-1.7.2/lib/bundler/definition.rb:177:in `specs_for'
from /Users/dean/.rvm/gems/ruby-2.1.2@global/gems/bundler-1.7.2/lib/bundler/definition.rb:166:in `requested_specs'
from /Users/dean/.rvm/gems/ruby-2.1.2@global/gems/bundler-1.7.2/lib/bundler/environment.rb:18:in `requested_specs'
from /Users/dean/.rvm/gems/ruby-2.1.2@global/gems/bundler-1.7.2/lib/bundler/runtime.rb:13:in `setup'
from /Users/dean/.rvm/gems/ruby-2.1.2@global/gems/bundler-1.7.2/lib/bundler.rb:121:in `setup'
from /Users/dean/.rvm/gems/ruby-2.1.2@global/gems/bundler-1.7.2/lib/bundler/setup.rb:17:in `<top (required)>'
from /Users/dean/.rvm/rubies/ruby-2.1.2/lib/ruby/2.1.0/rubygems/core_ext/kernel_require.rb:55:in `require'
from /Users/dean/.rvm/rubies/ruby-2.1.2/lib/ruby/2.1.0/rubygems/core_ext/kernel_require.rb:55:in `require'
extconf failed, exit code 1
Gem files will remain installed in /Users/dean/.rvm/gems/ruby-2.1.2@app/gems/ferret-0.11.8.5 for inspection.
Results logged to /Users/dean/.rvm/gems/ruby-2.1.2@app/extensions/x86_64-darwin-13/2.1.0/ferret-0.11.8.5/gem_make.out
).
Installing bson_ext...
Building native extensions. This could take a while...
Warning: couldn't install gem 'bson_ext' (ERROR: Failed to build gem native extension.
/Users/dean/.rvm/rubies/ruby-2.1.2/bin/ruby extconf.rb
/Users/dean/.rvm/gems/ruby-2.1.2@global/gems/bundler-1.7.2/lib/bundler/spec_set.rb:92:in `block in materialize': Could not find nokogiri-1.6.3.1 in any of the sources (Bundler::GemNotFound)
from /Users/dean/.rvm/gems/ruby-2.1.2@global/gems/bundler-1.7.2/lib/bundler/spec_set.rb:85:in `map!'
from /Users/dean/.rvm/gems/ruby-2.1.2@global/gems/bundler-1.7.2/lib/bundler/spec_set.rb:85:in `materialize'
from /Users/dean/.rvm/gems/ruby-2.1.2@global/gems/bundler-1.7.2/lib/bundler/definition.rb:132:in `specs'
from /Users/dean/.rvm/gems/ruby-2.1.2@global/gems/bundler-1.7.2/lib/bundler/definition.rb:177:in `specs_for'
from /Users/dean/.rvm/gems/ruby-2.1.2@global/gems/bundler-1.7.2/lib/bundler/definition.rb:166:in `requested_specs'
from /Users/dean/.rvm/gems/ruby-2.1.2@global/gems/bundler-1.7.2/lib/bundler/environment.rb:18:in `requested_specs'
from /Users/dean/.rvm/gems/ruby-2.1.2@global/gems/bundler-1.7.2/lib/bundler/runtime.rb:13:in `setup'
from /Users/dean/.rvm/gems/ruby-2.1.2@global/gems/bundler-1.7.2/lib/bundler.rb:121:in `setup'
from /Users/dean/.rvm/gems/ruby-2.1.2@global/gems/bundler-1.7.2/lib/bundler/setup.rb:17:in `<top (required)>'
from /Users/dean/.rvm/rubies/ruby-2.1.2/lib/ruby/2.1.0/rubygems/core_ext/kernel_require.rb:55:in `require'
from /Users/dean/.rvm/rubies/ruby-2.1.2/lib/ruby/2.1.0/rubygems/core_ext/kernel_require.rb:55:in `require'
extconf failed, exit code 1
Gem files will remain installed in /Users/dean/.rvm/gems/ruby-2.1.2@app/gems/bson_ext-1.11.1 for inspection.
Results logged to /Users/dean/.rvm/gems/ruby-2.1.2@app/extensions/x86_64-darwin-13/2.1.0/bson_ext-1.11.1/gem_make.out
).
Installing mongo...
Installing lda-ruby...
Building native extensions. This could take a while...
Warning: couldn't install gem 'lda-ruby' (ERROR: Failed to build gem native extension.
/Users/dean/.rvm/rubies/ruby-2.1.2/bin/ruby extconf.rb
/Users/dean/.rvm/gems/ruby-2.1.2@global/gems/bundler-1.7.2/lib/bundler/spec_set.rb:92:in `block in materialize': Could not find nokogiri-1.6.3.1 in any of the sources (Bundler::GemNotFound)
from /Users/dean/.rvm/gems/ruby-2.1.2@global/gems/bundler-1.7.2/lib/bundler/spec_set.rb:85:in `map!'
from /Users/dean/.rvm/gems/ruby-2.1.2@global/gems/bundler-1.7.2/lib/bundler/spec_set.rb:85:in `materialize'
from /Users/dean/.rvm/gems/ruby-2.1.2@global/gems/bundler-1.7.2/lib/bundler/definition.rb:132:in `specs'
from /Users/dean/.rvm/gems/ruby-2.1.2@global/gems/bundler-1.7.2/lib/bundler/definition.rb:177:in `specs_for'
from /Users/dean/.rvm/gems/ruby-2.1.2@global/gems/bundler-1.7.2/lib/bundler/definition.rb:166:in `requested_specs'
from /Users/dean/.rvm/gems/ruby-2.1.2@global/gems/bundler-1.7.2/lib/bundler/environment.rb:18:in `requested_specs'
from /Users/dean/.rvm/gems/ruby-2.1.2@global/gems/bundler-1.7.2/lib/bundler/runtime.rb:13:in `setup'
from /Users/dean/.rvm/gems/ruby-2.1.2@global/gems/bundler-1.7.2/lib/bundler.rb:121:in `setup'
from /Users/dean/.rvm/gems/ruby-2.1.2@global/gems/bundler-1.7.2/lib/bundler/setup.rb:17:in `<top (required)>'
from /Users/dean/.rvm/rubies/ruby-2.1.2/lib/ruby/2.1.0/rubygems/core_ext/kernel_require.rb:55:in `require'
from /Users/dean/.rvm/rubies/ruby-2.1.2/lib/ruby/2.1.0/rubygems/core_ext/kernel_require.rb:55:in `require'
extconf failed, exit code 1
Gem files will remain installed in /Users/dean/.rvm/gems/ruby-2.1.2@app/gems/lda-ruby-0.3.8 for inspection.
Results logged to /Users/dean/.rvm/gems/ruby-2.1.2@app/extensions/x86_64-darwin-13/2.1.0/lda-ruby-0.3.8/gem_make.out
).
Installing stanford-core-nlp...
Building native extensions. This could take a while...
Warning: couldn't install gem 'stanford-core-nlp' (ERROR: Failed to build gem native extension.
/Users/dean/.rvm/rubies/ruby-2.1.2/bin/ruby extconf.rb
/Users/dean/.rvm/gems/ruby-2.1.2@global/gems/bundler-1.7.2/lib/bundler/spec_set.rb:92:in `block in materialize': Could not find nokogiri-1.6.3.1 in any of the sources (Bundler::GemNotFound)
from /Users/dean/.rvm/gems/ruby-2.1.2@global/gems/bundler-1.7.2/lib/bundler/spec_set.rb:85:in `map!'
from /Users/dean/.rvm/gems/ruby-2.1.2@global/gems/bundler-1.7.2/lib/bundler/spec_set.rb:85:in `materialize'
from /Users/dean/.rvm/gems/ruby-2.1.2@global/gems/bundler-1.7.2/lib/bundler/definition.rb:132:in `specs'
from /Users/dean/.rvm/gems/ruby-2.1.2@global/gems/bundler-1.7.2/lib/bundler/definition.rb:177:in `specs_for'
from /Users/dean/.rvm/gems/ruby-2.1.2@global/gems/bundler-1.7.2/lib/bundler/definition.rb:166:in `requested_specs'
from /Users/dean/.rvm/gems/ruby-2.1.2@global/gems/bundler-1.7.2/lib/bundler/environment.rb:18:in `requested_specs'
from /Users/dean/.rvm/gems/ruby-2.1.2@global/gems/bundler-1.7.2/lib/bundler/runtime.rb:13:in `setup'
from /Users/dean/.rvm/gems/ruby-2.1.2@global/gems/bundler-1.7.2/lib/bundler.rb:121:in `setup'
from /Users/dean/.rvm/gems/ruby-2.1.2@global/gems/bundler-1.7.2/lib/bundler/setup.rb:17:in `<top (required)>'
from /Users/dean/.rvm/rubies/ruby-2.1.2/lib/ruby/2.1.0/rubygems/core_ext/kernel_require.rb:55:in `require'
from /Users/dean/.rvm/rubies/ruby-2.1.2/lib/ruby/2.1.0/rubygems/core_ext/kernel_require.rb:55:in `require'
extconf failed, exit code 1
Gem files will remain installed in /Users/dean/.rvm/gems/ruby-2.1.2@app/gems/rjb-1.4.9 for inspection.
Results logged to /Users/dean/.rvm/gems/ruby-2.1.2@app/extensions/x86_64-darwin-13/2.1.0/rjb-1.4.9/gem_make.out
).
Installing linguistics...
This library also presents tie-ins for the 'linkparser' and
'wordnet' libraries, which you can enable by installing the
gems of the same name.
Installing ruby-readability...
Warning: couldn't install gem 'ruby-readability' (ERROR: Failed to build gem native extension.
/Users/dean/.rvm/rubies/ruby-2.1.2/bin/ruby extconf.rb
/Users/dean/.rvm/gems/ruby-2.1.2@global/gems/bundler-1.7.2/lib/bundler/spec_set.rb:92:in `block in materialize': Could not find nokogiri-1.6.3.1 in any of the sources (Bundler::GemNotFound)
from /Users/dean/.rvm/gems/ruby-2.1.2@global/gems/bundler-1.7.2/lib/bundler/spec_set.rb:85:in `map!'
from /Users/dean/.rvm/gems/ruby-2.1.2@global/gems/bundler-1.7.2/lib/bundler/spec_set.rb:85:in `materialize'
from /Users/dean/.rvm/gems/ruby-2.1.2@global/gems/bundler-1.7.2/lib/bundler/definition.rb:132:in `specs'
from /Users/dean/.rvm/gems/ruby-2.1.2@global/gems/bundler-1.7.2/lib/bundler/definition.rb:177:in `specs_for'
from /Users/dean/.rvm/gems/ruby-2.1.2@global/gems/bundler-1.7.2/lib/bundler/definition.rb:166:in `requested_specs'
from /Users/dean/.rvm/gems/ruby-2.1.2@global/gems/bundler-1.7.2/lib/bundler/environment.rb:18:in `requested_specs'
from /Users/dean/.rvm/gems/ruby-2.1.2@global/gems/bundler-1.7.2/lib/bundler/runtime.rb:13:in `setup'
from /Users/dean/.rvm/gems/ruby-2.1.2@global/gems/bundler-1.7.2/lib/bundler.rb:121:in `setup'
from /Users/dean/.rvm/gems/ruby-2.1.2@global/gems/bundler-1.7.2/lib/bundler/setup.rb:17:in `<top (required)>'
from /Users/dean/.rvm/rubies/ruby-2.1.2/lib/ruby/2.1.0/rubygems/core_ext/kernel_require.rb:55:in `require'
from /Users/dean/.rvm/rubies/ruby-2.1.2/lib/ruby/2.1.0/rubygems/core_ext/kernel_require.rb:55:in `require'
extconf failed, exit code 1
Gem files will remain installed in /Users/dean/.rvm/gems/ruby-2.1.2@app/gems/nokogiri-1.6.3.1 for inspection.
Results logged to /Users/dean/.rvm/gems/ruby-2.1.2@app/extensions/x86_64-darwin-13/2.1.0/nokogiri-1.6.3.1/gem_make.out
).
Installing whatlanguage...
Installing chronic...
Installing kronic...
Installing nickel...
Installing decisiontree...
Installing rb-libsvm...
Building native extensions. This could take a while...
Warning: couldn't install gem 'rb-libsvm' (ERROR: Failed to build gem native extension.
/Users/dean/.rvm/rubies/ruby-2.1.2/bin/ruby extconf.rb
/Users/dean/.rvm/gems/ruby-2.1.2@global/gems/bundler-1.7.2/lib/bundler/spec_set.rb:92:in `block in materialize': Could not find nokogiri-1.6.3.1 in any of the sources (Bundler::GemNotFound)
from /Users/dean/.rvm/gems/ruby-2.1.2@global/gems/bundler-1.7.2/lib/bundler/spec_set.rb:85:in `map!'
from /Users/dean/.rvm/gems/ruby-2.1.2@global/gems/bundler-1.7.2/lib/bundler/spec_set.rb:85:in `materialize'
from /Users/dean/.rvm/gems/ruby-2.1.2@global/gems/bundler-1.7.2/lib/bundler/definition.rb:132:in `specs'
from /Users/dean/.rvm/gems/ruby-2.1.2@global/gems/bundler-1.7.2/lib/bundler/definition.rb:177:in `specs_for'
from /Users/dean/.rvm/gems/ruby-2.1.2@global/gems/bundler-1.7.2/lib/bundler/definition.rb:166:in `requested_specs'
from /Users/dean/.rvm/gems/ruby-2.1.2@global/gems/bundler-1.7.2/lib/bundler/environment.rb:18:in `requested_specs'
from /Users/dean/.rvm/gems/ruby-2.1.2@global/gems/bundler-1.7.2/lib/bundler/runtime.rb:13:in `setup'
from /Users/dean/.rvm/gems/ruby-2.1.2@global/gems/bundler-1.7.2/lib/bundler.rb:121:in `setup'
from /Users/dean/.rvm/gems/ruby-2.1.2@global/gems/bundler-1.7.2/lib/bundler/setup.rb:17:in `<top (required)>'
from /Users/dean/.rvm/rubies/ruby-2.1.2/lib/ruby/2.1.0/rubygems/core_ext/kernel_require.rb:55:in `require'
from /Users/dean/.rvm/rubies/ruby-2.1.2/lib/ruby/2.1.0/rubygems/core_ext/kernel_require.rb:55:in `require'
extconf failed, exit code 1
Gem files will remain installed in /Users/dean/.rvm/gems/ruby-2.1.2@app/gems/rb-libsvm-1.1.5 for inspection.
Results logged to /Users/dean/.rvm/gems/ruby-2.1.2@app/extensions/x86_64-darwin-13/2.1.0/rb-libsvm-1.1.5/gem_make.out
).
Installing ruby-fann...
Building native extensions. This could take a while...
Warning: couldn't install gem 'ruby-fann' (ERROR: Failed to build gem native extension.
/Users/dean/.rvm/rubies/ruby-2.1.2/bin/ruby extconf.rb
/Users/dean/.rvm/gems/ruby-2.1.2@global/gems/bundler-1.7.2/lib/bundler/spec_set.rb:92:in `block in materialize': Could not find nokogiri-1.6.3.1 in any of the sources (Bundler::GemNotFound)
from /Users/dean/.rvm/gems/ruby-2.1.2@global/gems/bundler-1.7.2/lib/bundler/spec_set.rb:85:in `map!'
from /Users/dean/.rvm/gems/ruby-2.1.2@global/gems/bundler-1.7.2/lib/bundler/spec_set.rb:85:in `materialize'
from /Users/dean/.rvm/gems/ruby-2.1.2@global/gems/bundler-1.7.2/lib/bundler/definition.rb:132:in `specs'
from /Users/dean/.rvm/gems/ruby-2.1.2@global/gems/bundler-1.7.2/lib/bundler/definition.rb:177:in `specs_for'
from /Users/dean/.rvm/gems/ruby-2.1.2@global/gems/bundler-1.7.2/lib/bundler/definition.rb:166:in `requested_specs'
from /Users/dean/.rvm/gems/ruby-2.1.2@global/gems/bundler-1.7.2/lib/bundler/environment.rb:18:in `requested_specs'
from /Users/dean/.rvm/gems/ruby-2.1.2@global/gems/bundler-1.7.2/lib/bundler/runtime.rb:13:in `setup'
from /Users/dean/.rvm/gems/ruby-2.1.2@global/gems/bundler-1.7.2/lib/bundler.rb:121:in `setup'
from /Users/dean/.rvm/gems/ruby-2.1.2@global/gems/bundler-1.7.2/lib/bundler/setup.rb:17:in `<top (required)>'
from /Users/dean/.rvm/rubies/ruby-2.1.2/lib/ruby/2.1.0/rubygems/core_ext/kernel_require.rb:55:in `require'
from /Users/dean/.rvm/rubies/ruby-2.1.2/lib/ruby/2.1.0/rubygems/core_ext/kernel_require.rb:55:in `require'
extconf failed, exit code 1
Gem files will remain installed in /Users/dean/.rvm/gems/ruby-2.1.2@app/gems/ruby-fann-1.2.6 for inspection.
Results logged to /Users/dean/.rvm/gems/ruby-2.1.2@app/extensions/x86_64-darwin-13/2.1.0/ruby-fann-1.2.6/gem_make.out
).
Installing zip...
Installing loggability...
Installing tf-idf-similarity...
Building native extensions. This could take a while...
Warning: couldn't install gem 'tf-idf-similarity' (ERROR: Failed to build gem native extension.
/Users/dean/.rvm/rubies/ruby-2.1.2/bin/ruby mkrf_conf.rb
/Users/dean/.rvm/gems/ruby-2.1.2@global/gems/bundler-1.7.2/lib/bundler/spec_set.rb:92:in `block in materialize': Could not find nokogiri-1.6.3.1 in any of the sources (Bundler::GemNotFound)
from /Users/dean/.rvm/gems/ruby-2.1.2@global/gems/bundler-1.7.2/lib/bundler/spec_set.rb:85:in `map!'
from /Users/dean/.rvm/gems/ruby-2.1.2@global/gems/bundler-1.7.2/lib/bundler/spec_set.rb:85:in `materialize'
from /Users/dean/.rvm/gems/ruby-2.1.2@global/gems/bundler-1.7.2/lib/bundler/definition.rb:132:in `specs'
from /Users/dean/.rvm/gems/ruby-2.1.2@global/gems/bundler-1.7.2/lib/bundler/definition.rb:177:in `specs_for'
from /Users/dean/.rvm/gems/ruby-2.1.2@global/gems/bundler-1.7.2/lib/bundler/definition.rb:166:in `requested_specs'
from /Users/dean/.rvm/gems/ruby-2.1.2@global/gems/bundler-1.7.2/lib/bundler/environment.rb:18:in `requested_specs'
from /Users/dean/.rvm/gems/ruby-2.1.2@global/gems/bundler-1.7.2/lib/bundler/runtime.rb:13:in `setup'
from /Users/dean/.rvm/gems/ruby-2.1.2@global/gems/bundler-1.7.2/lib/bundler.rb:121:in `setup'
from /Users/dean/.rvm/gems/ruby-2.1.2@global/gems/bundler-1.7.2/lib/bundler/setup.rb:17:in `<top (required)>'
from /Users/dean/.rvm/rubies/ruby-2.1.2/lib/ruby/2.1.0/rubygems/core_ext/kernel_require.rb:55:in `require'
from /Users/dean/.rvm/rubies/ruby-2.1.2/lib/ruby/2.1.0/rubygems/core_ext/kernel_require.rb:55:in `require'
rake failed, exit code 1
Gem files will remain installed in /Users/dean/.rvm/gems/ruby-2.1.2@app/gems/tf-idf-similarity-0.1.3 for inspection.
Results logged to /Users/dean/.rvm/gems/ruby-2.1.2@app/extensions/x86_64-darwin-13/2.1.0/tf-idf-similarity-0.1.3/gem_make.out
).
Installing narray...
Building native extensions. This could take a while...
Warning: couldn't install gem 'narray' (ERROR: Failed to build gem native extension.
/Users/dean/.rvm/rubies/ruby-2.1.2/bin/ruby extconf.rb
/Users/dean/.rvm/gems/ruby-2.1.2@global/gems/bundler-1.7.2/lib/bundler/spec_set.rb:92:in `block in materialize': Could not find nokogiri-1.6.3.1 in any of the sources (Bundler::GemNotFound)
from /Users/dean/.rvm/gems/ruby-2.1.2@global/gems/bundler-1.7.2/lib/bundler/spec_set.rb:85:in `map!'
from /Users/dean/.rvm/gems/ruby-2.1.2@global/gems/bundler-1.7.2/lib/bundler/spec_set.rb:85:in `materialize'
from /Users/dean/.rvm/gems/ruby-2.1.2@global/gems/bundler-1.7.2/lib/bundler/definition.rb:132:in `specs'
from /Users/dean/.rvm/gems/ruby-2.1.2@global/gems/bundler-1.7.2/lib/bundler/definition.rb:177:in `specs_for'
from /Users/dean/.rvm/gems/ruby-2.1.2@global/gems/bundler-1.7.2/lib/bundler/definition.rb:166:in `requested_specs'
from /Users/dean/.rvm/gems/ruby-2.1.2@global/gems/bundler-1.7.2/lib/bundler/environment.rb:18:in `requested_specs'
from /Users/dean/.rvm/gems/ruby-2.1.2@global/gems/bundler-1.7.2/lib/bundler/runtime.rb:13:in `setup'
from /Users/dean/.rvm/gems/ruby-2.1.2@global/gems/bundler-1.7.2/lib/bundler.rb:121:in `setup'
from /Users/dean/.rvm/gems/ruby-2.1.2@global/gems/bundler-1.7.2/lib/bundler/setup.rb:17:in `<top (required)>'
from /Users/dean/.rvm/rubies/ruby-2.1.2/lib/ruby/2.1.0/rubygems/core_ext/kernel_require.rb:55:in `require'
from /Users/dean/.rvm/rubies/ruby-2.1.2/lib/ruby/2.1.0/rubygems/core_ext/kernel_require.rb:55:in `require'
extconf failed, exit code 1
Gem files will remain installed in /Users/dean/.rvm/gems/ruby-2.1.2@app/gems/narray-0.6.0.9 for inspection.
Results logged to /Users/dean/.rvm/gems/ruby-2.1.2@app/extensions/x86_64-darwin-13/2.1.0/narray-0.6.0.9/gem_make.out
).
Installing fastimage...
Installing fuzzy-string-match...
Installing levenshtein-ffi...
Building native extensions. This could take a while...
Warning: couldn't install gem 'levenshtein-ffi' (ERROR: Failed to build gem native extension.
/Users/dean/.rvm/rubies/ruby-2.1.2/bin/ruby extconf.rb
/Users/dean/.rvm/gems/ruby-2.1.2@global/gems/bundler-1.7.2/lib/bundler/spec_set.rb:92:in `block in materialize': Could not find nokogiri-1.6.3.1 in any of the sources (Bundler::GemNotFound)
from /Users/dean/.rvm/gems/ruby-2.1.2@global/gems/bundler-1.7.2/lib/bundler/spec_set.rb:85:in `map!'
from /Users/dean/.rvm/gems/ruby-2.1.2@global/gems/bundler-1.7.2/lib/bundler/spec_set.rb:85:in `materialize'
from /Users/dean/.rvm/gems/ruby-2.1.2@global/gems/bundler-1.7.2/lib/bundler/definition.rb:132:in `specs'
from /Users/dean/.rvm/gems/ruby-2.1.2@global/gems/bundler-1.7.2/lib/bundler/definition.rb:177:in `specs_for'
from /Users/dean/.rvm/gems/ruby-2.1.2@global/gems/bundler-1.7.2/lib/bundler/definition.rb:166:in `requested_specs'
from /Users/dean/.rvm/gems/ruby-2.1.2@global/gems/bundler-1.7.2/lib/bundler/environment.rb:18:in `requested_specs'
from /Users/dean/.rvm/gems/ruby-2.1.2@global/gems/bundler-1.7.2/lib/bundler/runtime.rb:13:in `setup'
from /Users/dean/.rvm/gems/ruby-2.1.2@global/gems/bundler-1.7.2/lib/bundler.rb:121:in `setup'
from /Users/dean/.rvm/gems/ruby-2.1.2@global/gems/bundler-1.7.2/lib/bundler/setup.rb:17:in `<top (required)>'
from /Users/dean/.rvm/rubies/ruby-2.1.2/lib/ruby/2.1.0/rubygems/core_ext/kernel_require.rb:55:in `require'
from /Users/dean/.rvm/rubies/ruby-2.1.2/lib/ruby/2.1.0/rubygems/core_ext/kernel_require.rb:55:in `require'
extconf failed, exit code 1
Gem files will remain installed in /Users/dean/.rvm/gems/ruby-2.1.2@app/gems/ffi-1.9.3 for inspection.
Results logged to /Users/dean/.rvm/gems/ruby-2.1.2@app/extensions/x86_64-darwin-13/2.1.0/ffi-1.9.3/gem_make.out
).
2. Installing dependencies for the English language.
Installing rbtagger...
Building native extensions. This could take a while...
Warning: couldn't install gem 'rbtagger' (ERROR: Failed to build gem native extension.
/Users/dean/.rvm/rubies/ruby-2.1.2/bin/ruby extconf.rb
/Users/dean/.rvm/gems/ruby-2.1.2@global/gems/bundler-1.7.2/lib/bundler/spec_set.rb:92:in `block in materialize': Could not find nokogiri-1.6.3.1 in any of the sources (Bundler::GemNotFound)
from /Users/dean/.rvm/gems/ruby-2.1.2@global/gems/bundler-1.7.2/lib/bundler/spec_set.rb:85:in `map!'
from /Users/dean/.rvm/gems/ruby-2.1.2@global/gems/bundler-1.7.2/lib/bundler/spec_set.rb:85:in `materialize'
from /Users/dean/.rvm/gems/ruby-2.1.2@global/gems/bundler-1.7.2/lib/bundler/definition.rb:132:in `specs'
from /Users/dean/.rvm/gems/ruby-2.1.2@global/gems/bundler-1.7.2/lib/bundler/definition.rb:177:in `specs_for'
from /Users/dean/.rvm/gems/ruby-2.1.2@global/gems/bundler-1.7.2/lib/bundler/definition.rb:166:in `requested_specs'
from /Users/dean/.rvm/gems/ruby-2.1.2@global/gems/bundler-1.7.2/lib/bundler/environment.rb:18:in `requested_specs'
from /Users/dean/.rvm/gems/ruby-2.1.2@global/gems/bundler-1.7.2/lib/bundler/runtime.rb:13:in `setup'
from /Users/dean/.rvm/gems/ruby-2.1.2@global/gems/bundler-1.7.2/lib/bundler.rb:121:in `setup'
from /Users/dean/.rvm/gems/ruby-2.1.2@global/gems/bundler-1.7.2/lib/bundler/setup.rb:17:in `<top (required)>'
from /Users/dean/.rvm/rubies/ruby-2.1.2/lib/ruby/2.1.0/rubygems/core_ext/kernel_require.rb:55:in `require'
from /Users/dean/.rvm/rubies/ruby-2.1.2/lib/ruby/2.1.0/rubygems/core_ext/kernel_require.rb:55:in `require'
extconf failed, exit code 1
Gem files will remain installed in /Users/dean/.rvm/gems/ruby-2.1.2@app/gems/rbtagger-0.4.7 for inspection.
Results logged to /Users/dean/.rvm/gems/ruby-2.1.2@app/extensions/x86_64-darwin-13/2.1.0/rbtagger-0.4.7/gem_make.out
).
Installing ruby-stemmer...
Building native extensions. This could take a while...
Warning: couldn't install gem 'ruby-stemmer' (ERROR: Failed to build gem native extension.
/Users/dean/.rvm/rubies/ruby-2.1.2/bin/ruby extconf.rb
/Users/dean/.rvm/gems/ruby-2.1.2@global/gems/bundler-1.7.2/lib/bundler/spec_set.rb:92:in `block in materialize': Could not find nokogiri-1.6.3.1 in any of the sources (Bundler::GemNotFound)
from /Users/dean/.rvm/gems/ruby-2.1.2@global/gems/bundler-1.7.2/lib/bundler/spec_set.rb:85:in `map!'
from /Users/dean/.rvm/gems/ruby-2.1.2@global/gems/bundler-1.7.2/lib/bundler/spec_set.rb:85:in `materialize'
from /Users/dean/.rvm/gems/ruby-2.1.2@global/gems/bundler-1.7.2/lib/bundler/definition.rb:132:in `specs'
from /Users/dean/.rvm/gems/ruby-2.1.2@global/gems/bundler-1.7.2/lib/bundler/definition.rb:177:in `specs_for'
from /Users/dean/.rvm/gems/ruby-2.1.2@global/gems/bundler-1.7.2/lib/bundler/definition.rb:166:in `requested_specs'
from /Users/dean/.rvm/gems/ruby-2.1.2@global/gems/bundler-1.7.2/lib/bundler/environment.rb:18:in `requested_specs'
from /Users/dean/.rvm/gems/ruby-2.1.2@global/gems/bundler-1.7.2/lib/bundler/runtime.rb:13:in `setup'
from /Users/dean/.rvm/gems/ruby-2.1.2@global/gems/bundler-1.7.2/lib/bundler.rb:121:in `setup'
from /Users/dean/.rvm/gems/ruby-2.1.2@global/gems/bundler-1.7.2/lib/bundler/setup.rb:17:in `<top (required)>'
from /Users/dean/.rvm/rubies/ruby-2.1.2/lib/ruby/2.1.0/rubygems/core_ext/kernel_require.rb:55:in `require'
from /Users/dean/.rvm/rubies/ruby-2.1.2/lib/ruby/2.1.0/rubygems/core_ext/kernel_require.rb:55:in `require'
extconf failed, exit code 1
Gem files will remain installed in /Users/dean/.rvm/gems/ruby-2.1.2@app/gems/ruby-stemmer-0.9.3 for inspection.
Results logged to /Users/dean/.rvm/gems/ruby-2.1.2@app/extensions/x86_64-darwin-13/2.1.0/ruby-stemmer-0.9.3/gem_make.out
).
Installing punkt-segmenter...
Installing tactful_tokenizer...
Installing nickel...
Installing rwordnet...
Installing uea-stemmer...
Installing engtagger...
Installing activesupport...
Installing srx-english...
Installing scalpel...
=> nil Btw, the rake task |
Hi @x44x45x41x4E, You seem to have issues building native C extensions - this is most likely a Ruby issue. Are you able to build any of the missing gems individually using The rake task is for development purposes only. You could, however, copy it into your app's Rakefile to get a more CI-friendly way of downloading the language package. Louis |
Hi @louismullie, Using Thanks |
Here's the rake task: https://github.com/louismullie/treat/blob/febc47a9059d02d1f8c09e8ce2afe2df01cade3a/Rakefile I don't plan on having the time to investigate this soon. You are welcome to try to fix it an submit a PR if you wish :) |
On a clean installation of Rails 4, I cannot successfully complete the rake installation task.
Here is the complete console output:
Is there a reason that there is a separate rake install task to install these gems instead of just adding them to .gemspec as dependencies?
The text was updated successfully, but these errors were encountered: