Asp Forum
Home
|
Login
|
Register
|
Search
Forums
>
comp.lang.ruby
gem built with 0.9.5 cannot be installed with 0.9.4
Dan Manges
12/10/2007 3:15:00 PM
Has anybody released a gem built with rubygems 0.9.5? I built the
latest version of deep_test with 0.9.5, but it seems like it cannot be
installed with 0.9.4 clients. It shows up in the gem list without a
platform (version 1.0.3):
Select which gem to install for your platform (i686-darwin9.0.0)
1. deep_test 1.0.4 (ruby)
2. deep_test 1.0.3 ()
3. deep_test 1.0.2 (ruby)
4. deep_test 1.0.1 (ruby)
5. Skip this gem
6. Cancel installation
> 2
ERROR: While executing gem ... (OpenURI::HTTPError)
404 Not Found
It's then looking to download the gem with an extra hyphen at the end:
"
http://gems.rubyforge.org/gems/deep_test-1.0.3-...
I submitted a defect, but wanted to know if anybody else ran into
this.
http://rubyforge.org/tracker/index.php?func=detail&aid=16177&group_id=126&am...
The gemspec I used is here:
http://deep-test.rubyforge.org/svn/trun...
Thanks,
Dan
2 Answers
Dan Manges
12/11/2007 2:36:00 AM
0
To follow up, adding this line to the gem spec fixes the problem:
s.platform = Gem::Platform::RUBY
I noticed a couple other gems have been affected by this:
"addressable-1.0.1.gem"
"gchart-0.1.0.gem"
Dan
On Dec 10, 10:14 am, Dan Manges <daniel.man...@gmail.com> wrote:
> Has anybody released a gem built with rubygems 0.9.5? I built the
> latest version of deep_test with 0.9.5, but it seems like it cannot be
> installed with 0.9.4 clients. It shows up in the gem list without a
> platform (version 1.0.3):
>
> Select which gem to install for your platform (i686-darwin9.0.0)
> 1. deep_test 1.0.4 (ruby)
> 2. deep_test 1.0.3 ()
> 3. deep_test 1.0.2 (ruby)
> 4. deep_test 1.0.1 (ruby)
> 5. Skip this gem
> 6. Cancel installation> 2
>
> ERROR: While executing gem ... (OpenURI::HTTPError)
> 404 Not Found
>
> It's then looking to download the gem with an extra hyphen at the end:
> "
http://gems.rubyforge.org/gems/deep_test-1.0.3-...
>
> I submitted a defect, but wanted to know if anybody else ran into
> this.
http://rubyforge.org/tracker/index.php?func=detail&aid=16177&am...
...
>
> The gemspec I used is here:
http://deep-test.rubyforge.org/svn/trun...
>
> Thanks,
> Dan
Bill Davenport
12/11/2007 2:45:00 PM
0
Dan,
One of the features of 0.9.5 is that, "A gem can depend on a specific
RubyGems version". I'm not sure what makes it exclusive to that
version.
Here is where I quoted from:
http://blog.segment7.net/articles/2007/11/19/ruby...
Bill
Dan Manges wrote:
> Has anybody released a gem built with rubygems 0.9.5? I built the
> latest version of deep_test with 0.9.5, but it seems like it cannot be
> installed with 0.9.4 clients. It shows up in the gem list without a
> platform (version 1.0.3):
>
> Select which gem to install for your platform (i686-darwin9.0.0)
> 1. deep_test 1.0.4 (ruby)
> 2. deep_test 1.0.3 ()
> 3. deep_test 1.0.2 (ruby)
> 4. deep_test 1.0.1 (ruby)
> 5. Skip this gem
> 6. Cancel installation
>> 2
> ERROR: While executing gem ... (OpenURI::HTTPError)
> 404 Not Found
>
> It's then looking to download the gem with an extra hyphen at the end:
> "
http://gems.rubyforge.org/gems/deep_test-1.0.3-...
>
> I submitted a defect, but wanted to know if anybody else ran into
> this.
>
http://rubyforge.org/tracker/index.php?func=detail&aid=16177&group_id=126&am...
>
> The gemspec I used is here:
>
http://deep-test.rubyforge.org/svn/trun...
>
> Thanks,
> Dan
--
Posted via
http://www.ruby-...
.
Servizio di avviso nuovi messaggi
Ricevi direttamente nella tua mail i nuovi messaggi per
gem built with 0.9.5 cannot be installed with 0.9.4
Inserendo la tua e-mail nella casella sotto, riceverai un avviso tramite posta elettronica ogni volta che il motore di ricerca troverà un nuovo messaggio per te
Il servizio è completamente GRATUITO!
x
Login to ForumsZone
Login with Google
Login with E-Mail & Password