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 9136295
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 17, 20262026-06-17T08:56:03+00:00 2026-06-17T08:56:03+00:00

I just got done setting up my rails environment on my old mac book

  • 0

enter image description here

I just got done setting up my rails environment on my old mac book and ran into this error. I’ve installed FFI and rb-inotify. I’ve also ran bundle install again. I’ve looked at

https://github.com/ffi/ffi/issues/66

and

https://groups.google.com/forum/?fromgroups=#!topic/ruby-ffi/gj3_k34o80k

which both indicate that this is a linux specific API. There is a suggestion on the second of those links that says I should just remove that gem and things that depend on it, but I am hesitant to remove FFI which seems to depend on it.

What course of action do you suggest? Any advice on this matter is greatly appreciated.

EDIT: I’m running rails 3.2.7 (updating to 3.2.11 tonight).

EDIT 2: I found this: Rubygems: How do I add platform-specific dependency?. Is this helpful?

EDIT 3: Do you think it might have something to do with rbenv?

EDIT 4: I changed my development gem from rb-inotify to rb-fsevent, ran bundle install then did db:migrate.

enter image description here

And it continues to run the migration.

Hmmm… I’m asking my team members that use macs have tried executing rake db:migrate since our Linux developer added rb-inotify to our gem set.

This link may be helpful to someone who comes this way: https://supportbee.com/devblog/2012/07/18/using-platform-dependent-gems-rb-inotify-and-rb-fsevent/

EDIT 5: I’ve been looking at the guard gem, specifically this part:

enter image description here

I added this, and it will perform the rake db:migrate, but I still get a list of errors very similar to:

Could not open library 'libgtk-x11-2.0': dlopen(libgtk-x11-2.0, 13): image not found.

I think I’m progressing to a full solution!

EDIT 7: Look at this stackoverflow question for the remaining errors due to the libnotify gem: Image Not Found Errors after Upgrade to Rails 3.1, how to fix?. It suggests doing this:

gem 'libnotify' if /linux/ =~ RUBY_PLATFORM
gem 'growl' if /darwin/ =~ RUBY_PLATFORM
  • 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-06-17T08:56:04+00:00Added an answer on June 17, 2026 at 8:56 am

    Essentially, someone on my team added Linux specific installation of some stuff. To fix it, do the following:

    For rb-inotify stuff, do this:

    group :development do
      gem 'rb-inotify', :require => false
      gem 'rb-fsevent', :require => false
      gem 'rb-fchange', :require => false
    end
    

    If you have libnotify, do this:

    gem 'libnotify' if /linux/ =~ RUBY_PLATFORM
    gem 'growl' if /darwin/ =~ RUBY_PLATFORM
    

    Worked for me, happy coding!

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

Sidebar

Related Questions

I just got done setting up my app to work with authlogic following this
I just got done setting up my CakePHP website in MAMP and the databases
I've got a just installed ubuntu 11.10. I follow the first answer in this
I just got done walking through the install instructions on this page: http://grails.org/plugin/spring-security-facebook I
I just got this question on an interview and had no idea how to
I just got done working through the Django tutorials for the second time, and
Just got the new iPad, and when I touch the microphone and say a
i just got a call from Hosting company, they claimed that my application creates
I just got an email from twitter saying my keys have now been enabled
I just got pagination to work on my site, but I wanted to use

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.