Giter Site home page Giter Site logo

Cannot install Ruby Shoes 4 about shoes4 HOT 14 OPEN

Dassadar2 avatar Dassadar2 commented on July 28, 2024
Cannot install Ruby Shoes 4

from shoes4.

Comments (14)

ccoupe avatar ccoupe commented on July 28, 2024 1

Lot's of possibilities but my best guess is pry wants a jruby version that doesn't match what Shoes provides. That is bad news because Shoes isn't going to be fixed - it's a dead project.

from shoes4.

Dassadar2 avatar Dassadar2 commented on July 28, 2024

from shoes4.

ccoupe avatar ccoupe commented on July 28, 2024

So sad to hear that... what happened?

Normal things happened. People moved on. There weren't enough developers with the skill, time and interest to form a self sustaining group. The last person moved on. IMO, there aren't that many developers for desktop applications and it's Javascript when they do. Ruby's time on the desktop is over.

I would like to be able to save all the work i did on it... is there no possibility to get a past working version even if it is shoes 3 please?

Shoes3: Git clone the shoes3 repo. Then build the Shoes you need. It's not that hard for Shoes 3 and Linux. Moderately hard for OSX. Royal pain in the ass for Windows. I still have the packaged installers they just aren't on the website for download or packaging.

Shoes4: Clone the repo. Shoes4 is mostly getting the correct jruby installed which is easy with RVM. Figuring out the launch is the next step. I don't remember the details but it's java like. @PragTob might appear and tell you how.

migrate to another Ruby interface.

There is nothing like Shoes. I used Tk with Python last year and it wasn't too difficult so look at Ruby/Tk - ignore the complaints about 'old school' widgets - those are not modern comments.

from shoes4.

PragTob avatar PragTob commented on July 28, 2024

hey, this looks like no shoes issue gut an issue with installing pry-debugger under JRuby on your side. Now quite sure what exactlyu but pry-debugger-jruby x86_64-linux looks weird but I might be wrong... ah wait you're trying to setup shoes4 itself.

It's weird. The dep might need an update or some fix. I would try throwing away the Gemfile.lock and just run a fresh bundle install. We haven't tested this with new JRuby versions in a looonnnggg while as Cecile is saying.

from shoes4.

alx3dev avatar alx3dev commented on July 28, 2024

Ruby Shoes 4 work with JRuby-9.3.2.0, installed with rbenv on Linux Mint 20.
Don't run bundler as root, as message tell you. Follow the steps:

  • Install rbenv
  • Install JRuby with rbenv install jruby-9.3.2.0
  • clone shoes4 repo git clone https://github.com/shoes/shoes4 && cd shoes4
  • run rbenv local jruby-9.3.2.0
  • run bundle install
  • run any of samples to try it with bin/shoes samples/simple_star.rb

from shoes4.

Dassadar2 avatar Dassadar2 commented on July 28, 2024

Hi,
Thx, I am nearly there. The sample works, however shoes does not work if I am invoking it from a different place, and I am not getting why:

~/pCloudDrive/Warhammer/TILEA2.0$ ~/shoes4/bin/shoes

/home/dassadar/shoes4/bin/shoes: 5: cd: can't cd to ./bin

/home/dassadar/shoes4/bin/shoes: 9: bin/shoes-stub: not found

Thx!
David

from shoes4.

alx3dev avatar alx3dev commented on July 28, 2024

@Dassadar2 when you open file bin/shoes, here is what it says:

# This is NOT the primary shoes that's installed--just a helper for local
# development purposes

So I guess you should just call shoes from anywhere on the system, if everything was installed correctly.
That will probably give you an error like this:

Ignoring jruby-launcher-1.1.19-java because its extensions are not built. Try: gem pristine jruby-launcher --version 1.1.19
Ignoring shoes-4.0.0.rc1 because its extensions are not built. Try: gem pristine shoes --version 4.0.0.rc1

Following that, install gems as it says, and you shall be able to run shoes from any directory with shoes <COMMAND>

from shoes4.

Dassadar2 avatar Dassadar2 commented on July 28, 2024

Hi Aleksandar,

Thx. I tried but I got this:

$ gem pristine jruby-launcher --version 1.1.19
ERROR: While executing gem ... (Gem::Exception)
Failed to find gems ["jruby-launcher"] = 1.1.19

What is the issue please?

from shoes4.

alx3dev avatar alx3dev commented on July 28, 2024

@Dassadar2 you don't have gem jruby-launcher, so run:

gem pristine jruby-launcher --version 1.1.19
gem pristine shoes --version 4.0.0.rc1

from shoes4.

Dassadar2 avatar Dassadar2 commented on July 28, 2024

yes, that's where I am getting this error:
Failed to find gems ["jruby-launcher"] = 1.1.19
:-/

from shoes4.

alx3dev avatar alx3dev commented on July 28, 2024

@Dassadar2 You probably used regular ruby, instead of jruby.
First set jruby as ruby version with:
rbenv local jruby-9.3.2.0
Now run gem install for those gems.

from shoes4.

Dassadar2 avatar Dassadar2 commented on July 28, 2024

Hello,
It worked for the jruby launcher, thanks.
But not for the second one:

$ gem pristine shoes --version 4.0.0.rc1
ERROR: While executing gem ... (Gem::Exception)
Failed to find gems ["shoes"] = 4.0.0.rc1

from shoes4.

Dassadar2 avatar Dassadar2 commented on July 28, 2024

Hi, any idea please? ;-)

from shoes4.

rubyFeedback avatar rubyFeedback commented on July 28, 2024

Perhaps you can transition into glimmer? Andy is very responsive on glimmer github - even if your use case may not be supported or possible right now, have a talk with him if you have time (or via glimmer github issue trackers). Glimmer is in many ways quite similar to shoes.

from shoes4.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.