This forum is no longer active. Please post your questions to our new community site

Recent Posts by rob99

Subscribe to Recent Posts by rob99 20 post(s) found

03 Jun, 2008 07:02 AM
Avatar rob99 20 post(s)

Topic: RubyStack & JRubyStack / [Linux] Problem installing gem in RubyStack 1.2-beta-0

I think so, though as I mentioned – I’m not root. Not sure if that has any implications….


bash-3.00$ gcc -v
Reading specs from /usr/lib/gcc/x86_64-redhat-linux/3.4.6/specs
Configured with: ../configure --prefix=/usr --mandir=/usr/share/man --infodir=/usr/share/info --enable-shared --enable-threads=posix --disable-checking --with-system-zlib --enable-__cxa_atexit --disable-libunwind-exceptions --enable-java-awt=gtk --host=x86_64-redhat-linux
Thread model: posix
gcc version 3.4.6 20060404 (Red Hat 3.4.6-8)

 
03 Jun, 2008 01:03 AM
Avatar rob99 20 post(s)

Topic: RubyStack & JRubyStack / [Linux] Problem installing gem in RubyStack 1.2-beta-0

beltran, thanks once again.

Unfortunately I got the same result as before.

Do you think there’s any merit to the link above, which says ruby need to be compiled with sqlite present?

 
02 Jun, 2008 04:36 AM
Avatar rob99 20 post(s)

Topic: RubyStack & JRubyStack / [Linux] Problem installing gem in RubyStack 1.2-beta-0

Possibly related??:

http://www.linuxquestions.org/questions/slackware-14/default-ruby-missing-library-test-case-provided.-622927/

 
02 Jun, 2008 04:25 AM
Avatar rob99 20 post(s)

Topic: RubyStack & JRubyStack / [Linux] Problem installing gem in RubyStack 1.2-beta-0

Further info:


bash-3.00$ cat ./ruby/lib/ruby/gems/1.8/gems/sqlite3-ruby-1.2.2/ext/sqlite3_api/mkmf.log
have_library: checking for fdatasync() in -lrt... -------------------- no

"gcc -o conftest -I. -I/export/myhome/rubystack-1.2-beta-0/ruby/lib/ruby/1.8/i686-linux -I. -I/export/myhome/rubystack-1.2-beta-0/sqlite//include  -I/export/myhome/rubystack-1.2-beta-0/common/include conftest.c  -L'/export/myhome/rubystack-1.2-beta-0/ruby/lib' -Wl,-R'/export/myhome/rubystack-1.2-beta-0/ruby/lib' -L'/export/myhome/rubystack-1.2-beta-0/sqlite//lib' -Wl,-R'/export/myhome/rubystack-1.2-beta-0/sqlite//lib' -L/export/myhome/rubystack-1.2-beta-0/common/lib -rdynamic -Wl,-export-dynamic     -lruby-static -lrt  -lpthread -ldl -lcrypt -lm   -lc" 
conftest.c: In function `t':
conftest.c:3: error: `fdatasync' undeclared (first use in this function)
conftest.c:3: error: (Each undeclared identifier is reported only once
conftest.c:3: error: for each function it appears in.)
checked program was:
/* begin */
1: /*top*/
2: int main() { return 0; }
3: int t() { void ((*volatile p)()); p = (void ((*)()))fdatasync; return 0; }
/* end */

"gcc -o conftest -I. -I/export/myhome/rubystack-1.2-beta-0/ruby/lib/ruby/1.8/i686-linux -I. -I/export/myhome/rubystack-1.2-beta-0/sqlite//include  -I/export/myhome/rubystack-1.2-beta-0/common/include conftest.c  -L'/export/myhome/rubystack-1.2-beta-0/ruby/lib' -Wl,-R'/export/myhome/rubystack-1.2-beta-0/ruby/lib' -L'/export/myhome/rubystack-1.2-beta-0/sqlite//lib' -Wl,-R'/export/myhome/rubystack-1.2-beta-0/sqlite//lib' -L/export/myhome/rubystack-1.2-beta-0/common/lib -rdynamic -Wl,-export-dynamic     -lruby-static -lrt  -lpthread -ldl -lcrypt -lm   -lc" 
/usr/bin/ld: skipping incompatible /export/myhome/rubystack-1.2-beta-0/ruby/lib/libruby-static.a when searching for -lruby-static
/usr/bin/ld: cannot find -lruby-static
collect2: ld returned 1 exit status
checked program was:
/* begin */
1: /*top*/
2: int main() { return 0; }
3: int t() { fdatasync(); return 0; }
/* end */

