librelist archives

« back to archive

installing shoes4 / rvm issue

installing shoes4 / rvm issue

From:
Hawley Waldman
Date:
2013-03-01 @ 21:01
I just tried to follow the directions on at git for installing and using shoes4. 

I have jruby 1.6.7.2, 1.7.0.preview2 and jruby-head (jruby 1.7.4.dev 
(1.9.3p385) 2013-03-01 ) installed under rvm. The shoes4 instructions say 
to use jruby 1.7 or later but the repo contains an rvm file that seems to 
switch me to jruby 1.6.7.2 (jruby 1.6.7.2 (ruby-1.8.7-p357) (2012-05-01 
26e08ba)
with the line 
rvm --create use jruby@shoes

I only have the smallest understanding of rvm and its gemsets / .rvmrc 
files and I 
a) don't know how the included .rvmrc file switches me to jruby-1.6.7.2
b) why it is doing that when the instructions for shoes4 on github say use 1.7

help, please.

sincerely,
Hawley

Re: [shoes] installing shoes4 / rvm issue

From:
Sebastjan Hribar
Date:
2013-03-01 @ 21:28
It's been a while since I've used shoes4 but I still use jruby-1.6.7.2
and I've just ran a sample app and it ran ok.

regards,
seba

Dne 01.03.2013 (pet) ob 16:01 -0500 je Hawley Waldman napisal(a):
> I just tried to follow the directions on at git for installing and using
shoes4. 
> 
> I have jruby 1.6.7.2, 1.7.0.preview2 and jruby-head (jruby 1.7.4.dev 
(1.9.3p385) 2013-03-01 ) installed under rvm. The shoes4 instructions say 
to use jruby 1.7 or later but the repo contains an rvm file that seems to 
switch me to jruby 1.6.7.2 (jruby 1.6.7.2 (ruby-1.8.7-p357) (2012-05-01 
26e08ba)
> with the line 
> rvm --create use jruby@shoes
> 
> I only have the smallest understanding of rvm and its gemsets / .rvmrc 
files and I 
> a) don't know how the included .rvmrc file switches me to jruby-1.6.7.2
> b) why it is doing that when the instructions for shoes4 on github say use 1.7
> 
> help, please.
> 
> sincerely,
> Hawley
> 
> 

Re: [shoes] installing shoes4 / rvm issue

From:
Eric Watson
Date:
2013-03-01 @ 21:58
On Mar 1, 2013, at 3:01 PM, Hawley Waldman <hawleyw@gmail.com> wrote:

> I just tried to follow the directions on at git for installing and using
shoes4. 
> 
> I have jruby 1.6.7.2, 1.7.0.preview2 and jruby-head (jruby 1.7.4.dev 
(1.9.3p385) 2013-03-01 ) installed under rvm. The shoes4 instructions say 
to use jruby 1.7 or later but the repo contains an rvm file that seems to 
switch me to jruby 1.6.7.2 (jruby 1.6.7.2 (ruby-1.8.7-p357) (2012-05-01 
26e08ba)
> with the line 
> rvm --create use jruby@shoes
> 
> I only have the smallest understanding of rvm and its gemsets / .rvmrc 
files and I 
> a) don't know how the included .rvmrc file switches me to jruby-1.6.7.2
> b) why it is doing that when the instructions for shoes4 on github say use 1.7

I'm not sure why this happens. I tried to reproduce your issue like this:

    rvm gemset delete jruby-1.7.0@shoes
    cd .. && cd -

But it just re-created my jruby-1.7.0@shoes gemset (which is what you want
it to do), instead of using my jruby-1.6.7@shoes gemset (which is what it 
seems to do for you).

You might have some luck on the rvm mailing list: https://rvm.io/development/list

As a side note, you should have no ill effects from using 1.6.7.2, but by 
using 1.7, you get ruby 1.9 mode by default, which makes things easier 
from the command line.

Hope that helps!

Eric

Re: [shoes] installing shoes4 / rvm issue

From:
Philipp Weißensteiner
Date:
2013-03-01 @ 21:24
I hope this doesn't seem rude, but have you tried reading through rvm.io?
It might be as simple as rvm use jruby@gemset,
Hth Philipp

Sent from my iPad

On 01.03.2013, at 22:01, Hawley Waldman <hawleyw@gmail.com> wrote:

