Git Product home page Git Product logo

Comments (9)

asmuth avatar asmuth commented on May 1, 2024

mh, can you try this?

sudo apt-get install ruby1.9-dev

from clip.

arctica avatar arctica commented on May 1, 2024

After purgeing all the old ruby packages and installing ruby1.9 ruby1.9-dev and rubygems1.9, I got to the following point:

sh-3.2# gem install fnordmetric
Building native extensions.  This could take a while...
Building native extensions.  This could take a while...
Building native extensions.  This could take a while...
Building native extensions.  This could take a while...
ERROR:  Error installing fnordmetric:
    ERROR: Failed to build gem native extension.

/usr/bin/ruby1.9 extconf.rb install fnordmetric
creating Makefile

make
cc -I. -I/usr/include/ruby-1.9.0/x86_64-linux -I/usr/include/ruby-1.9.0 -I.   -fPIC -fno-strict-aliasing -g -g -O3 -O2 -g -Wall -Wno-parentheses  -fPIC  -o parser.o -c parser.c
In file included from parser.rl:2:
parser.h:7:16: error: re.h: No such file or directory
parser.h:13:16: error: st.h: No such file or directory
make: *** [parser.o] Error 1

Seems like it's missing some includes but I have no idea what libraries they are used with.

from clip.

dget avatar dget commented on May 1, 2024

I went through this whole dance with Ubuntu 10.04. I'm not sure how strict the version requirement (1.9.2) is, but I ended up having to compile ruby from source since the ruby1.9 package I had was only 1.9.0 (and track down a list of dependencies beforehand to apt install). It might not be the same case as yours, but a possibility.

from clip.

JohnMurray avatar JohnMurray commented on May 1, 2024

If you're running RVM then you can run the command rvm requirements which will show you the particular packages you need to install on your Debian/Ubuntu system.

from clip.

Kakani avatar Kakani commented on May 1, 2024

I am trying to install fnordmetric gem in my rails application. I installed the gem with this command sudo gem install fnordmetric. Gem is installed but i am getting this error when i run the server through script/server

invalid gemspec in illformed requirement in /usr/local/lib/ruby/gems/1.8/specifications/fnordmetric-1.0 gemspec
and in /code/ts-delayed-delta/ruby/gems/1.8/specifications/fnordmetric-1.0 gemspec

I updated the gems using sudo gem update --system. Still i am getting the same error.

Can anyone suggest me how to overcome this problem..?
Thank you in advance

from clip.

sheerun avatar sheerun commented on May 1, 2024

@Kakani Is gemspec still illformed for current fnordmetrc?

from clip.

Kakani avatar Kakani commented on May 1, 2024

I am using ruby 1.8 and rails 2.3, but fnordmetric gem supports for rails 3 and ruby 1.9 onwards that's why I got this error.

from clip.

sheerun avatar sheerun commented on May 1, 2024

I guess this can be closed?

On Tue, Oct 22, 2013 at 5:11 AM, Kakani [email protected] wrote:

I am using ruby 1.8 and rails 2.3, but fnordmetric gem supports for rails
3 and ruby 1.9 onwards that's why I got this error.

โ€”
Reply to this email directly or view it on GitHubhttps://github.com//issues/3#issuecomment-26774285
.

from clip.

rahulkapur85 avatar rahulkapur85 commented on May 1, 2024

I watched the video and followed all the instruction of Fnordmetric railscast.
install redis
redis-server /usr/local/etc/redis.conf

Redis is working fine on my local(Ubuntu 12.04)
gem install fnordmetric

Installed successfully.
Created new fnordmetric.rb file
When I run ruby fnordmetric.rb on terminal

$ ruby fnordmetric.rb
./fnordmetric.rb:3: uninitialized constant FnordMetric (NameError)
from fnordmetric.rb:1:in `require'
from fnordmetric.rb:1

I am getting above error.

Please help me to fix this issue and get it working

Thanks in advance

from clip.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.