Displaying 20 results from an estimated 1100 matches similar to: "Gems installation into custom directory"
2006 May 18
4
Install Glitch
Ubuntu 5.10, Ruby 1.8.3. I installed rubygems, then tried rails, and
get a tragic looking error at the end. Is this a problem? It looks
related to rdoc.
root@bonus:/usr/local/rubygems-0.8.11# gem install rails --include-dependencies
Attempting local installation of ''rails''
Local gem file not found: rails*.gem
Attempting remote installation of ''rails''
2006 Apr 19
3
help! installing rubygems in ubuntu... problems with zlib
Hi,
I am trying to install Ruby on Rails on a Linux Ubuntu PC. I already
installed manually ruby 1.8.4. But when I try to install rubygems, I get
the error:
/usr/local/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:21:in
`require__'': no such file to load -- zlib (LoadError)
from
/usr/local/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:21:in
`require''
2006 May 26
4
Using ''validates_inclusion_of'' to validate foreign key
I seem to be missing something trying to use ''validates_inclusion_of'' to
validate a foreign key and was hoping some one could piont out my
mistake?
The problem seems to be that Order.find_all.collect is not returning an
array that contains the order_id, if I replace it with a hardcoded array
everything works as expected.
The model:
class OrderItem < ActiveRecord::Base
2006 May 16
3
Installing the Postgres gem on Ubuntu
Hi,
I''m having difficulty installing the "postgres" gem. postgres-pr
installed fine, but whenever I run:
sudo gem install postgres
I get:
ERROR: While executing gem ... (RuntimeError)
ERROR: Failed to build gem native extension.
Gem files will remain installed in
/usr/lib/ruby/gems/1.8/gems/postgres-0.7.1 for inspection.
I''ve had a bit of a poke around, and
2008 Apr 09
6
64bit srpm build error under CentOS 5.1
When trying to build the centos5 srpm under x86_64 I am getting the following error:
Checking for unpackaged file(s): /usr/lib/rpm/check-files /var/tmp/xen-3.2.0-0xs-root
error: Installed (but unpackaged) file(s) found:
/usr/lib/xen/boot/hvmloader
RPM build errors:
Installed (but unpackaged) file(s) found:
/usr/lib/xen/boot/hvmloader
Anyone have any ideas as to what causes this?
2005 Aug 14
5
RPM SPEC rebuild errors
Hello All,
I have been trying all afternoon to rebuild the Samba RPM for my Fedora
3 with the MySQL passdb support and from what I can see it only needs
the inclusion of "--with-expsam=mysql" in the SPEC file in addition to
the regular ones.
The problem is that no matter what version of Samba I try to rebuild, it
always gice an error at the same place:
2003 Apr 05
1
bug in install-info.pl ?
I have run across a minor problem which would seem to be a bug in the
install-info.pl script. My data regard R 1.6.2 but I don't suppose the
script has been changed so perhaps this could be fixed for R 1.7.0.
Someone mailed me saying they could not recompile my R 1.6.2 src.rpm for
mandrake 9.1. This was the error message:
.....
Checking for unpackaged file(s): /usr/lib/rpm/check-files
2013 Oct 08
1
OT: errors compiling kernel module as a rpm package
Hi all,
I am trying to compile openswitch's kernel module in a CentOS 6.4
host, but fails in rpm-check:
Requires: kernel(__alloc_percpu) = 0x55f2580b kernel(__alloc_skb) =
0x25421969 kernel(__dev_get_by_index) = 0x6a6d551b
kernel(__init_waitqueue_head) = 0xffc7c184 kernel(__ip_select_ident) =
0x848695b3 kernel(__kmalloc) = 0x5a34a45c kernel(__list_add) =
0x0343a1a8 kernel(__nla_put) =
2007 Apr 05
1
unable to build rpm from cvsnt.spec file on Centos4.4
Hi Friends,
I downloaded the cvsnt 2.5.04.2047 version from achrives. I using
Centos 4.4 and I am trying to install cvsnt through cvsnt.spec file.
When I run the command
rpmbuild --bb cvsnt.spec
I get the below error at the end. I don't know the reason why the
rpmbuilding is failing . What package or rpm do I need to install to
fulfill this dependency or get rid of this error ?
Processing
2003 Sep 04
2
build samba rpm for redhat 9
Hello group,
I have downloaded the source file of samba 3:
samba-3.0.0rc2-1.src.rpm.And build it for redhat 9.0,I
didn't see any redhat package of samba 3 for redhat
9.0.
when i install the source,and built redhat package
using the following command: rpmbuild -ba samba3.spec.
It seem OK,but at last,it report the error:
Can everybody help me and show me how to fix the
error.
Thanks a lot.
2006 May 13
3
Non-customizable parts in the routes hierarchy-chain.
Hi
I created a custom route that looks like this:
map.connect '':controller/:table/:action/:id''
Hierarchically, :table is above :action and :id. So, if we call
ActionController::Base#url_for with an argument :table=>nil, we''re
supposed to get a url with :action and :id set to nil as well.
However, this is not the case:
url_for(:table=>nil) from
2020 Feb 18
1
install_prereq install-unpackaged fails on Debian Buster
Hello,
For the very first time, I tried the command bellow on a newly build Debian
Buster box on which I successfully built Asterisk 17.2.0 before. I got :
# contrib/scripts/install_prereq install-unpackaged
*** Installing NBS (Network Broadcast Sound) ***
A nbs-trunk/LICENSE
A nbs-trunk/nbsclient.c
A nbs-trunk/nbsd.c
A nbs-trunk/nbs.h
A nbs-trunk/nbscat.c
A nbs-trunk/Makefile
2004 Dec 08
4
i need serious help
I have absolutely no idea how to use linux and I am
trying to install WINE.
I am running Linspire 4.5 and I actually want to
install winesetuptk (this is what it tells me to do
when i try to run a program with WINE). I downloaded
the tar.bz2 file from sourceforge and have no idea
what to do from there. When you guys say, type ~/blah
blah I do not know what that means, type it where? I
need
2009 Apr 19
1
rpmbuild failure
I'm trying to rebuild nx-3.2.0-8.el5.centos.src.rpm from the extras repo.
It works on a machine running 5.1, but fails on another running 5.3. The
working machine is arch=x86_64, the other i386. The strange bit is the line
rpmbuild complains about: it's the last line in the spec file, at the end
of the %changelog section:
[...]
Processing files: nx-debuginfo-3.2.0-8
Finding Provides:
2006 Apr 18
6
Postgresql and ActiveRecords problems
Hi all. I have a problem with postgresql PK columns and ActiveRecord.
The error is: PGError: ERROR: null value in column "item_id" violates
not-null.
Ok, it''s wrong to insert NULL into PK columns, but rails doing it. How
to fix? So sad..
2006 Apr 20
2
Which Rails revision am I using ?
I have an old Rails release frozen in /vendor... but can''t for the life of
me find out which revision it actually is.
I just froze edge, and noticed a "REVISION ####" file in the apps root,
which is a nice addition ;)
Any insight into this would be great. Thanks !
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
2006 Apr 20
4
ActiveRecord: Many-to-Many problem
I am trying to make many-to-may relationship on classes Section and
Content.
Both Content and Section has:
has_and_belongs_to_many :contents and has_and_belongs_to_many :sections
and I have an exception when trying to access model properties:
"undefined method `add_contents'' for #<Section:0xb745c514>"
def add_content_entry
@section = Section.find(params[:section_id])
2006 Apr 21
3
Conceptual q about rails
Classes like activerecord, etc contains strange elements like
''belongs_to :something'', ''has_many :smth'' etc.. what is it? I can''t find
them in ruby lang documentation.. it''s similar to ''attr_accessor'' and
other costructions, how I can create my own constructions and how I must
understand them? Could anyone give me some links
2015 Mar 24
0
CENTOS 6.6 NUT RPM BUILD ISSUES
On Mar 23, 2015, at 7:57 PM, Eric Cobb <Eric_Cobb at tripplite.com> wrote:
> Number 1 change - 2.7.2 no longer has the HAL scripts that 2.6.5 has. I am working on if HAL is actually required on CentOS6.6 with the 2.7.2 code or if they have another way around it. This is code diving which is taking some time.
HAL support in NUT was bit-rotting, so it was removed. It isn't
2011 May 16
2
princomp and eigen
Hi.
I was comparing the components from princomp's loadings and the eigen given
the same input.
I found that the sign of componenets (+/-) are opposite between the two
components (from princmop and eigen) but the magnitudes are identical. Why?
Thanks!
[[alternative HTML version deleted]]