> I just tried to follow the directions on at git for installing and using
shoes4. 
> 
> I have jruby 1.6.7.2, 1.7.0.preview2 and jruby-head (jruby 1.7.4.dev 
(1.9.3p385) 2013-03-01 ) installed under rvm. The shoes4 instructions say 
to use jruby 1.7 or later but the repo contains an rvm file that seems to 
switch me to jruby 1.6.7.2 (jruby 1.6.7.2 (ruby-1.8.7-p357) (2012-05-01 
26e08ba)
> with the line 
> rvm --create use jruby@shoes
> 
> I only have the smallest understanding of rvm and its gemsets / .rvmrc 
files and I 
> a) don't know how the included .rvmrc file switches me to jruby-1.6.7.2
> b) why it is doing that when the instructions for shoes4 on github say use 1.7
> 
> help, please.
> 
> sincerely,
> Hawley
> 
> 

Re: [shoes] installing shoes4 / rvm issue

From:
Hawley Waldman
Date:
2013-03-01 @ 21:48
> I hope this doesn't seem rude, but have you tried reading through rvm.io?
> It might be as simple as rvm use jruby@gemset,
> Hth Philipp
> 
> Sent from my iPad

Well gosh Phillip, I have bopped over to rvm.io, that was the first thing 
that I had to do in order to remind myself how to list available versions 
of ruby, and "reading through", that is reading through all of it, would 
not be trivial; its a big site.

What I've ended up doing is adding a ~/.jrubyrcc file that specifies 1.9 
compatibility and then removing all of the gems that were put in 
jruby-1.6.7.2@shoes and re-running
 gem install bundler && bundle install

It just seems to me that we have these nice, simple, instructions on how 
to install and run shoes4 but there's something a bit wonky with them.  

It would be great if somebody with more rvm/bundler/shoes4 knowledge would
add the necessary info so that the instructions were complete (for 
*nix/osX).   

I am also getting a warning when running the bundle commands about "The 
source :rubygems is deprecated" ... "Please change your source to 
https://rubygems.org" so maybe the the line in Gemfile should be changed? 

If I was sure that these changes were the right things to do I would make 
them and submit a pull request, but I'm not; that is why I am emailing the
list.

Sincerely,
Hawley

> 
> On 01.03.2013, at 22:01, Hawley Waldman <hawleyw@gmail.com> wrote:
> 
>> I just tried to follow the directions on at git for installing and 
using shoes4. 
>> 
>> I have jruby 1.6.7.2, 1.7.0.preview2 and jruby-head (jruby 1.7.4.dev 
(1.9.3p385) 2013-03-01 ) installed under rvm. The shoes4 instructions say 
to use jruby 1.7 or later but the repo contains an rvm file that seems to 
switch me to jruby 1.6.7.2 (jruby 1.6.7.2 (ruby-1.8.7-p357) (2012-05-01 
26e08ba)
>> with the line 
>> rvm --create use jruby@shoes
>> 
>> I only have the smallest understanding of rvm and its gemsets / .rvmrc 
files and I 
>> a) don't know how the included .rvmrc file switches me to jruby-1.6.7.2
>> b) why it is doing that when the instructions for shoes4 on github say use 1.7
>> 
> 

Re: [shoes] installing shoes4 / rvm issue

From:
Philipp Weißensteiner
Date:
2013-03-02 @ 10:02
Hi Hawley,

I'm sorry I think I misunderstood what you were trying to discuss, my bad.
I agree, it is confusing if the tutorial suggests version 1.7... but 
switches to 1.6..
I would suggest the following: submit a pull request, as far as I know 
this mailing
list is rather "silent". If something is terribly wrong with your 
proposed changes,
I'm sure ashbb or steve will tell you. But you will probably get an 
answer faster.

Regards,
Philipp

Re: [shoes] installing shoes4 / rvm issue

From:
Tobias Pfeiffer
Date:
2013-03-02 @ 11:23
Hi there,

this mailing list is just silent in the sense that nearly all the 
implementation specific issues etc. are discussed within issues at the 
shoes4 repository (https://github.com/shoes/shoes4).
Have you tried updating rvm? So: rvm get head. Because for me the jruby 
alias always seems to pick up the latest jruby version that rvm knows 
about.
Like Eric, I really don't know why it does this for you - for me it 
works just fine (selecting jruby-1.7.3). RVM issues/mailing/irc list 
might really be the place to go.

I tried switching the .rvmrc description to use jruby-1.7 - however 
that didn't pick up my jruby-1.7.3. I could specify jruby-1.7.3 but 
then everyone would have to use that.

Cheers,
Tobi

On Sat 02 Mar 2013 11:02:17 AM CET, Philipp Weißensteiner wrote:
> Hi Hawley,
>
> I'm sorry I think I misunderstood what you were trying to discuss, my bad.
> I agree, it is confusing if the tutorial suggests version 1.7... but
> switches to 1.6..
> I would suggest the following: submit a pull request, as far as I know
> this mailing
> list is rather "silent". If something is terribly wrong with your
> proposed changes,
> I'm sure ashbb or steve will tell you. But you will probably get an
> answer faster.
>
> Regards,
> Philipp