Comments (9)
mh, can you try this?
sudo apt-get install ruby1.9-dev
from clip.
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.
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.
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.
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.
@Kakani Is gemspec still illformed for current fnordmetrc?
from clip.
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.
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.
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)
- Binaries? HOT 9
- mysql_real_connect() failed: Access denied for user 'root'@'HOST HOT 2
- Support for views
- d
- SValues from mysql backend always created as strings
- Cannot import postgresql table
- Broken pipe? anything wrong๏ผ
- Fail to compile install chartsql on centos6.7 x64 HOT 2
- Fail to make and install in Centos 7
- Crashed when trying to start Fnordmetric Server
- Building with `make -j` can cause system crashes HOT 1
- Versioned Releases HOT 1
- Ubuntu - Installation process fails - cmake . HOT 2
- Build Failure with Apple Clang 10 HOT 3
- CLI syntax in getting started guide is wrong HOT 1
- Reason for "original Microsoft Arial" and workaround ?
- A SEGV fault was discovered in clip
- A SEGV fault was discovered in clip
- A SEGV fault was discovered in function clip
- CLIP-LANG.ORG is no longer available
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google โค๏ธ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from clip.