--------------------

have_header: checking for sqlite3.h... -------------------- yes

"gcc -E -I. -I/export/myhome/rubystack-1.2-beta-0/ruby/lib/ruby/1.8/i686-linux -I. -I/export/myhome/rubystack-1.2-beta-0/sqlite//include  -I/export/myhome/rubystack-1.2-beta-0/common/include  conftest.c -o conftest.i" 
checked program was:
/* begin */
1: #include <sqlite3.h>
/* end */

--------------------

have_library: checking for sqlite3_open() in -lsqlite3... -------------------- no

"gcc -o conftest -I. -I/export/myhome/rubystack-1.2-beta-0/ruby/lib/ruby/1.8/i686-linux -I. -I/export/myhome/rubystack-1.2-beta-0/sqlite//include  -I/export/myhome/rubystack-1.2-beta-0/common/include conftest.c  -L'/export/myhome/rubystack-1.2-beta-0/ruby/lib' -Wl,-R'/export/myhome/rubystack-1.2-beta-0/ruby/lib' -L'/export/myhome/rubystack-1.2-beta-0/sqlite//lib' -Wl,-R'/export/myhome/rubystack-1.2-beta-0/sqlite//lib' -L/export/myhome/rubystack-1.2-beta-0/common/lib -rdynamic -Wl,-export-dynamic     -lruby-static -lsqlite3  -lpthread -ldl -lcrypt -lm   -lc" 
conftest.c: In function `t':
conftest.c:3: error: `sqlite3_open' undeclared (first use in this function)
conftest.c:3: error: (Each undeclared identifier is reported only once
conftest.c:3: error: for each function it appears in.)
checked program was:
/* begin */
1: /*top*/
2: int main() { return 0; }
3: int t() { void ((*volatile p)()); p = (void ((*)()))sqlite3_open; return 0; }
/* end */

"gcc -o conftest -I. -I/export/myhome/rubystack-1.2-beta-0/ruby/lib/ruby/1.8/i686-linux -I. -I/export/myhome/rubystack-1.2-beta-0/sqlite//include  -I/export/myhome/rubystack-1.2-beta-0/common/include conftest.c  -L'/export/myhome/rubystack-1.2-beta-0/ruby/lib' -Wl,-R'/export/myhome/rubystack-1.2-beta-0/ruby/lib' -L'/export/myhome/rubystack-1.2-beta-0/sqlite//lib' -Wl,-R'/export/myhome/rubystack-1.2-beta-0/sqlite//lib' -L/export/myhome/rubystack-1.2-beta-0/common/lib -rdynamic -Wl,-export-dynamic     -lruby-static -lsqlite3  -lpthread -ldl -lcrypt -lm   -lc" 
/usr/bin/ld: skipping incompatible /export/myhome/rubystack-1.2-beta-0/ruby/lib/libruby-static.a when searching for -lruby-static
/usr/bin/ld: cannot find -lruby-static
collect2: ld returned 1 exit status
checked program was:
/* begin */
1: /*top*/
2: int main() { return 0; }
3: int t() { sqlite3_open(); return 0; }
/* end */

--------------------

bash-3.00$

 
02 Jun, 2008 12:12 AM
Avatar rob99 20 post(s)

Topic: RubyStack & JRubyStack / [Linux] Problem installing gem in RubyStack 1.2-beta-0

Hi beltran,

Thanks for your response. I tried your suggestion but got same result:


bash-3.00$ gem install sqlite3-ruby -- --with-sqlite3-dir=/export/myhome/rubystack-1.2-beta-0/sqlite/
Bulk updating Gem source index for: <a href="http://gems.rubyforge.org">http://gems.rubyforge.org</a>
Building native extensions.  This could take a while...
ERROR:  Error installing sqlite3-ruby:
        ERROR: Failed to build gem native extension.

