Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > Ruby > remote gem install doesn't work anymore

Reply
Thread Tools

remote gem install doesn't work anymore

 
 
Forex Forex
Guest
Posts: n/a
 
      11-04-2008
hello,
i'm under ubuntu hardy with gem v1.1.0 installed
when i want to install a new gem (ie hpricot), here is the result:

"sudo gem install hpricot
Bulk updating Gem source index for: http://gems.rubyforge.org/
ERROR: could not find hpricot locally or in a repository"

it is the same with every other gem
and it work locally with no problem

i have to say that i've installed different versions of the same gems to
work on old projects.
I also want to state that i cannot use wxruby because of what i suppose
is a $PATH problem (i'm new to linux and ubuntu, so i don't know how to
check my $PATH)

thanxs for your help
--
Posted via http://www.ruby-forum.com/.

 
Reply With Quote
 
 
 
 
Alex Fenton
Guest
Posts: n/a
 
      11-06-2008
Forex Forex wrote:
> hello,
> i'm under ubuntu hardy with gem v1.1.0 installed
> when i want to install a new gem (ie hpricot), here is the result:
>
> "sudo gem install hpricot
> Bulk updating Gem source index for: http://gems.rubyforge.org/
> ERROR: could not find hpricot locally or in a repository"
>
> it is the same with every other gem
> and it work locally with no problem


I was getting this the other day on Windows when no gem seemed to want
to install, including gem update. But I'm not there now and can't retest
or check versions.


> I also want to state that i cannot use wxruby because of what i suppose
> is a $PATH problem (i'm new to linux and ubuntu, so i don't know how to
> check my $PATH)


Hard to say what's going wrong without an error message.

The latest version of wxRuby (1.9.9) on Linux requires that you install
the wxWidgets shared libraries. This should be trivial using your
package manager (synaptic) - find the wxWidgets 2.8.7 package
(non-debug) from Hardy and install it.

If it's not resolved, please post a more detailed description of the
problem to the wxruby-users mailing list.

http://rubyforge.org/mailman/listinfo/wxruby-users
http://www.ruby-forum.com/forum/36

a
 
Reply With Quote
 
 
 
 
Forex Forex
Guest
Posts: n/a
 
      11-07-2008
thx for your help


about wxruby, the problem is solved. it seems that you cannot give wx.rb
to your file.
in fact i was just trying the tutorial and had given wx.rb to my file.
after changing filename, everything goes right...

about remote gem install, problem's still alive
--
Posted via http://www.ruby-forum.com/.

 
Reply With Quote
 
Forex Forex
Guest
Posts: n/a
 
      11-07-2008

> about remote gem install, problem's still alive


i finally managed to find a solution.
hereafter for those interested:

install manually rubygems-update
then type: sudo update_rubygems

after, everything works well like before

this was due to a bug in a specific version of rubygems
--
Posted via http://www.ruby-forum.com/.

 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
gem list --remote --details gives "ERROR: While executing gem ...(NoMethodError)" Markus Fischer Ruby 4 03-27-2011 12:59 PM
I totally messed up rubygems (deleted the sources gem) and now Ican't install any gem anymore kazaam Ruby 1 11-01-2007 07:28 PM
RubyGems 0.9.1 calling a gem with gem '<gem>' Austin 7873 Ruby 5 01-27-2007 10:05 PM
Why is this not allowed anymore (anymore being with a more recent compiler)? Eric Lilja C++ 4 11-06-2006 12:31 PM
Ghost Console version 8 Remote Client install will not install to remote pc Ed Computer Support 3 03-18-2005 05:18 PM



Advertisments