This project is archived and is in readonly mode.

#4580 ✓stale

Rails 3 does not create lib directory when using Ruby 1.9.1

Reported by command0 | May 12th, 2010 @ 04:22 AM

There seems to be a bug in the installer script for Rails 3 when using Ruby 1.9.1.

I don't know if this is specific to the installer in the Ubuntu APT repository or not, but I was able to find a thread on with the exact same issue, but running a different version of Ubuntu.

ERROR: While executing gem ... (Errno::ENOENT)

No such file or directory - lib

This is definitely a bug. I am not sure if it's specific to Ubuntu or not.

Comments and changes to this ticket

  • Ryan Bigg

    Ryan Bigg May 13th, 2010 @ 11:50 PM

    • State changed from “new” to “incomplete”

    Trimmed ticket down to relevant section.

    This is not specific to Ubuntu.

    This would be good for the bugmash.

  • Sasha Koss

    Sasha Koss May 15th, 2010 @ 12:09 PM

    I trying to reproduce this bug on Mac OS, but rails --pre successfully installed:

    Mac OS X 10.6.3, ruby 1.9.1p378 (2010-01-10 revision 26273) [i386-darwin10.3.0], Rubygems 1.3.6

  • xinuc

    xinuc May 15th, 2010 @ 12:28 PM

    works fine with ubuntu 9.10, ruby 1.9.1p378 with rvm

  • command0

    command0 May 15th, 2010 @ 06:24 PM

    Presently, I am not using RVM. I am not sure how relevant that is or not.

    I am also using the 64 bit architecture of Ubuntu 10.4.

    I believe Ruby is still running in 32 bit, but I am not positive on that.

    If it does in fact run in native 64 bit, then perhaps this issue could be with the 64 bit optimized releases..

  • Rohit Arondekar

    Rohit Arondekar July 28th, 2010 @ 10:10 AM

    • Importance changed from “” to “Low”

    Can you paste the full backtrace?

  • Santiago Pastorino

    Santiago Pastorino February 2nd, 2011 @ 04:34 PM

    • State changed from “incomplete” to “open”
    • Tag changed from rails 3.0.0.beta3, ruby 1.9.1, ubuntu to rails 300beta3, ruby 191, ubuntu

    This issue has been automatically marked as stale because it has not been commented on for at least three months.

    The resources of the Rails core team are limited, and so we are asking for your help. If you can still reproduce this error on the 3-0-stable branch or on master, please reply with all of the information you have about it and add "[state:open]" to your comment. This will reopen the ticket for review. Likewise, if you feel that this is a very important feature for Rails to include, please reply with your explanation so we can consider it.

    Thank you for all your contributions, and we hope you will understand this step to focus our efforts where they are most helpful.

  • Santiago Pastorino

    Santiago Pastorino February 2nd, 2011 @ 04:34 PM

    • State changed from “open” to “stale”
  • bingbing

Create your profile

Help contribute to this project by taking a few moments to create your personal profile. Create your profile »

<h2 style="font-size: 14px">Tickets have moved to Github</h2>

The new ticket tracker is available at <a href=""></a>