/export/myhome/rubystack-1.2-beta-0/ruby/bin/ruby extconf.rb install sqlite3-ruby -- --with-sqlite3-dir=/export/myhome/rubystack-1.2-beta-0/sqlite/
checking for fdatasync() in -lrt... no
checking for sqlite3.h... yes
checking for sqlite3_open() in -lsqlite3... no
*** extconf.rb failed ***
Could not create Makefile due to some reason, probably lack of
necessary libraries and/or headers.  Check the mkmf.log file for more
details.  You may need configuration options.

Provided configuration options:
        --with-opt-dir
        --without-opt-dir
        --with-opt-include
        --without-opt-include=${opt-dir}/include
        --with-opt-lib
        --without-opt-lib=${opt-dir}/lib
        --with-make-prog
        --without-make-prog
        --srcdir=.
        --curdir
        --ruby=/export/myhome/rubystack-1.2-beta-0/ruby/bin/ruby
        --with-sqlite3-dir
        --with-sqlite3-include
        --without-sqlite3-include=${sqlite3-dir}/include
        --with-sqlite3-lib
        --without-sqlite3-lib=${sqlite3-dir}/lib
        --with-rtlib
        --without-rtlib
        --with-sqlite3lib
        --without-sqlite3lib

Gem files will remain installed in /export/myhome/rubystack-1.2-beta-0/ruby/lib/ruby/gems/1.8/gems/sqlite3-ruby-1.2.2 for inspection.
Results logged to /export/myhome/rubystack-1.2-beta-0/ruby/lib/ruby/gems/1.8/gems/sqlite3-ruby-1.2.2/ext/sqlite3_api/gem_make.out
bash-3.00$

 
01 Jun, 2008 01:10 AM
Avatar rob99 20 post(s)

Topic: RubyStack & JRubyStack / [Linux] Problem installing gem in RubyStack 1.2-beta-0

Hi,

I encountered the following when trying to install sqlite3-ruby gem. Note stack installed as non-root user:


bash-3.00$ gem environment
RubyGems Environment:
  - RUBYGEMS VERSION: 1.0.1 (1.0.1)
  - RUBY VERSION: 1.8.6 (2007-03-13 patchlevel 0) [i686-linux]
  - INSTALLATION DIRECTORY: /export/myhome/rubystack-1.2-beta-0/ruby/lib/ruby/gems/1.8
  - RUBY EXECUTABLE: /export/myhome/rubystack-1.2-beta-0/ruby/bin/ruby
  - RUBYGEMS PLATFORMS:
    - ruby
    - x86-linux
  - GEM PATHS:
     - /export/myhome/rubystack-1.2-beta-0/ruby/lib/ruby/gems/1.8
  - GEM CONFIGURATION:
     - :update_sources => true
     - :verbose => true
     - :benchmark => false
     - :backtrace => false
     - :bulk_threshold => 1000
  - REMOTE SOURCES:
     - <a href="http://gems.rubyforge.org">http://gems.rubyforge.org</a>
bash-3.00$

bash-3.00$ gem install sqlite3-ruby
Building native extensions.  This could take a while...
ERROR:  Error installing sqlite3-ruby:
        ERROR: Failed to build gem native extension.

/export/myhome/rubystack-1.2-beta-0/ruby/bin/ruby extconf.rb install sqlite3-ruby
checking for fdatasync() in -lrt... no
checking for sqlite3.h... no
*** extconf.rb failed ***
Could not create Makefile due to some reason, probably lack of
necessary libraries and/or headers.  Check the mkmf.log file for more
details.  You may need configuration options.

Provided configuration options:
        --with-opt-dir
        --without-opt-dir
        --with-opt-include
        --without-opt-include=${opt-dir}/include
        --with-opt-lib
        --without-opt-lib=${opt-dir}/lib
        --with-make-prog
        --without-make-prog
        --srcdir=.
        --curdir
        --ruby=/export/myhome/rubystack-1.2-beta-0/ruby/bin/ruby
        --with-sqlite3-dir
        --without-sqlite3-dir
        --with-sqlite3-include
        --without-sqlite3-include=${sqlite3-dir}/include
        --with-sqlite3-lib
        --without-sqlite3-lib=${sqlite3-dir}/lib
        --with-rtlib
        --without-rtlib

