Skip to content

Instantly share code, notes, and snippets.

@baroquebobcat
Created January 6, 2014 00:53
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save baroquebobcat/8276366 to your computer and use it in GitHub Desktop.
Save baroquebobcat/8276366 to your computer and use it in GitHub Desktop.
Mirah 0.1.2 release process notes
mirah 0.1.2 release highlights
- improvements to the new mirrors implementation (try it with -T)
- improvements to the new backend implementation (try it with -N)
- added better casting for methods that return primitives (754cc38f)
- =~, include? macros added to String (Thanks altamic)
- << operator added to StringBuilder
- improved line number recording in new backend
- fixed a few macro expansion related bugs
- Added Apache 2 license to gem metadata
- running mirah files with a classpath will now us the classpath for both compilation AND execution
ack `ruby -Ilib -rmirah/version -e 'puts Mirah::VERSION.sub(".dev","")'`
rvm jruby@mirah_release_0_1_2 --create
It'd be nice if I could run the JVM tests w/ the release artifact. Hmm.
$ mirah -e 'puts 1'
NameError: cannot load Java class org.mirah.macros.Macro
for_name at org/jruby/javasupport/JavaClass.java:1250
get_proxy_class at org/jruby/javasupport/JavaUtilities.java:34
java_import at file:/Users/nick/.rvm/rubies/jruby-1.7.9/lib/jruby.jar!/jruby/java/core_ext/object.rb:26
map at org/jruby/RubyArray.java:2409
java_import at file:/Users/nick/.rvm/rubies/jruby-1.7.9/lib/jruby.jar!/jruby/java/core_ext/object.rb:22
AST at /Users/nick/.rvm/gems/jruby-1.7.9@mirah_release_0_1_2/gems/mirah-0.1.2-java/lib/mirah/transform/ast_ext.rb:5
Mirah at /Users/nick/.rvm/gems/jruby-1.7.9@mirah_release_0_1_2/gems/mirah-0.1.2-java/lib/mirah/transform/ast_ext.rb:2
(root) at /Users/nick/.rvm/gems/jruby-1.7.9@mirah_release_0_1_2/gems/mirah-0.1.2-java/lib/mirah/transform/ast_ext.rb:1
require at org/jruby/RubyKernel.java:1083
(root) at /Users/nick/.rvm/rubies/jruby-1.7.9/lib/ruby/shared/rubygems/core_ext/kernel_require.rb:1
require at /Users/nick/.rvm/rubies/jruby-1.7.9/lib/ruby/shared/rubygems/core_ext/kernel_require.rb:55
require at org/jruby/RubyKernel.java:1083
(root) at /Users/nick/.rvm/gems/jruby-1.7.9@mirah_release_0_1_2/gems/mirah-0.1.2-java/lib/mirah/transform.rb:21
(root) at /Users/nick/.rvm/rubies/jruby-1.7.9/lib/ruby/shared/rubygems/core_ext/kernel_require.rb:1
require at org/jruby/RubyKernel.java:1083
require at /Users/nick/.rvm/rubies/jruby-1.7.9/lib/ruby/shared/rubygems/core_ext/kernel_require.rb:55
(root) at /Users/nick/.rvm/gems/jruby-1.7.9@mirah_release_0_1_2/gems/mirah-0.1.2-java/lib/mirah.rb:28
load at org/jruby/RubyKernel.java:1099
(root) at /Users/nick/.rvm/rubies/jruby-1.7.9/lib/ruby/shared/rubygems/core_ext/kernel_require.rb:1
eval at org/jruby/RubyKernel.java:1119
(root) at /Users/nick/.rvm/gems/jruby-1.7.9@mirah_release_0_1_2/bin/jruby_executable_hooks:15
well that didn't work
Oh I think I know why
the rake task to build the gem is initialized before all the files for the gem exist. So maybe rake dist should build everything, then shell out to itself to build the gem.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment