Hi, I''ve come across a couple of problems with getting FreeRIDE to run. I''m using the FreeRIDE 0.6.0 RPM on Fedora Linux. When just starting FreeRIDE as a normal user I''m getting this error: /usr/lib/freeride/freebase/lib/freebase/readers.rb:68:in `initialize'': Permission denied - /usr/lib/freeride/config/properties.yaml (Errno::EACCES) from /usr/lib/freeride/freebase/lib/freebase/readers.rb:68:in `new'' from /usr/lib/freeride/freebase/lib/freebase/readers.rb:68:in `save'' ... Looking at the source, it seems like it''s supposed to use a property file in the user''s home directory, and only if that''s not possible fall back to creating one in the installation directory. Any ideas on what''s wrong here? The second problem, when running as root, is this one: Failing to load: rubyide_fox_gui-appframe Failing to load: rubyide_fox_gui-fox_services Failing to load: rubyide_fox_gui Failing to load: rubyide_tools_fox_source_browser ... Failing to start: rubyide_fox_gui-appframe Failing to start: rubyide_fox_gui-fox_services Failing to start: rubyide_fox_gui ... Lots and lots of rows of errors like that, then it just hangs. Now, this is probably because of some trouble with my installation of FOX, FXRuby or FXScintilla. But how can I find out what the problem is? This has probably been answered before, but there isn''t any archives availabe of the old mailing-lists. thanks /Anders
Anders Bengtsson wrote:> Hi, > > I''ve come across a couple of problems with getting FreeRIDE to run. > > I''m using the FreeRIDE 0.6.0 RPM on Fedora Linux. > > When just starting FreeRIDE as a normal user I''m getting this error: > > /usr/lib/freeride/freebase/lib/freebase/readers.rb:68:in `initialize'': > Permission denied - /usr/lib/freeride/config/properties.yaml > (Errno::EACCES) > from /usr/lib/freeride/freebase/lib/freebase/readers.rb:68:in > `new'' > from /usr/lib/freeride/freebase/lib/freebase/readers.rb:68:in > `save'' > ... > > Looking at the source, it seems like it''s supposed to use a property > file in the user''s home directory, and only if that''s not possible fall > back to creating one in the installation directory. Any ideas on what''s > wrong here? >You are absolutely right in your interpretation of the Ruby code. FR falls back to the freeride installation directory for the configuration file only when it cannot find the HOME environment variable. What you have to find out is why Ruby doesn''t see your HOME environment variable.. Can you see it from your bash shell?> The second problem, when running as root, is this one: > > Failing to load: rubyide_fox_gui-appframe > Failing to load: rubyide_fox_gui-fox_services > Failing to load: rubyide_fox_gui > Failing to load: rubyide_tools_fox_source_browser > ... > Failing to start: rubyide_fox_gui-appframe > Failing to start: rubyide_fox_gui-fox_services > Failing to start: rubyide_fox_gui > ... > > Lots and lots of rows of errors like that, then it just hangs. Now, this > is probably because of some trouble with my installation of FOX, FXRuby > or FXScintilla. But how can I find out what the problem is? >Try and fix the problem above first. Then if you still have plugins failing to load the number one problem is that FXRuby doesn''t have FXScintilla support built-in. For instruction on how to compile FXRuby with Scintilla support see: http://fxruby.sourceforge.net/doc/scintilla.html> This has probably been answered before, but there isn''t any archives > availabe of the old mailing-lists. > >It has actually been answered before but we just moved the ML over to RubyForge so we have lost the archive and one should definitely start/maintain a FAQ on FreeRIDE. Happy Christmas! Laurent