Re: [Sugar-devel] An error occurred while installing json (1.8.6), and Bundler cannot continue. Make sure that `gem install json -v '1.8.6'` succeeds before bundling
On Mon, Nov 20, 2017 at 10:34:59AM +0100, Samson Goddy wrote: > I fixed the first problem, using the link > http://blog.mclaughlinsoftware.com/2015/04/10/install-ruby-on-fedora/ Interesting, thanks. Can't see how that page is connected to the problem, but if it worked, great. > But at the same time, the problem was from Fedora itself, they have > issues with > > gcc: error: /usr/lib/rpm/redhat/redhat-hardened-cc1: No such file or directory > > So i fixed it with this command sudo dnf install redhat-rpm-config > > But now i am stuck here too.. By laptop power is down.. I have little power > problems > > [samson@localhost www-sugarlabs]$ jekyll serve --incremental > WARN: Unresolved specs during Gem::Specification.reset: > listen (~> 3.0) > WARN: Clearing out unresolved specs. > Please report a bug if this causes problems. > /home/samson/.gem/ruby/2.4.0/gems/bundler-1.16.0/lib/bundler/runtime.rb:313:in > `check_for_activated_spec!': You have already activated addressable > 2.5.2, but your Gemfile requires addressable 2.5.0. Prepending > `bundle exec` to your command may solve this. (Gem::LoadError) Gemfile.lock was written back around 29th August, and since then the available version of "addressable" has changed to 2.5.2 for you, yet the file specifies an exact match of 2.5.0. Just a wild guess, but on the assumption that the API has not changed since 2.5.0, you might change line 10 of Gemfile.lock to read ">= 2.5.0" instead of "2.5.0" @geekrypter, Seetarama, does this seem reasonable? > [...] > Anyone with good insight could point things out, afterwards we can > update the README.md file. As you wish. -- James Cameron http://quozl.netrek.org/ ___ Sugar-devel mailing list Sugar-devel@lists.sugarlabs.org http://lists.sugarlabs.org/listinfo/sugar-devel
Re: [Sugar-devel] An error occurred while installing json (1.8.6), and Bundler cannot continue. Make sure that `gem install json -v '1.8.6'` succeeds before bundling
I fixed the first problem, using the link http://blog.mclaughlinsoftware.com/2015/04/10/install-ruby-on-fedora/ But at the same time, the problem was from Fedora itself, they have issues with gcc: error: /usr/lib/rpm/redhat/redhat-hardened-cc1: No such file or directory So i fixed it with this command sudo dnf install redhat-rpm-config But now i am stuck here too.. By laptop power is down.. I have little power problems [samson@localhost www-sugarlabs]$ jekyll serve --incremental WARN: Unresolved specs during Gem::Specification.reset: listen (~> 3.0) WARN: Clearing out unresolved specs. Please report a bug if this causes problems. /home/samson/.gem/ruby/2.4.0/gems/bundler-1.16.0/lib/bundler/runtime.rb:313:in `check_for_activated_spec!': You have already activated addressable 2.5.2, but your Gemfile requires addressable 2.5.0. Prepending `bundle exec` to your command may solve this. (Gem::LoadError) from /home/samson/.gem/ruby/2.4.0/gems/bundler-1.16.0/lib/bundler/runtime.rb:31:in `block in setup' from /usr/share/ruby/forwardable.rb:229:in `each' from /usr/share/ruby/forwardable.rb:229:in `each' from /home/samson/.gem/ruby/2.4.0/gems/bundler-1.16.0/lib/bundler/runtime.rb:26:in `map' from /home/samson/.gem/ruby/2.4.0/gems/bundler-1.16.0/lib/bundler/runtime.rb:26:in `setup' from /home/samson/.gem/ruby/2.4.0/gems/bundler-1.16.0/lib/bundler.rb:107:in `setup' from /usr/local/share/gems/gems/jekyll-3.3.1/lib/jekyll/plugin_manager.rb:36:in `require_from_bundler' from /usr/local/share/gems/gems/jekyll-3.3.1/exe/jekyll:9:in `' from /usr/local/bin/jekyll:23:in `load' from /usr/local/bin/jekyll:23:in `' Anyone with good insight could point things out, afterwards we can update the README.md file. On Sun, Nov 19, 2017 at 10:37 PM, James Cameronwrote: > On Sun, Nov 19, 2017 at 02:29:38PM +0100, Samson Goddy wrote: > > i cloned the www-sugarlabs trying to run it on Fedora 27, > > after doing > > bundle install; > > i keep getting this error > > [samson@localhost www-sugarlabs]$ bundle install; > > [...] > > Anyone will similar issues? > > > > Hrishi? Seetaramaraju? James? walter? > > Sorry, I'm not familiar with the development tools needed. > > Should you discover a fix, such as installing a dependency before > `bundle install`, please update the README.md file. > > -- > James Cameron > http://quozl.netrek.org/ > ___ Sugar-devel mailing list Sugar-devel@lists.sugarlabs.org http://lists.sugarlabs.org/listinfo/sugar-devel
Re: [Sugar-devel] An error occurred while installing json (1.8.6), and Bundler cannot continue. Make sure that `gem install json -v '1.8.6'` succeeds before bundling
On Sun, Nov 19, 2017 at 02:29:38PM +0100, Samson Goddy wrote: > i cloned the www-sugarlabs trying to run it on Fedora 27, > after doing > bundle install; > i keep getting this error > [samson@localhost www-sugarlabs]$ bundle install; > [...] > Anyone will similar issues? > > Hrishi? Seetaramaraju? James? walter? Sorry, I'm not familiar with the development tools needed. Should you discover a fix, such as installing a dependency before `bundle install`, please update the README.md file. -- James Cameron http://quozl.netrek.org/ ___ Sugar-devel mailing list Sugar-devel@lists.sugarlabs.org http://lists.sugarlabs.org/listinfo/sugar-devel
Re: [Sugar-devel] An error occurred while installing json (1.8.6), and Bundler cannot continue. Make sure that `gem install json -v '1.8.6'` succeeds before bundling
Hi Samson. It looks like you don't have the development package installed and library header needed to build gems are missing. *mkmf.rb can't find header files for ruby at /usr/share/include/ruby.h * Try installing ruby-dev and other essential packages. http://blog.mclaughlinsoftware.com/2015/04/10/install-ruby-on-fedora/ Let me know if it helps. Thanks, Jatin Dhankhar On Sun, Nov 19, 2017 at 6:59 PM, Samson Goddywrote: > i cloned the www-sugarlabs trying to run it on Fedora 27, > > after doing > > bundle install; > > i keep getting this error > > [samson@localhost www-sugarlabs]$ bundle install; > Fetching gem metadata from https://rubygems.org/. > Using i18n 0.8.1 > Fetching json 1.8.6 > Installing json 1.8.6 with native extensions > Gem::Ext::BuildError: ERROR: Failed to build gem native extension. > > current directory: /home/samson/.gem/ruby/2.4.0/ > gems/json-1.8.6/ext/json/ext/generator > /usr/bin/ruby -r ./siteconf20171119-626-198n0qq.rb extconf.rb > mkmf.rb can't find header files for ruby at /usr/share/include/ruby.h > > extconf failed, exit code 1 > > Gem files will remain installed in > /home/samson/.gem/ruby/2.4.0/gems/json-1.8.6 > for inspection. > Results logged to /home/samson/.gem/ruby/2.4.0/ > extensions/x86_64-linux/2.4.0/json-1.8.6/gem_make.out > > An error occurred while installing json (1.8.6), and Bundler cannot > continue. > Make sure that `gem install json -v '1.8.6'` succeeds before bundling. > > In Gemfile: > github-pages was resolved to 126, which depends on > jekyll-mentions was resolved to 1.2.0, which depends on > html-pipeline was resolved to 2.5.0, which depends on > activesupport was resolved to 4.2.7, which depends on > json > > Anyone will similar issues? > > Hrishi? Seetaramaraju? James? walter? > > > > > > ___ > Sugar-devel mailing list > Sugar-devel@lists.sugarlabs.org > http://lists.sugarlabs.org/listinfo/sugar-devel > > ___ Sugar-devel mailing list Sugar-devel@lists.sugarlabs.org http://lists.sugarlabs.org/listinfo/sugar-devel