Giter VIP home page Giter VIP logo

Comments (8)

AndyObtiva avatar AndyObtiva commented on May 28, 2024

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.

mistergibson avatar mistergibson commented on May 28, 2024

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

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
#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.

AndyObtiva avatar AndyObtiva commented on May 28, 2024

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.

AndyObtiva avatar AndyObtiva commented on May 28, 2024

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.

mistergibson avatar mistergibson commented on May 28, 2024

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.

AndyObtiva avatar AndyObtiva commented on May 28, 2024

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.

mistergibson avatar mistergibson commented on May 28, 2024

oh right ok --> thanks

from glimmer.

AndyObtiva avatar AndyObtiva commented on May 28, 2024

You're welcome.

from glimmer.

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.