Gem files will remain installed in /export/myhome/rubystack-1.2-beta-0/ruby/lib/ruby/gems/1.8/gems/sqlite3-ruby-1.2.2 for inspection.
Results logged to /export/myhome/rubystack-1.2-beta-0/ruby/lib/ruby/gems/1.8/gems/sqlite3-ruby-1.2.2/ext/sqlite3_api/gem_make.out
bash-3.00$
bash-3.00$ which ruby
/export/myhome/rubystack-1.2-beta-0/ruby/bin/ruby

 
11 Mar, 2008 01:06 PM
Avatar rob99 20 post(s)

Topic: RubyStack & JRubyStack / [linux] [jrubystack] error when stopping

Nope. /opt/mypath is my users home, which is why I suspect something is linking to home instead of the install dir (which is actually /opt/mypath/bin).

I haven’t changed anything – it’s a new install (as non root) to which I’ve added an existing rails app in the projects dir…

 
11 Mar, 2008 11:19 AM
Avatar rob99 20 post(s)

Topic: RubyStack & JRubyStack / [linux] [jrubystack] error when stopping

Hi Manuel,

I don’t root access. Installed and running as same non root user.

Only thing I can think of is, at the end of the install, it prompted to start and I accepted. THEN I had to ./rubyconsole. Does that mean it started outside of rubyconsole? Or maybe it takes care of that automatially.

Anyway, I’m in rubyconsole when this happens…

 
11 Mar, 2008 11:16 AM
Avatar rob99 20 post(s)

Topic: RubyStack & JRubyStack / ri not working?

bash-2.05b$ export
declare -x DYLD_LIBRARY_PATH=”/Applications/rubystack-1.0/common/lib:/Applications/rubystack-1.0/sqlite/lib:/Applications/rubystack-1.0/subversion/lib:/Applications/rubystack-1.0/common/lib:/Applications/rubystack-1.0/mysql/lib:/Applications/rubystack-1.0/apache2/lib:/Applications/rubystack-1.0/ruby/lib:”
declare -x GEM_HOME=”/Applications/rubystack-1.0/ruby/lib/ruby/gems/1.8”
declare -x HOME=”/Users/rob”
declare -x LD_LIBRARY_PATH=”/Applications/rubystack-1.0/common/lib:/Applications/rubystack-1.0/sqlite/lib:/Applications/rubystack-1.0/subversion/lib:/Applications/rubystack-1.0/common/lib:/Applications/rubystack-1.0/mysql/lib:/Applications/rubystack-1.0/apache2/lib:/Applications/rubystack-1.0/ruby/lib:”
declare -x LOGNAME=”rob”
declare -x MAGICK_CODER_MODULE_PATH=”/Applications/rubystack-1.0/common/lib/ImageMagick-6.3.4/modules-Q16/coders”
declare -x MAGICK_CONFIGURE_PATH=”/Applications/rubystack-1.0/common/lib/ImageMagick-6.3.4/config:/Applications/rubystack-1.0/common/share/ImageMagick-6.3.4/config”
declare -x MAGICK_HOME=”/Applications/rubystack-1.0/common”
declare -x OLDPWD
declare -x PATH=”/Applications/rubystack-1.0/common/bin:/Applications/rubystack-1.0/sqlite/bin:/Applications/rubystack-1.0/subversion/bin:/Applications/rubystack-1.0/common/bin:/Applications/rubystack-1.0/php/bin:/Applications/rubystack-1.0/mysql/bin:/Applications/rubystack-1.0/apache2/bin:/Applications/rubystack-1.0/ruby/bin:/usr/bin:/bin:/usr/sbin:/sbin”
declare -x PWD=”/Applications/rubystack-1.0/projects”
declare -x RUBYLIB=”/Applications/rubystack-1.0/ruby/lib:/Applications/rubystack-1.0/ruby/lib/ruby:/Applications/rubystack-1.0/ruby/lib/ruby/1.8:/Applications/rubystack-1.0/ruby/lib/ruby/1.8/i686-darwin8.5.3:/Applications/rubystack-1.0/ruby/lib/ruby/1.8/powerpc-darwin8.4.0:/Applications/rubystack-1.0/ruby/lib/ruby/site_ruby:/Applications/rubystack-1.0/ruby/lib/ruby/site_ruby/1.8:/Applications/rubystack-1.0/ruby/lib/ruby/site_ruby/1.8/i686-darwin8.5.3:/Applications/rubystack-1.0/ruby/lib/ruby/site_ruby/1.8/powerpc-darwin8.4.0”
declare -x RUBYOPT=”rubygems”
declare -x RUBY_HOME=”/Applications/rubystack-1.0/ruby”
declare -x SECURITYSESSIONID=”b29980”
declare -x SHELL=”/bin/bash”
declare -x SHLVL=”2”
declare -x TERM=”xterm-color”
declare -x TERM_PROGRAM=”iTerm.app”
declare -x USER=”rob”
declare -x __CF_USER_TEXT_ENCODING=”0×1F5:0:0”
bash-2.05b$ gem list

  • LOCAL GEMS *

