rubygems

While installing http_parser.rb ERROR: Failed to build gem native extension

梦想的初衷 提交于 2021-02-20 18:53:52
问题 i'm new to all of this but i get this error when i try to install http_parser using gem: dongl_000@LENNY ~/ava-home (master) $ gem install http_parser.rb -v '0.6.0' Building native extensions. This could take a while... ERROR: Error installing http_parser.rb: ERROR: Failed to build gem native extension. c:/Ruby22-x64/bin/ruby.exe -r ./siteconf20160217-15056-1hoiyfc.rb extconf.rb creating Makefile make "DESTDIR=" clean make "DESTDIR=" generating ruby_http_parser-x64-mingw32.def make: *** No

While installing http_parser.rb ERROR: Failed to build gem native extension

折月煮酒 提交于 2021-02-20 18:53:27
问题 i'm new to all of this but i get this error when i try to install http_parser using gem: dongl_000@LENNY ~/ava-home (master) $ gem install http_parser.rb -v '0.6.0' Building native extensions. This could take a while... ERROR: Error installing http_parser.rb: ERROR: Failed to build gem native extension. c:/Ruby22-x64/bin/ruby.exe -r ./siteconf20160217-15056-1hoiyfc.rb extconf.rb creating Makefile make "DESTDIR=" clean make "DESTDIR=" generating ruby_http_parser-x64-mingw32.def make: *** No

Latest omniauth-facebook gem breaks devise

拟墨画扇 提交于 2021-02-20 09:45:48
问题 ruby '2.6.3' gem 'rails', '~> 6.0.2', '>= 6.0.2.1' I'm using the latest omniauth-facebook and devise together Gemfile: gem 'devise' gem 'omniauth-facebook' Getting this error when starting the server: /versions/2.6.3/lib/ruby/gems/2.6.0/gems/devise-4.7.3/lib/devise/omniauth.rb:12:in `': You are using an old OmniAuth version, please ensure you have 1.0.0.pr2 version or later installed. (RuntimeError) The problem is that if I try to use older omniauth-facebook versions the server works but then

Latest omniauth-facebook gem breaks devise

对着背影说爱祢 提交于 2021-02-20 09:41:56
问题 ruby '2.6.3' gem 'rails', '~> 6.0.2', '>= 6.0.2.1' I'm using the latest omniauth-facebook and devise together Gemfile: gem 'devise' gem 'omniauth-facebook' Getting this error when starting the server: /versions/2.6.3/lib/ruby/gems/2.6.0/gems/devise-4.7.3/lib/devise/omniauth.rb:12:in `': You are using an old OmniAuth version, please ensure you have 1.0.0.pr2 version or later installed. (RuntimeError) The problem is that if I try to use older omniauth-facebook versions the server works but then

Big Sur Update Leads to Multiple Load Error Rails Ruby

你离开我真会死。 提交于 2021-02-20 02:53:29
问题 After updating to Big Sur, my ruby (2.6.3) on rails (5.2.1) application repeatedly has LoadError when running rails s or rails db:migrate . I have tried uninstall and reinstall rails multiple time but it will only work 1 or 2 times before encountering LoadError again. Here are some samples of the errors (Note that they are different) /Library/Ruby/Gems/2.6.0/gems/activesupport-5.2.1/lib/active_support/dependencies.rb:287:in `require': cannot load such file -- new_relic/agent/instrumentation

Big Sur Update Leads to Multiple Load Error Rails Ruby

◇◆丶佛笑我妖孽 提交于 2021-02-20 02:52:49
问题 After updating to Big Sur, my ruby (2.6.3) on rails (5.2.1) application repeatedly has LoadError when running rails s or rails db:migrate . I have tried uninstall and reinstall rails multiple time but it will only work 1 or 2 times before encountering LoadError again. Here are some samples of the errors (Note that they are different) /Library/Ruby/Gems/2.6.0/gems/activesupport-5.2.1/lib/active_support/dependencies.rb:287:in `require': cannot load such file -- new_relic/agent/instrumentation

GCC compilation error when installing Nokogiri

放肆的年华 提交于 2021-02-18 21:58:44
问题 I'm trying to run bundle install but I'm getting the Error while trying to Install Nokogiri 1.10.3 Here is the error message from mkmf.log . gcc -o conftest -I/home/chille/.rvm/rubies/ruby-2.5.1/include/ruby-2.5.0/x86_64-linux -I/home/chille/.rvm/rubies/ruby-2.5.1/include/ruby-2$ gcc: error: unrecognized command line option '-Wmisleading-indentation' gcc: error: unrecognized command line option '-Wimplicit-fallthrough=0' gcc: error: unrecognized command line option '-Wduplicated-cond' gcc:

Timeout when installing ruby gems

情到浓时终转凉″ 提交于 2021-02-18 11:22:13
问题 I'm trying to install the bundler gem using $ gem install bundler . When I execute the command, I receive the following response: ERROR: Could not find a valid gem 'bundler' (>= 0), here is why: Unable to download data from https://rubygems.org/ - Errno::ETIMEDOUT: Operation timed out - connect(2) (https://api.rubygems.org/latest_specs.4.8.gz) ERROR: Possible alternatives: bundler In an effort to make sure I wasn't going crazy, I tried installing nokogiri: ERROR: Could not find a valid gem

How to fix error requiring 'ibm_db' gem on Windows

痞子三分冷 提交于 2021-02-11 14:35:39
问题 I'm running Ruby 2.6.3p62 32-bit on Windows 10 64-bit. I installed it using the Ruby Installer. I successfully installed the gem 'ibm_db' without any errors. I downloaded the DB2-clidriver from http://public.dhe.ibm.com/ibmdl/export/pub/software/data/db2/drivers/odbc_cli/nt32_odbc_cli.zip, unzipped it an set the environment variable IBM_DB_HOME to its location. In addition, I added IBM_DB_HOME\bin to the PATH variable. When requiring the ibm_db I get the following error: C:\Users\myuser

Bundler could not find compatible versions for gem “rails” | In Gemfile: rails (~> 6.1.0) x64-mingw3

橙三吉。 提交于 2021-02-10 17:37:19
问题 I'm developing a new Ruby on Rails project with Spree Commerce and while running bundle install I'm getting the following error: Bundler could not find compatible versions for gem "rails": rails (~> 6.1.0) x64-mingw32 spree (~> 4.1) x64-mingw32 was resolved to 4.2.0.beta, which depends on spree_core (= 4.2.0.beta) was resolved to 4.2.0.beta, which depends on rails (~> 6.0.0) I'm following Spree Commerce Docs for its installation. I'm on Windows 10 , using Ruby 2.7.2 , Bundler 2.2.3 and Rails