librelist archives

« back to archive

Error installing shoes-dsl (4.0.0.pre1) from github on Win 7

Error installing shoes-dsl (4.0.0.pre1) from github on Win 7

From:
Wayne Vucenic
Date:
2014-08-31 @ 21:26
Hi All,

I'm brand new to Shoes, and I'm getting an error trying to install on Win 7
Professional SP 1 64 bit.  I installed the latest JRuby 1.7.14, and forked
the Shoes4 github repository and cloned it yesterday.  I then followed the
instructions in the repository and got an error:
"RuntimeError: more then one gemspec found. please specify a specfile
An error occurred while installing shoes-dsl (4.0.0.pre1)..."

I tried to fix this, in particular by manually building and installing
shoes-dsl.  This was apparently successful, in that shoes-dsl now appears
in the output from "gem list".  However, retrying the "jruby -S bundle
install" still gives exactly the same error as before.  It seems odd that I
still get a message about "error occurred while installing shoes-dsl
(4.0.0.pre1)" when shoes-dsl (4.0.0.pre1) has apparently been successfully
installed.   See output below.

Thanks in advance for any assistance!

Wayne


C:\Users\test\RubymineProjects\shoes4>jruby -v
jruby 1.7.14 (1.9.3p392) 2014-08-27 d368971 on Java HotSpot(TM) 64-Bit
Server VM 1.7.0_45-b18 +jit [Windows 7-amd64]

C:\Users\test\RubymineProjects\shoes4>jruby -S gem install bundler
Fetching: bundler-1.7.2.gem (100%)
Successfully installed bundler-1.7.2
1 gem installed

C:\Users\test\RubymineProjects\shoes4>jruby -S bundle install
Fetching gem metadata from https://rubygems.org/.........
Resolving dependencies....
Installing rake 10.3.2Installing addressable 2.3.6
Installing after_do 0.3.1
Installing timers 1.1.0
Installing celluloid 0.15.2
Installing docile 1.1.5
Installing multi_json 1.10.1
Installing simplecov-html 0.8.0
Installing simplecov 0.9.0
Installing codeclimate-test-reporter 0.4.0
Installing coderay 1.1.0
Installing mime-types 2.3
Installing netrc 0.7.7
Installing rest-client 1.7.2
Installing tins 1.3.2
Installing term-ansicolor 1.3.0
Installing thor 0.19.1
Installing coveralls 0.7.1
Installing safe_yaml 1.0.3
Installing crack 0.4.2
Installing diff-lcs 1.2.5
Using ffi 1.9.3
Installing formatador 0.2.5
Installing plist 3.1.0
Installing rubyzip 0.9.9
Installing jruby-jars 1.7.14
Installing jruby-rack 1.1.16
Installing warbler 1.4.4
Installing furoshiki 0.1.2
Installing rb-fsevent 0.9.4
Installing rb-inotify 0.9.5
Installing listen 2.7.9
Installing lumberjack 1.0.9
Installing method_source 0.8.2
Installing slop 3.6.0
Installing spoon 0.0.4
Installing pry 0.10.1
Installing guard 2.6.1
Installing rspec-support 3.0.4
Installing rspec-core 3.0.4
Installing rspec-expectations 3.0.4
Installing rspec-mocks 3.0.4
Installing rspec 3.0.0
Installing guard-rspec 4.3.1
Installing hometown 0.2.4
Using jruby-openssl 0.9.5
Installing nokogiri 1.6.3.1
Installing jruby-lint 0.4.1
Installing kramdown 1.4.1
Installing rspec-its 1.0.1

RuntimeError: more then one gemspec found. please specify a specfile
An error occurred while installing shoes-dsl (4.0.0.pre1), and Bundler
cannot
continue.
Make sure that `gem install shoes-dsl -v '4.0.0.pre1'` succeeds before
bundling.

C:\Users\test\RubymineProjects\shoes4>dir *.gemspec

 Directory of C:\Users\test\RubymineProjects\shoes4

08/30/2014  10:18 PM               993 shoes-dsl.gemspec
08/30/2014  10:18 PM               980 shoes-swt.gemspec
08/30/2014  10:18 PM             1,009 shoes.gemspec
               3 File(s)          2,982 bytes
               0 Dir(s)   2,973,659,136 bytes free

C:\Users\test\RubymineProjects\shoes4>gem build shoes-dsl.gemspec
  Successfully built RubyGem
  Name: shoes-dsl
  Version: 4.0.0.pre1
  File: shoes-dsl-4.0.0.pre1.gem

C:\Users\test\RubymineProjects\shoes4>gem install shoes-dsl-4.0.0.pre1.gem
Building native extensions.  This could take a while...
Successfully installed shoes-dsl-4.0.0.pre1
1 gem installed

C:\Users\test\RubymineProjects\shoes4>gem list

*** LOCAL GEMS ***

...
rubyzip (0.9.9)
safe_yaml (1.0.3)
shoes-dsl (4.0.0.pre1)
simplecov (0.9.0)
simplecov-html (0.8.0)
...