abstract (1.0.0) a library which enable you to define abstract method in Ruby

actionmailer (2.0.2) Service layer for easy email delivery and testing.

actionpack (2.0.2) Web-flow and rendering framework putting the VC in MVC.

activerecord (2.0.2) Implements the ActiveRecord pattern for ORM.

activeresource (2.0.2) Think Active Record for web resources.

activesupport (2.0.2) Support and utility classes used by the Rails framework.

capistrano (2.1.0) Capistrano is a utility and framework for executing commands in parallel on multiple remote machines, via SSH.

cgi_multipart_eof_fix (2.5.0) Fix an exploitable bug in CGI multipart parsing.

daemons (1.0.9) A toolkit to create and control daemons in different ways

data_objects (0.2.0) The Core DataObjects class

datamapper (0.2.5) An Object/Relational Mapper for Ruby

do_mysql (0.2.3) A DataObject.rb driver for mysql

erubis (2.4.1) a fast and extensible eRuby implementation which supports multi-language

fastthread (1.0.1) Optimized replacement for thread.rb primitives

gem_plugin (0.2.3) A plugin system based on rubygems that uses dependencies only

highline (1.4.0) HighLine is a high-level command-line IO library.

hoe (1.4.0) Hoe is a way to write Rakefiles much easier and cleaner.

hpricot (0.6) a swift, liberal HTML parser with a fantastic library

json (1.1.2) A JSON implementation as a Ruby extension

json_pure (1.1.2) A JSON implementation in Ruby

mailfactory (1.2.3) MailFactory is a pure-ruby MIME mail generator

merb (0.9.1, 0.5.3, 0.5.2) (merb-core + merb-more) all of Merb

merb-action-args (0.9.1) Merb plugin that provides support for ActionArgs

merb-assets (0.9.1) Merb plugin that provides the helpers for assets and asset bundling

merb-builder (0.9.1) Merb plugin that provides Builder support

merb-core (0.9.1) Merb. Pocket rocket web framework.

merb-gen (0.9.1) Merb More: Merb's Application and Plugin Generators

merb-haml (0.9.1) Merb plugin that provides HAML support

merb-mailer (0.9.1) Merb plugin that provides mailer functionality to Merb

merb-more (0.9.1) (merb - merb-core) merb-more. The Full Stack. Take what you need; leave what you don’t.

merb-parts (0.9.1) Merb More: Merb plugin that provides Part Controllers.

merb_datamapper (0.5) Merb plugin that provides DataMapper support for Merb

merb_helpers (0.5) Helper support for merb (similar to the Rails form helpers)

merbful_authentication (0.1.2, 0.1.1) A Merb plugin that is essentially a port of Rick Olsons restful_authentication plugin for rails

mime-types (1.15) Manages a MIME Content-Type that will return the Content-Type for a given filename.

mongrel (1.1.3) A small fast HTTP library and server that runs Rails, Camping, Nitro and Iowa apps.

