I am logged in as auser and this is the result of gem env

Ruby 1.8.7

  - RUBYGEMS VERSION: 1.3.7
  - RUBY VERSION: 1.8.7 (2010-01-10 patchlevel 249) [i486-linux]
  - INSTALLATION DIRECTORY: /usr/lib/ruby/gems/1.8
  - RUBY EXECUTABLE: /usr/bin/ruby1.8
  - EXECUTABLE DIRECTORY: /usr/bin
  - RUBYGEMS PLATFORMS:
    - ruby
    - x86-linux
  - GEM PATHS:
     - /usr/lib/ruby/gems/1.8
     - /home/patrol/.gem/ruby/1.8
  - GEM CONFIGURATION:
     - :update_sources => true
     - :verbose => true
     - :benchmark => false
     - :backtrace => false
     - :bulk_threshold => 1000
  - REMOTE SOURCES:
     - http://rubygems.org/

this is the result of the $PATH (to which I have tried to solve another
error relating to fox16.so

bash:
/var/lib/gems/1.8/gems/fxruby-1.6.20-x86-linux/lib/:/var/lib/gems/1.8/gems:/usr/local/lib/site_ruby/1.8:/usr/lib/ruby/gems/1.8:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:
No such file or directory

basically put i had in my development box everything working - no need for
-rubygems anywhere.

Now on a Production machine I've been hit with sequel loaderror msgs,
fox16.so cannot be found errors.

I know this is all down to the environment and I know it's a lack of
knowledge on my part to understand what I haven't done right.

I am loathed to move to 1.9.x right now in case it breaks foxGUIb (which
I've used for the GUI frontend for code creation. At some point in the
future I may do so but being so close to deadline and only cosmetic changes
it's a bridge I don't want to cross right now.

I am using Kubuntu 10.04, ubuntu packaged ruby1.8.x with rubygem NOT being
part of the ubuntu s/w management suit due to an issue with i18n inside
activesupport-3.0.0 needing rubygem 1.3.6 or higher and I had 1.3.5.

I've googled for where to put the export RUBYOPT= but haven't found as yet
the suitable file.

by chance would it go into the /etc/enviroment directory where the GLOBAL
$PATH settings are put?

I am only interested in GLOBAL settings (even though there are 2 user
accounts on the PC there could be more setup ergo GLOBAL is the best option
for me at present.

Dave.




On 23 September 2010 02:29, rohit <[email protected]> wrote:

> On Sep 21, 2:05 am, dave lilley <[email protected]> wrote:
>
> > What with the ruby env being the same as below I thought I'd not require
> the
> > -rubygems switch.
> >
> > **is* there something I'm missing?*
>
> Does auser have RUBYOPT=-rubygems defined in their env?
>
> --
> You received this message because you are subscribed to the Google Groups
> "sequel-talk" group.
> To post to this group, send email to [email protected].
> To unsubscribe from this group, send email to
> [email protected]<sequel-talk%[email protected]>
> .
> For more options, visit this group at
> http://groups.google.com/group/sequel-talk?hl=en.
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"sequel-talk" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/sequel-talk?hl=en.

Reply via email to