Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6056095
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 23, 20262026-05-23T08:20:17+00:00 2026-05-23T08:20:17+00:00

Trying to run ruby on rails framework under nginx+thin, currently working under WEBrick. I

  • 0

Trying to run ruby on rails framework under nginx+thin, currently working under WEBrick.

I don’t have root access, cause it is hosted at web hosting service.

Till this moment all problems with gems solved w/o root access.

thin requires eventmachine, so:

$ gem install eventmachine

Building native extensions.  This could take a while...
ERROR:  Error installing eventmachine:
        ERROR: Failed to build gem native extension.

/usr/local/bin/ruby18 extconf.rb
checking for rb_trap_immediate in ruby.h,rubysig.h... yes
checking for rb_thread_blocking_region()... no
checking for inotify_init() in sys/inotify.h... no
checking for __NR_inotify_init in sys/syscall.h... no
checking for writev() in sys/uio.h... yes
checking for rb_thread_check_ints()... no
checking for rb_time_new()... yes
checking for sys/event.h... yes
checking for sys/queue.h... yes
creating Makefile

make
<cutted non-informative output>

make install
/usr/bin/install -c -o root -g wheel -m 0755 rubyeventmachine.so /www/<hostname>/.gems/gems/eventmachine-0.12.10/lib
install: /www/<hostname>/.gems/gems/eventmachine-0.12.10/lib/rubyeventmachine.so: chown/chgrp: Operation not permitted
*** Error code 71

Stop in /www/<hostname>/.gems/gems/eventmachine-0.12.10/ext.


Gem files will remain installed in /www/<hostname>/.gems/gems/eventmachine-0.12.10 for inspection.
Results logged to /www/<hostname>/.gems/gems/eventmachine-0.12.10/ext/gem_make.out

Versions of ruby and installed gems:

$ ruby -v
ruby 1.8.7 (2010-08-16 patchlevel 302) [i386-freebsd8]

$ gem list
activesupport (3.0.9)
backports (2.2.1)
bin (0.6.3)
bson (1.3.1)
i18n (0.4.2)
mongo (1.0.9)
rack (1.1.1)
rake (0.8.7)
rake-compiler (0.7.9)
ruby-augeas (0.3.0)
rubygems-update (1.8.5)
sources (0.0.2)
specific_install (0.2.3)
yard (0.7.2)

I didn’t really figured out, is the problem in ERROR: Failed to build gem native extension. or in make install ***Error code 71.

Same thing happens trying $ gem install thin

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-23T08:20:18+00:00Added an answer on May 23, 2026 at 8:20 am

    Thanks for advice, Pablo!

    Unfortunately, gem_make.out contained only information I provided, nothing else…

    Due to rubyforge bugtracker aboud freebsd, I realised that adding this line to .bashrc solves the problem

    export RB_USER_INSTALL="$USER"
    

    After source .bashrc I successfully installed both eventmachine and thin.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm trying to run RoR server under ubuntu 9.10: > ruby script/server > =>
hey I am newbie to ruby on rails and I am trying run a
I'm trying to find step-by-step instructions to run Ruby on Rails on MAMP server
I am trying to learn Ruby on Rails, I have followed the instructions from
I am trying to run a Rails app on thin. I followed this tutorial
I am trying to run ruby on rails code that I got from github
I'm trying to run a Ruby on Rails project ( redmine ) on a
I'm trying to run the chapter two demo_app from the Ruby on Rails 3
I am on rails 2.3.5 and ruby 1.8.7 I keep trying to run the
I'm brand new to ruby on rails and trying to run an application developed

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.