mongrel_cluster (1.0.5) Mongrel plugin that provides commands and Capistrano tasks for managing multiple Mongrel processes.

needle (1.3.0) Needle is a Dependency Injection/Inversion of Control container for Ruby. It supports both type-2 (setter) and type-3 (constructor) injection. It takes advantage of the dynamic nature of Ruby to provide a rich and flexible approach to injecting dependencies.

net-sftp (1.1.0) Net::SFTP is a pure-Ruby implementation of the SFTP client protocol.

net-ssh (1.1.2) Net::SSH is a pure-Ruby implementation of the SSH2 client protocol.

ParseTree (2.1.1) ParseTree is a C extension (using RubyInline) that extracts the parse tree for an entire class or a specific method and returns it as a s-expression (aka sexp) using ruby’s arrays, strings, symbols, and integers.

rack (0.2.0) a modular Ruby webserver interface

rails (2.0.2) Web-application framework with template engine, control-flow layer, and ORM.

rake (0.8.1) Ruby based make-like utility.

ramaze (0.3.0) Ramaze is a simple and modular web framework

RedCloth (3.0.4) RedCloth is a module for using Textile and Markdown in Ruby. Textile and Markdown are text formats. A very simple text format. Another stab at making readable text that can be converted to HTML.

rmagick (1.15.9) RMagick is an interface between the Ruby programming language and the ImageMagick and GraphicsMagick image processing libraries.

rspec (1.1.2) RSpec-1.1.2 (build 20080114022430) – BDD for Ruby http://rspec.rubyforge.org/

rubigen (1.2.4, 1.1.1) A framework to allow Ruby applications to generate file/folder stubs (like the rails command does for Ruby on Rails, and the ‘script/generate’ command within a Rails application during development).

ruby-debug (0.10.0) Command line interface (CLI) for ruby-debug-base

ruby-debug-base (0.10.0) Fast Ruby debugger – core component

ruby2ruby (1.1.8) ruby2ruby provides a means of generating pure ruby code easily from ParseTree’s Sexps.

rubyforge (0.4.4) A script which automates a limited set of rubyforge operations.

RubyInline (3.6.6) Ruby Inline is an analog to Perl’s Inline::C. Out of the box, it allows you to embed C/++ external module code in your ruby script directly.

sources (0.0.1) This package provides download sources for remote gem installation

sqlite3-ruby (1.2.1) SQLite3/Ruby is a module to allow Ruby scripts to interface with a SQLite3 database.

validatable (1.6.6) Validatable is a library for adding validations.
bash-2.05b$

 
11 Mar, 2008 12:50 AM
Avatar rob99 20 post(s)

Topic: RubyStack & JRubyStack / [linux] [jrubystack] error when stopping

Hi,

I started using the jrubystack as a possible alternative to rubystack (beta 0) when I dont have root access on linux. It seems to install fine. Thanks!

I’m getting error stopping though. Note the “Cannot find …” part is NOT where I installed, but is below home for my user. I suspect it’s using user home rather than the install path somewhere.

Thanks,

bash-3.00$ ./ctlscript.sh stop
Cannot find /opt/mypath/apache-tomcat-5.5.23/bin/setclasspath.sh
This file is needed to run this program
/opt/mypath/bin//jrubystack-1.0-beta-0/apache-tomcat/scripts/ctl.sh : tomcat could not be stopped
STOPPING server from pid file /opt/mypath/bin//jrubystack-1.0-beta-0/mysql/data/MELLIDCAL02.pid
080311 12:16:33 mysqld ended

/opt/mypath/bin//jrubystack-1.0-beta-0/mysql/scripts/ctl.sh : mysql stopped
bash-3.00$ uname -a
Linux MELLIDCAL02 2.6.9-42.0.3.ELsmp #1 SMP Mon Sep 25 17:24:31 EDT 2006 x86_64×86_64×86_64 GNU/Linux
bash-3.00$

 
10 Mar, 2008 02:08 PM
Avatar rob99 20 post(s)

Topic: RubyStack & JRubyStack / ri not working?

Hi Manuel,

Just installed hpricot 0.6 ruby and re-tried. Same result as before.

 
09 Mar, 2008 11:32 AM
Avatar rob99 20 post(s)