C:\Users\test\RubymineProjects\shoes4>jruby -S bundle install
Fetching gem metadata from https://rubygems.org/.........
Resolving dependencies...
Using rake 10.3.2
Using addressable 2.3.6
Using after_do 0.3.1
Using timers 1.1.0
Using celluloid 0.15.2
Using docile 1.1.5
Using multi_json 1.10.1
Using simplecov-html 0.8.0
Using simplecov 0.9.0
Using codeclimate-test-reporter 0.4.0
Using coderay 1.1.0
Using mime-types 2.3
Using netrc 0.7.7
Using rest-client 1.7.2
Using tins 1.3.2
Using term-ansicolor 1.3.0
Using thor 0.19.1
Using coveralls 0.7.1
Using safe_yaml 1.0.3
Using crack 0.4.2
Using diff-lcs 1.2.5
Using ffi 1.9.3
Using formatador 0.2.5
Using plist 3.1.0
Using rubyzip 0.9.9
Using jruby-jars 1.7.14
Using jruby-rack 1.1.16
Using warbler 1.4.4
Using furoshiki 0.1.2
Using rb-fsevent 0.9.4
Using rb-inotify 0.9.5
Using listen 2.7.9
Using lumberjack 1.0.9
Using method_source 0.8.2
Using slop 3.6.0
Using spoon 0.0.4
Using pry 0.10.1
Using guard 2.6.1
Using rspec-support 3.0.4
Using rspec-core 3.0.4
Using rspec-expectations 3.0.4
Using rspec-mocks 3.0.4
Using rspec 3.0.0
Using guard-rspec 4.3.1
Using hometown 0.2.4
Using jruby-openssl 0.9.5
Using nokogiri 1.6.3.1
Using jruby-lint 0.4.1
Using kramdown 1.4.1
Using rspec-its 1.0.1

RuntimeError: more then one gemspec found. please specify a specfile
An error occurred while installing shoes-dsl (4.0.0.pre1), and Bundler
cannot
continue.
Make sure that `gem install shoes-dsl -v '4.0.0.pre1'` succeeds before
bundling.

C:\Users\test\RubymineProjects\shoes4>gem install shoes-dsl -v '4.0.0.pre1'
ERROR:  Could not find a valid gem 'shoes-dsl' (= 4.0.0.pre1) in any
repository
ERROR:  Possible alternatives: shoes, shoes_mvc, shoesgem

Re: Error installing shoes-dsl (4.0.0.pre1) from github on Win 7

From:
Wayne Vucenic
Date:
2014-09-03 @ 04:01
>>  Is it possible this is a JRuby 1.7.14 issue rather than a Windows issue?

Yes, it is apparently a JRuby 1.7.14 issue.

I installed JRuby 1.7.13, and cloned a new, clean copy of Shoes4 from github,
on my same Win 7 system.

Running JRuby 1.7.13, bundle install works fine.

So, I'm a happy camper, although I appreciate that Shoes needs to install
on 1.7.14, too.

Thanks again,

Wayne

Re: [shoes] Re: Error installing shoes-dsl (4.0.0.pre1) from github on Win 7

From:
Tobias Pfeiffer
Date:
2014-09-03 @ 10:27
Hi there :-)

So happy to hear. The 1.7.14 is broken in some way and 1.7.15 should be 
released shortly. I don't know if they got this issue on their radar, 
I'll check the issue tracker to see.

Thanks for figuring this out!

Tobi

On Wed 03 Sep 2014 06:01:38 AM CEST, Wayne Vucenic wrote:
> >>  Is it possible this is a JRuby 1.7.14 issue rather than a Windows
> issue?
>
> Yes, it is apparently a JRuby 1.7.14 issue.
>
> I installed JRuby 1.7.13, and cloned a new, clean copy of Shoes4 from
> github, on my same Win 7 system.
>
> Running JRuby 1.7.13, bundle install works fine.
>
> So, I'm a happy camper, although I appreciate that Shoes needs to
> install on 1.7.14, too.
>
> Thanks again,
>
> Wayne
>

--
www.pragtob.info

Re: [shoes] Re: Error installing shoes-dsl (4.0.0.pre1) from github on Win 7

From:
Tobias Pfeiffer
Date:
2014-09-03 @ 11:04
It's me again. I filed a JRuby 1.7.14 bug: 
https://github.com/jruby/jruby/issues/1942

I also added a note to our README to not use JRuby 1.7.14 and use JRuby 
1.7.13 instead. Thanks for reportign this and figuring this out Wayne!

Tobi

On Wed 03 Sep 2014 12:27:18 PM CEST, Tobias Pfeiffer wrote:
> Hi there :-)
>
> So happy to hear. The 1.7.14 is broken in some way and 1.7.15 should be
> released shortly. I don't know if they got this issue on their radar,
> I'll check the issue tracker to see.
>
> Thanks for figuring this out!
>
> Tobi
>
> On Wed 03 Sep 2014 06:01:38 AM CEST, Wayne Vucenic wrote:
>>>>  Is it possible this is a JRuby 1.7.14 issue rather than a Windows
>> issue?
>>
>> Yes, it is apparently a JRuby 1.7.14 issue.
>>
>> I installed JRuby 1.7.13, and cloned a new, clean copy of Shoes4 from
>> github, on my same Win 7 system.
>>
>> Running JRuby 1.7.13, bundle install works fine.
>>
>> So, I'm a happy camper, although I appreciate that Shoes needs to
>> install on 1.7.14, too.
>>
>> Thanks again,
>>
>> Wayne
>>
>
> --
> www.pragtob.info

--
www.pragtob.info