Comments (8)
You got an error on top that you may have not addressed yet:
No user.name found in ~/.gitconfig. Please tell git about yourself (see http://help.github.com/git-email-settings/ for details).
For example: git config --global user.name "mad voo"
The git username is required for scaffolding at the moment. After it runs with it, it generates a Rakefile automatically.
from glimmer.
Ok, got that stuff taken care of but I still get this error:
warning: thread "Ruby-0-Thread-1: /opt/jruby/lib/ruby/gems/shared/gems/glimmer-dsl-swt-4.17.2.2/lib/glimmer/launcher.rb:187" terminated with exception (report_on_exception is true):
#Class:0x5e472aff: no implicit conversion from nil to integer
insert at org/jruby/RubyArray.java:1101
gem_rakefile at /opt/jruby/lib/ruby/gems/shared/gems/glimmer-dsl-swt-4.17.2.2/lib/glimmer/rake_task/scaffold.rb:422
app at /opt/jruby/lib/ruby/gems/shared/gems/glimmer-dsl-swt-4.17.2.2/lib/glimmer/rake_task/scaffold.rb:136
execute at /opt/jruby/lib/ruby/gems/shared/gems/rake-13.0.1/lib/rake/task.rb:279
each at org/jruby/RubyArray.java:1809
execute at /opt/jruby/lib/ruby/gems/shared/gems/rake-13.0.1/lib/rake/task.rb:279
invoke_with_call_chain at /opt/jruby/lib/ruby/gems/shared/gems/rake-13.0.1/lib/rake/task.rb:219
mon_synchronize at /opt/jruby/lib/ruby/stdlib/monitor.rb:235
invoke_with_call_chain at /opt/jruby/lib/ruby/gems/shared/gems/rake-13.0.1/lib/rake/task.rb:199
invoke at /opt/jruby/lib/ruby/gems/shared/gems/rake-13.0.1/lib/rake/task.rb:188
launch at /opt/jruby/lib/ruby/gems/shared/gems/glimmer-dsl-swt-4.17.2.2/lib/glimmer/launcher.rb:140
launch_application at /opt/jruby/lib/ruby/gems/shared/gems/glimmer-dsl-swt-4.17.2.2/lib/glimmer/launcher.rb:188
#Class:0x5e472aff: no implicit conversion from nil to integer
insert at org/jruby/RubyArray.java:1101
gem_rakefile at /opt/jruby/lib/ruby/gems/shared/gems/glimmer-dsl-swt-4.17.2.2/lib/glimmer/rake_task/scaffold.rb:422
app at /opt/jruby/lib/ruby/gems/shared/gems/glimmer-dsl-swt-4.17.2.2/lib/glimmer/rake_task/scaffold.rb:136
at /opt/jruby/lib/ruby/gems/shared/gems/glimmer-dsl-swt-4.17.2.2/lib/glimmer/rake_task.rb:113
execute at /opt/jruby/lib/ruby/gems/shared/gems/rake-13.0.1/lib/rake/task.rb:279
each at org/jruby/RubyArray.java:1809
execute at /opt/jruby/lib/ruby/gems/shared/gems/rake-13.0.1/lib/rake/task.rb:279
invoke_with_call_chain at /opt/jruby/lib/ruby/gems/shared/gems/rake-13.0.1/lib/rake/task.rb:219
mon_synchronize at /opt/jruby/lib/ruby/stdlib/monitor.rb:235
invoke_with_call_chain at /opt/jruby/lib/ruby/gems/shared/gems/rake-13.0.1/lib/rake/task.rb:199
invoke at /opt/jruby/lib/ruby/gems/shared/gems/rake-13.0.1/lib/rake/task.rb:188
launch at /opt/jruby/lib/ruby/gems/shared/gems/glimmer-dsl-swt-4.17.2.2/lib/glimmer/launcher.rb:140
launch_application at /opt/jruby/lib/ruby/gems/shared/gems/glimmer-dsl-swt-4.17.2.2/lib/glimmer/launcher.rb:188
from glimmer.
Did you delete the previously half generated app before scaffolding again (e.g. rm -rf some_app
)? If not, make sure to do so. Let me know what OS you are on if you run into trouble again. Also, always share the full output even before the error, so Iād know everything that went on please.
from glimmer.
OK, you still have a problem with your Git setup:
Please specify --github-username or set github.user in ~/.gitconfig (see http://github.com/blog/180-local-github-config for details). For example: git config --global github.user defunkt
Please fix it by running:
git config --global github.user mistergibson
Pay attention to error messages. They are helpful and often provide you with hints that are the exact solution you are looking for.
from glimmer.
OK - got it working, but it was weird:
I had to be in a .git blessed directory (from my gitlab repo) to run glimmer scaffold, who creates the project dir and another .git inhabited dir in that. Also, I am using my own gitlab repo -- not github as your script appears to assume. It does run, which is friggin cool, but when I attempt to re-run it with "glimmer run" it cannot find jruby even though env jruby points home correctly.
Hope that helps.
So, love that I got it running, but don't understand the .git on .git assumptions you're making.
from glimmer.
There is no such thing as a "glimmer run" command task. But, assuming you mean "glimmer application", you would just have to replace "application" with the the path to the application binary script, which gets scaffolded automatically under the "bin" directory.
For example, if you scaffolded 'some_app', then cd
into it and run this:
glimmer bin/some_app
It is mentioned under Glimmer App Scaffolding for future reference.
from glimmer.
oh right ok --> thanks
from glimmer.
You're welcome.
from glimmer.
Related Issues (20)
- Glimmer "store"? HOT 2
- [Suggestion, low priority] Provide "statistics" and information about the whole glimmer suite in some way, or perhaps several ways HOT 1
- Glimmer gosu support? (This is more a question though) HOT 1
- [Idea, just as impetus, don't worry about implementing it and feel free to close it at any moment in time] "Automatic glimmer" or "Automated glimmer" - automatically generating a GUI for commandline applications HOT 1
- [Idea / Suggestion] "Glimmer components": the idea is to have different glimmer widgets, no matter the style, that could be integrated / included and re-used. For instance, rubio-radio to be embedded in a tabbed notebook with a weather-displaying widget HOT 3
- Battleships - a few not-so-important comments/suggestions, please feel free to ignore/close at any moment in time HOT 6
- [Small idea / question] Customizing Glimmer Tetris? HOT 1
- [Related to the RubyConf 2022 Talk in about 3 months] If you have time during the talk, could you also mention future ideas and goals for glimmer? HOT 1
- [Minor suggestion for future video content] A video in regards to "workflow use" / computer setup, from the point of view of glimmer, but also aside from glimmer HOT 5
- Glimmer Video Request +1 - a dedicated video for "styling glimmer" applications HOT 3
- [Idea, please close as desired] Glimte-Glimmer for Everyone \o/ (GUIs everywhere) HOT 1
- [Idea] glimmer + curses / ncurses HOT 1
- [Idea] "Standardized" glimmer components HOT 3
- Glimmer statistics (aka overview)? HOT 1
- Enable GitHub Discussions on all glimmer repos HOT 2
- A few ~smaller suggestions, kind of; in particular 2-3 or so suggestions for expanding the FAQ entries HOT 1
- Glimmer support for jruby + SWING? HOT 1
- glimmer-meta-overview: Offer some (multiple?) way(s) to check on glimmer progress overall
- NixOS package
- [Proposal] A new glimmer FAQ repository to specifically answer FAQ-related questions from different users HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
š Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ā¤ļø Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from glimmer.