I had the same issue. There is a env var fix (IIRC) that I will look up when I get to work.
On Fri, Nov 21, 2008 at 8:00 AM, JamieD <[EMAIL PROTECTED]> wrote: > > I had the same problem and posted a fix for this, you will need to get > your host to run this for you as it needs to be done as root > http://kernowsoul.com/blog/2008/11/21/running-merb-on-a-shared-host-without-compiler-permissions > > On Nov 18, 4:41 pm, sanjayayogi <[EMAIL PROTECTED]> wrote: >> I got merb installed on a shared server in a hosting environment: >> was able to run merb-gen app to create a new application. >> >> When I run merb in the home directory of the application, this is the >> error generated. Any ideas?? >> >> /opt/ruby-enterprise-1.8.6-20080810/lib/ruby/gems/1.8/gems/merb- >> core-1.0/bin/merb >> Loading init file from /home/yoga/merb_test1/config/init.rb >> Loading /home/yoga/merb_test1/config/environments/development.rb >> sh: /usr/bin/gcc: Permission denied >> /opt/ruby-enterprise-1.8.6-20080810/lib/ruby/gems/1.8/gems/ >> RubyInline-3.7.0/lib/inline.rb:449:in `build': error executing "gcc- >> shared -Werror -fPIC -g -O2 -I /opt/ruby-enterprise-1.8.6-20080810/ >> lib/ruby/1.8/i686-linux -I /opt/ruby-enterprise-1.8.6-20080810/ >> include -L/opt/ruby-enterprise-1.8.6-20080810/lib -o \"/home/ >> yoga/.ruby_inline/Inline_RawParseTree_ab80.so\" \"/home/ >> yoga/.ruby_inline/Inline_RawParseTree_ab80.c\" ": 32256 >> (CompilationError) >> Renamed /home/yoga/.ruby_inline/Inline_RawParseTree_ab80.c to /home/ >> yoga/.ruby_inline/Inline_RawParseTree_ab80.c.bad >> from /opt/ruby-enterprise-1.8.6-20080810/lib/ruby/gems/1.8/ >> gems/RubyInline-3.7.0/lib/inline.rb:654:in `inline' >> from /opt/ruby-enterprise-1.8.6-20080810/lib/ruby/gems/1.8/ >> gems/ParseTree-3.0.2/lib/parse_tree.rb:250 >> from /opt/ruby-enterprise-1.8.6-20080810/lib/ruby/site_ruby/ >> 1.8/rubygems/custom_require.rb:31:in `gem_original_require' >> from /opt/ruby-enterprise-1.8.6-20080810/lib/ruby/site_ruby/ >> 1.8/rubygems/custom_require.rb:31:in `require' >> from /opt/ruby-enterprise-1.8.6-20080810/lib/ruby/gems/1.8/ >> gems/merb-action-args-1.0/lib/merb-action-args/get_args.rb:2 >> from /opt/ruby-enterprise-1.8.6-20080810/lib/ruby/site_ruby/ >> 1.8/rubygems/custom_require.rb:31:in `gem_original_require' >> from /opt/ruby-enterprise-1.8.6-20080810/lib/ruby/site_ruby/ >> 1.8/rubygems/custom_require.rb:31:in `require' >> from /opt/ruby-enterprise-1.8.6-20080810/lib/ruby/gems/1.8/ >> gems/merb-action-args-1.0/lib/merb-action-args.rb:1 >> ... 7 levels... >> from /opt/ruby-enterprise-1.8.6-20080810/lib/ruby/gems/1.8/ >> gems/merb-core-1.0/lib/merb-core/server.rb:172:in `bootup' >> from /opt/ruby-enterprise-1.8.6-20080810/lib/ruby/gems/1.8/ >> gems/merb-core-1.0/lib/merb-core/server.rb:42:in `start' >> from /opt/ruby-enterprise-1.8.6-20080810/lib/ruby/gems/1.8/ >> gems/merb-core-1.0/lib/merb-core.rb:169:in `start' >> from /opt/ruby-enterprise-1.8.6-20080810/lib/ruby/gems/1.8/ >> gems/merb-core-1.0/bin/merb: got merb built >> >> /opt/ruby-enterprise-1.8.6-20080810/lib/ruby/gems/1.8/gems/merb- >> core-1.0/bin/merb >> Loading init file from /home/yoga/merb_test1/config/init.rb >> Loading /home/yoga/merb_test1/config/environments/development.rb >> sh: /usr/bin/gcc: Permission denied >> /opt/ruby-enterprise-1.8.6-20080810/lib/ruby/gems/1.8/gems/ >> RubyInline-3.7.0/lib/inline.rb:449:in `build': error executing "gcc- >> shared -Werror -fPIC -g -O2 -I /opt/ruby-enterprise-1.8.6-20080810/ >> lib/ruby/1.8/i686-linux -I /opt/ruby-enterprise-1.8.6-20080810/ >> include -L/opt/ruby-enterprise-1.8.6-20080810/lib -o \"/home/ >> yoga/.ruby_inline/Inline_RawParseTree_ab80.so\" \"/home/ >> yoga/.ruby_inline/Inline_RawParseTree_ab80.c\" ": 32256 >> (CompilationError) >> Renamed /home/yoga/.ruby_inline/Inline_RawParseTree_ab80.c to /home/ >> yoga/.ruby_inline/Inline_RawParseTree_ab80.c.bad >> from /opt/ruby-enterprise-1.8.6-20080810/lib/ruby/gems/1.8/ >> gems/RubyInline-3.7.0/lib/inline.rb:654:in `inline' >> from /opt/ruby-enterprise-1.8.6-20080810/lib/ruby/gems/1.8/ >> gems/ParseTree-3.0.2/lib/parse_tree.rb:250 >> from /opt/ruby-enterprise-1.8.6-20080810/lib/ruby/site_ruby/ >> 1.8/rubygems/custom_require.rb:31:in `gem_original_require' >> from /opt/ruby-enterprise-1.8.6-20080810/lib/ruby/site_ruby/ >> 1.8/rubygems/custom_require.rb:31:in `require' >> from /opt/ruby-enterprise-1.8.6-20080810/lib/ruby/gems/1.8/ >> gems/merb-action-args-1.0/lib/merb-action-args/get_args.rb:2 >> from /opt/ruby-enterprise-1.8.6-20080810/lib/ruby/site_ruby/ >> 1.8/rubygems/custom_require.rb:31:in `gem_original_require' >> from /opt/ruby-enterprise-1.8.6-20080810/lib/ruby/site_ruby/ >> 1.8/rubygems/custom_require.rb:31:in `require' >> from /opt/ruby-enterprise-1.8.6-20080810/lib/ruby/gems/1.8/ >> gems/merb-action-args-1.0/lib/merb-action-args.rb:1 >> ... 7 levels... >> from /opt/ruby-enterprise-1.8.6-20080810/lib/ruby/gems/1.8/ >> gems/merb-core-1.0/lib/merb-core/server.rb:172:in `bootup' >> from /opt/ruby-enterprise-1.8.6-20080810/lib/ruby/gems/1.8/ >> gems/merb-core-1.0/lib/merb-core/server.rb:42:in `start' >> from /opt/ruby-enterprise-1.8.6-20080810/lib/ruby/gems/1.8/ >> gems/merb-core-1.0/lib/merb-core.rb:169:in `start' >> from /opt/ruby-enterprise-1.8.6-20080810/lib/ruby/gems/1.8/ >> gems/merb-core-1.0/bin/merb:11 > > > -- Jim Freeze --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "merb" 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/merb?hl=en -~----------~----~----~----~------~----~------~--~---
