
'rake install' fails in ubuntu 8.04 LTS
Reported by shmay | September 8th, 2009 @ 05:42 PM
Attempting to deploy a merb app, I followed snusnu's http://sick.snusnu.info/2009/06/03/migrating-to-datamapper-0100/ "migrating to dm 0.10.0 post" on Ubuntu 8.04 LTS. However, when I performed 'rake install' I got this error (on everything but merb.it failed for MRI as well (installed via apt-get)):
sudo /opt/ruby-enterprise-1.8.6-20090610/bin/ruby -S gem install
--no-rdoc --no-ri pkg/dm-core-0.10.0.gem
/opt/ruby-enterprise-1.8.6-20090610/bin/ruby: No such file or
directory -- gem (LoadError) rake aborted!
However, cding into the directory of the gems then running 'rake package && sudo gem install pkg/' installed them successfully. But it was a hassle doing that for each dm-more gem.
Comments and changes to this ticket
-
Dan Kubb (dkubb) October 7th, 2009 @ 01:29 PM
- State changed from new to unconfirmed
@shmay: Were you able to do a "which gem" to find the location of the gem script? I just want to make sure it's not a environment path issue.
Did you also try running the exact command that was failing from your shell? eg
sudo /opt/ruby-enterprise-1.8.6-20090610/bin/ruby -S gem install --no-rdoc --no-ri pkg/dm-core-0.10.0.gem
-
Jonathan Stott (namelessjon) October 16th, 2009 @ 11:52 AM
- State changed from unconfirmed to hold
Moving this to on hold, until shmay can comment on running the command without rake
-
Dan Kubb (dkubb) November 6th, 2009 @ 02:14 AM
- State changed from hold to not-applicable
Marking as not-applicable due to no response from submitter.
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.
Create your profile
Help contribute to this project by taking a few moments to create your personal profile. Create your profile »