Error installing gem

3 views
Skip to first unread message

bitwise

unread,
Jun 23, 2009, 5:18:15 AM6/23/09
to ProjectSprouts
Hey Luke, thanks so much for putting this code out, I just watched the
introduction of sprouts and am excited to check it out. I tried
installing the gem on os x, using the following:

$ sudo gem install sprout

I receive this error:

Bulk updating Gem source index for: http://gems.rubyforge.org
ERROR: While executing gem ... (Gem::RemoteFetcher::FetchError)
OpenURI::HTTPError: 404 Not Found reading http://gems.rubyforge.org/gems/hoe-2.2.0.gem

The output from $ gem -v
1.0.1

If you could provide any help that would be great!

Dave

Luke Bayes

unread,
Jun 23, 2009, 12:58:37 PM6/23/09
to project...@googlegroups.com
Hey Dave,

Please update your Gem installation -

sudo gem --update

Let me know if that sorts it out for you.

Thanks,

Luke

bitwise

unread,
Jun 23, 2009, 2:12:53 PM6/23/09
to ProjectSprouts
Luke,
Thanks for the response!

I managed to get it installed last night at home after running the
update. However when I tried to create a new project, I received the
following error:

/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/
gems/1.8/gems/net-sftp-1.1.0/lib/net/sftp.rb:37: undefined method
`register_service' for Net::SSH:Module (NoMethodError)
from /Library/Ruby/Site/1.8/rubygems/custom_require.rb:31:in
`gem_original_require'
from /Library/Ruby/Site/1.8/rubygems/custom_require.rb:31:in
`require'
from /Library/Ruby/Gems/1.8/gems/sprout-0.7.206-darwin/lib/sprout/
tasks/sftp_task.rb:36
from /Library/Ruby/Site/1.8/rubygems/custom_require.rb:31:in
`gem_original_require'
from /Library/Ruby/Site/1.8/rubygems/custom_require.rb:31:in
`require'
from /Library/Ruby/Gems/1.8/gems/sprout-0.7.206-darwin/lib/sprout/
general_tasks.rb:2
from /Library/Ruby/Site/1.8/rubygems/custom_require.rb:31:in
`gem_original_require'
from /Library/Ruby/Site/1.8/rubygems/custom_require.rb:31:in
`require'
from /Library/Ruby/Gems/1.8/gems/sprout-0.7.206-darwin/lib/sprout.rb:
35
from /Library/Ruby/Site/1.8/rubygems/custom_require.rb:31:in
`gem_original_require'
from /Library/Ruby/Site/1.8/rubygems/custom_require.rb:31:in
`require'
from /Library/Ruby/Gems/1.8/gems/sprout-0.7.206-darwin/bin/sprout:13
from /usr/bin/sprout:19:in `load'
from /usr/bin/sprout:19

I was able to workaround this by manually installing net-ssh AND net-
sftp gems. Are you aware of this issue with a vanilla install of
sprout? I am running leopard and haven't had any experience using gem/
ruby (if you couldnt tell). I'd be happy to file a bug if this is an
unknown issue.

Thanks,
Dave

bitwise

unread,
Jun 23, 2009, 2:14:02 PM6/23/09
to ProjectSprouts
Also, the correct update command is:

sudo gem update --system

In case anyone else is having trouble!

Dave

On Jun 23, 9:58 am, Luke Bayes <lba...@patternpark.com> wrote:

Luke Bayes

unread,
Jun 23, 2009, 6:31:31 PM6/23/09
to project...@googlegroups.com
Hey Dave,

Thanks for sending the correct command! I had a nagging feeling about that one too...

Yeah - please add those bugs to the github account and put them at the top of the list if you can.


Thanks,

Luke

bitwise

unread,
Jun 23, 2009, 11:52:11 PM6/23/09
to ProjectSprouts
Luke,
I just created the ticket but inadvertently closed it immediately
afterwards. It is here, perhaps you can re-open it?

http://github.com/lukebayes/project-sprouts/issues/closed#issue/20

Sorry about that!

On Jun 23, 3:31 pm, Luke Bayes <lba...@patternpark.com> wrote:
> Hey Dave,

Luke Bayes

unread,
Jun 24, 2009, 12:38:58 AM6/24/09
to project...@googlegroups.com
Got it -

Thanks!

Luke
Reply all
Reply to author
Forward
0 new messages