#100 ✓invalid
DAddYE

Blocking problem with expanding path ~

Reported by DAddYE | May 23rd, 2009 @ 04:31 AM | in Future

HI!

on my fedora with REE I this blocking problem. When I update or install your thin gem I need to patch it because if not Ive the following error:

Writing PID to tmp/pids/thin.pid Using rails adapter Exiting! /opt/ruby-enterprise/lib/ruby/gems/1.8/gems/rails-2.3.2/lib/rails_generator/lookup.rb:35:in expand_path': couldn't find HOME environment -- expanding~' (ArgumentError)

For fix this Big problem I need to add ENV['HOME']='/tmp' in the thin bin.

Comments and changes to this ticket

  • macournoyer

    macournoyer May 25th, 2009 @ 02:21 PM

    • State changed from “new” to “invalid”

    I doubt this is a Thin problem. It is more likely a REE bug or installation issue.

    You can fix w/out patching by doing this in a bash shell:

    HOME=/tmp thin start ...
    
  • DAddYE

    DAddYE May 25th, 2009 @ 04:36 PM

    Hi Macournoyer,

    I think also can be a problem related to ree but I submit bug here because I don't have any problem with any other gems like rails, ebb, mongrel... Ive got 140+ gems installed on production server and this is the only issue that Ive.

    Your "fix" work well I know but I prefer to patch the bin because Ive a lot of monit files so is "better" do that only once.

Please Sign in or create a free account to add a new ticket.

With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.

New-ticket Create new ticket

Create your profile

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

People watching this ticket

Pages