Topic: RubyStack & JRubyStack / ri not working?

Hi all,

Why I try ri in my rubystack (1.1 on OSX 10.4.1) it doesn’t work properly. For example ri Hash gives me:
------------ Class: Hash require ‘hpricot’


require ‘hpricot’

Class methods:
-- from_xml

Instance methods:
--—- add_html_class!, environmentize_keys!, except, only, protect_keys!, respond_to?, symbolize_keys!, to_html_attributes, to_mash, to_params, to_xml_attributes, unprotect_keys!

 
27 Feb, 2008 09:21 PM
Avatar rob99 20 post(s)

Topic: RubyStack & JRubyStack / [Linux] errors when installing

Unfortunately I cannot get root access on this box.

Thanks….

 
27 Feb, 2008 07:05 AM
Avatar rob99 20 post(s)

Topic: RubyStack & JRubyStack / [Linux] errors when installing

Hi,

I’m trying to install on linux and am getting the following error at the end (I used default install options). Note I am not root.

I am using:
Linux 2.6.9-42.0.3.ELsmp #1 SMP Mon Sep 25 17:24:31 EDT 2006 x86_64×86_64×86_64 GNU/Linux

Any help appreciated…

Installing
0% ___ 50% ___ 100%
########################################
Error: There has been an error.
Error running /opt/user/rubystack-1.1-0/ctlscript.sh restart apache :
/usr/sbin/setenforce: setenforce() failed
httpd: Syntax error on line 106 of
/opt/user/rubystack-1.1-0/apache2/conf/httpd.conf: Cannot load
/opt/user/rubystack-1.1-0/apache2/modules/mod_dav_svn.so into server:
libsvn_repos-1.so.0: cannot open shared object file: No such file or directory
httpd: Syntax error on line 106 of
/opt/user/rubystack-1.1-0/apache2/conf/httpd.conf: Cannot load
/opt/user/rubystack-1.1-0/apache2/modules/mod_dav_svn.so into server:
libsvn_repos-1.so.0: cannot open shared object file: No such file or directory
/usr/sbin/setenforce: setenforce() failed
Press [Enter] to continue :
 
29 Jan, 2008 12:12 PM
Avatar rob99 20 post(s)

Topic: RubyStack & JRubyStack / [OSX] mysql.sock gone missing

Oops! No it wasn’t running…

Thanks for the quick response!

 
29 Jan, 2008 12:01 PM
Avatar rob99 20 post(s)

Topic: RubyStack & JRubyStack / [OSX] mysql.sock gone missing

Rails is complaing:
“Errno::ENOENT (No such file or directory – /Applications/rubystack-1.0/mysql/tmp/mysql.sock):”

I’m not sure how this happened.

Is there a way to re-generate the file?

Thanks,

 
21 Jan, 2008 11:28 PM
Avatar rob99 20 post(s)

Topic: RubyStack & JRubyStack / [OSX] customize rubyconsole

Thanks for the response, beltran…

I just have some personal favorite shortcuts that I’m used to working with in shell. Nothing that would benefit the package as such. :-)

 
21 Jan, 2008 05:02 AM
Avatar rob99 20 post(s)

Topic: RubyStack & JRubyStack / Dos Promt problem

Hi J,

Why not just click Start -> Bitnami RubyStack -> Use Ruby?

From a DOS prompt you could type:
cd “Program Files\BitNami RubyStack”

...then …

use_ruby.bat

Dotn forget the quotes in the cd, your path has spaces….

 
21 Jan, 2008 03:32 AM
Avatar rob99 20 post(s)

Topic: RubyStack & JRubyStack / [LINUX] need root?

Hi,

Do I need root permission to install rubystack on linux?

Thanks,

 
19 Jan, 2008 05:19 AM
Avatar rob99 20 post(s)

Topic: RubyStack & JRubyStack / [OSX] customize rubyconsole

Here’s an easy one…

I’d like to customise the ruby console script to provide some useful alias’ etc. How do I do that?

Also, is there any reason why the shell has to be csh, not bash?

Thanks for rubystack! Keep up the great work….