-
Notifications
You must be signed in to change notification settings - Fork 185
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
"RegexpError: invalid multibyte escape" error on "rake generate_secret_token" and "rake db:migrate" Rails commands #1433
Comments
I tried again using I found a Stack discussion that gave me a hint. Redmine's Gemfile limits the platforms for which the $ curl -LOk https://github.com/oracle/truffleruby/releases/download/vm-1.0.0-rc7/truffleruby-1.0.0-rc7-linux-amd64.tar.gz
$ tar xf truffleruby-1.0.0-rc7-linux-amd64.tar.gz
$ export PATH=/home/jeremy/Coding/Rails/graalvm-ce-1.0.0-rc7/bin:$PATH
$ gu install ruby
$ /home/jeremy/Coding/Rails/graalvm-ce-1.0.0-rc7/jre/languages/ruby/lib/truffle/post_install_hook.sh
$ /home/jeremy/Coding/Rails/graalvm-ce-1.0.0-rc7/jre/bin/gu rebuild-images ruby polyglot
$ cd redmine-3.4
$ gem install bundler
$ bundle config build.nokogiri --use-system-libraries
$ bundle install # this process is very slow before "Fetching gem metadata..." is displayed
$ sudo apt install postgresql-server-dev-10 libpq-dev
$ gem install pg
$ bundle exec rake generate_secret_token --trace
$ RAILS_ENV=development bundle exec rake db:migrate Below is the full stack trace for the failed $ bundle exec rake generate_secret_token --trace
Possibly unsupported Ruby implementation
rake aborted!
RegexpError: invalid multibyte escape
/home/jeremy/Coding/Rails/graalvm-ce-1.0.0-rc7/jre/languages/ruby/lib/ruby/gems/2.4.0/gems/css_parser-1.6.0/lib/css_parser/regexps.rb:9:in `compile'
/home/jeremy/Coding/Rails/graalvm-ce-1.0.0-rc7/jre/languages/ruby/lib/ruby/gems/2.4.0/gems/css_parser-1.6.0/lib/css_parser/regexps.rb:9:in `initialize'
/home/jeremy/Coding/Rails/graalvm-ce-1.0.0-rc7/jre/languages/ruby/lib/ruby/gems/2.4.0/gems/css_parser-1.6.0/lib/css_parser/regexps.rb:9:in `new'
/home/jeremy/Coding/Rails/graalvm-ce-1.0.0-rc7/jre/languages/ruby/lib/ruby/gems/2.4.0/gems/css_parser-1.6.0/lib/css_parser/regexps.rb:9:in `CssParser'
/home/jeremy/Coding/Rails/graalvm-ce-1.0.0-rc7/jre/languages/ruby/lib/ruby/gems/2.4.0/gems/css_parser-1.6.0/lib/css_parser/regexps.rb:1:in `<top (required)>'
/home/jeremy/Coding/Rails/graalvm-ce-1.0.0-rc7/jre/languages/ruby/lib/ruby/gems/2.4.0/gems/css_parser-1.6.0/lib/css_parser.rb:11:in `require'
/home/jeremy/Coding/Rails/graalvm-ce-1.0.0-rc7/jre/languages/ruby/lib/ruby/gems/2.4.0/gems/css_parser-1.6.0/lib/css_parser.rb:11:in `<top (required)>'
/home/jeremy/Coding/Rails/graalvm-ce-1.0.0-rc7/jre/languages/ruby/lib/ruby/gems/2.4.0/gems/roadie-3.2.2/lib/roadie/inliner.rb:4:in `require'
/home/jeremy/Coding/Rails/graalvm-ce-1.0.0-rc7/jre/languages/ruby/lib/ruby/gems/2.4.0/gems/roadie-3.2.2/lib/roadie/inliner.rb:4:in `<top (required)>'
/home/jeremy/Coding/Rails/graalvm-ce-1.0.0-rc7/jre/languages/ruby/lib/ruby/gems/2.4.0/gems/roadie-3.2.2/lib/roadie.rb:29:in `require'
/home/jeremy/Coding/Rails/graalvm-ce-1.0.0-rc7/jre/languages/ruby/lib/ruby/gems/2.4.0/gems/roadie-3.2.2/lib/roadie.rb:29:in `<top (required)>'
/home/jeremy/Coding/Rails/graalvm-ce-1.0.0-rc7/jre/languages/ruby/lib/ruby/gems/2.4.0/gems/roadie-rails-1.1.1/lib/roadie/rails.rb:6:in `require'
/home/jeremy/Coding/Rails/graalvm-ce-1.0.0-rc7/jre/languages/ruby/lib/ruby/gems/2.4.0/gems/roadie-rails-1.1.1/lib/roadie/rails.rb:6:in `<top (required)>'
/home/jeremy/Coding/Rails/graalvm-ce-1.0.0-rc7/jre/languages/ruby/lib/ruby/gems/2.4.0/gems/roadie-rails-1.1.1/lib/roadie-rails.rb:1:in `require'
/home/jeremy/Coding/Rails/graalvm-ce-1.0.0-rc7/jre/languages/ruby/lib/ruby/gems/2.4.0/gems/roadie-rails-1.1.1/lib/roadie-rails.rb:1:in `<top (required)>'
/home/jeremy/Coding/Rails/graalvm-ce-1.0.0-rc7/jre/languages/ruby/lib/ruby/gems/2.4.0/gems/bundler-1.16.6/lib/bundler/runtime.rb:81:in `require'
/home/jeremy/Coding/Rails/graalvm-ce-1.0.0-rc7/jre/languages/ruby/lib/ruby/gems/2.4.0/gems/bundler-1.16.6/lib/bundler/runtime.rb:81:in `block (2 levels) in require'
/home/jeremy/Coding/Rails/graalvm-ce-1.0.0-rc7/jre/languages/ruby/lib/ruby/gems/2.4.0/gems/bundler-1.16.6/lib/bundler/runtime.rb:76:in `each'
/home/jeremy/Coding/Rails/graalvm-ce-1.0.0-rc7/jre/languages/ruby/lib/ruby/gems/2.4.0/gems/bundler-1.16.6/lib/bundler/runtime.rb:76:in `block in require'
/home/jeremy/Coding/Rails/graalvm-ce-1.0.0-rc7/jre/languages/ruby/lib/ruby/gems/2.4.0/gems/bundler-1.16.6/lib/bundler/runtime.rb:65:in `each'
/home/jeremy/Coding/Rails/graalvm-ce-1.0.0-rc7/jre/languages/ruby/lib/ruby/gems/2.4.0/gems/bundler-1.16.6/lib/bundler/runtime.rb:65:in `require'
/home/jeremy/Coding/Rails/graalvm-ce-1.0.0-rc7/jre/languages/ruby/lib/ruby/gems/2.4.0/gems/bundler-1.16.6/lib/bundler.rb:114:in `require'
/home/jeremy/Coding/Rails/redmine-3.4/config/application.rb:5:in `<top (required)>'
/home/jeremy/Coding/Rails/redmine-3.4/Rakefile:5:in `require'
/home/jeremy/Coding/Rails/redmine-3.4/Rakefile:5:in `<top (required)>'
/home/jeremy/Coding/Rails/graalvm-ce-1.0.0-rc7/jre/languages/ruby/lib/ruby/gems/2.4.0/gems/rake-12.3.1/lib/rake/rake_module.rb:29:in `load'
/home/jeremy/Coding/Rails/graalvm-ce-1.0.0-rc7/jre/languages/ruby/lib/ruby/gems/2.4.0/gems/rake-12.3.1/lib/rake/rake_module.rb:29:in `load'
/home/jeremy/Coding/Rails/graalvm-ce-1.0.0-rc7/jre/languages/ruby/lib/ruby/gems/2.4.0/gems/rake-12.3.1/lib/rake/rake_module.rb:29:in `load_rakefile'
/home/jeremy/Coding/Rails/graalvm-ce-1.0.0-rc7/jre/languages/ruby/lib/ruby/gems/2.4.0/gems/rake-12.3.1/lib/rake/application.rb:703:in `raw_load_rakefile'
/home/jeremy/Coding/Rails/graalvm-ce-1.0.0-rc7/jre/languages/ruby/lib/ruby/gems/2.4.0/gems/rake-12.3.1/lib/rake/application.rb:104:in `block in load_rakefile'
/home/jeremy/Coding/Rails/graalvm-ce-1.0.0-rc7/jre/languages/ruby/lib/ruby/gems/2.4.0/gems/rake-12.3.1/lib/rake/application.rb:186:in `standard_exception_handling'
/home/jeremy/Coding/Rails/graalvm-ce-1.0.0-rc7/jre/languages/ruby/lib/ruby/gems/2.4.0/gems/rake-12.3.1/lib/rake/application.rb:103:in `load_rakefile'
/home/jeremy/Coding/Rails/graalvm-ce-1.0.0-rc7/jre/languages/ruby/lib/ruby/gems/2.4.0/gems/rake-12.3.1/lib/rake/application.rb:82:in `block in run'
/home/jeremy/Coding/Rails/graalvm-ce-1.0.0-rc7/jre/languages/ruby/lib/ruby/gems/2.4.0/gems/rake-12.3.1/lib/rake/application.rb:186:in `standard_exception_handling'
/home/jeremy/Coding/Rails/graalvm-ce-1.0.0-rc7/jre/languages/ruby/lib/ruby/gems/2.4.0/gems/rake-12.3.1/lib/rake/application.rb:80:in `run'
/home/jeremy/Coding/Rails/graalvm-ce-1.0.0-rc7/jre/languages/ruby/lib/ruby/gems/2.4.0/gems/rake-12.3.1/exe/rake:27:in `<top (required)>'
/home/jeremy/Coding/Rails/graalvm-ce-1.0.0-rc7/bin/rake:23:in `load'
/home/jeremy/Coding/Rails/graalvm-ce-1.0.0-rc7/bin/rake:23:in `load'
/home/jeremy/Coding/Rails/graalvm-ce-1.0.0-rc7/bin/rake:23:in `<top (required)>'
/home/jeremy/Coding/Rails/graalvm-ce-1.0.0-rc7/jre/languages/ruby/lib/ruby/gems/2.4.0/gems/bundler-1.16.6/lib/bundler/cli/exec.rb:74:in `load'
/home/jeremy/Coding/Rails/graalvm-ce-1.0.0-rc7/jre/languages/ruby/lib/ruby/gems/2.4.0/gems/bundler-1.16.6/lib/bundler/cli/exec.rb:74:in `load'
/home/jeremy/Coding/Rails/graalvm-ce-1.0.0-rc7/jre/languages/ruby/lib/ruby/gems/2.4.0/gems/bundler-1.16.6/lib/bundler/cli/exec.rb:74:in `kernel_load'
/home/jeremy/Coding/Rails/graalvm-ce-1.0.0-rc7/jre/languages/ruby/lib/ruby/gems/2.4.0/gems/bundler-1.16.6/lib/bundler/cli/exec.rb:28:in `run'
/home/jeremy/Coding/Rails/graalvm-ce-1.0.0-rc7/jre/languages/ruby/lib/ruby/gems/2.4.0/gems/bundler-1.16.6/lib/bundler/cli.rb:424:in `exec'
/home/jeremy/Coding/Rails/graalvm-ce-1.0.0-rc7/jre/languages/ruby/lib/ruby/gems/2.4.0/gems/bundler-1.16.6/lib/bundler/vendor/thor/lib/thor/command.rb:27:in `__send__'
/home/jeremy/Coding/Rails/graalvm-ce-1.0.0-rc7/jre/languages/ruby/lib/ruby/gems/2.4.0/gems/bundler-1.16.6/lib/bundler/vendor/thor/lib/thor/command.rb:27:in `run'
/home/jeremy/Coding/Rails/graalvm-ce-1.0.0-rc7/jre/languages/ruby/lib/ruby/gems/2.4.0/gems/bundler-1.16.6/lib/bundler/vendor/thor/lib/thor/invocation.rb:126:in `invoke_command'
/home/jeremy/Coding/Rails/graalvm-ce-1.0.0-rc7/jre/languages/ruby/lib/ruby/gems/2.4.0/gems/bundler-1.16.6/lib/bundler/vendor/thor/lib/thor.rb:387:in `dispatch'
/home/jeremy/Coding/Rails/graalvm-ce-1.0.0-rc7/jre/languages/ruby/lib/ruby/gems/2.4.0/gems/bundler-1.16.6/lib/bundler/cli.rb:27:in `dispatch'
/home/jeremy/Coding/Rails/graalvm-ce-1.0.0-rc7/jre/languages/ruby/lib/ruby/gems/2.4.0/gems/bundler-1.16.6/lib/bundler/vendor/thor/lib/thor/base.rb:466:in `start'
/home/jeremy/Coding/Rails/graalvm-ce-1.0.0-rc7/jre/languages/ruby/lib/ruby/gems/2.4.0/gems/bundler-1.16.6/lib/bundler/cli.rb:18:in `start'
/home/jeremy/Coding/Rails/graalvm-ce-1.0.0-rc7/jre/languages/ruby/lib/ruby/gems/2.4.0/gems/bundler-1.16.6/exe/bundle:30:in `block in <top (required)>'
/home/jeremy/Coding/Rails/graalvm-ce-1.0.0-rc7/jre/languages/ruby/lib/ruby/gems/2.4.0/gems/bundler-1.16.6/lib/bundler/friendly_errors.rb:124:in `with_friendly_errors'
/home/jeremy/Coding/Rails/graalvm-ce-1.0.0-rc7/jre/languages/ruby/lib/ruby/gems/2.4.0/gems/bundler-1.16.6/exe/bundle:22:in `<top (required)>'
/home/jeremy/Coding/Rails/graalvm-ce-1.0.0-rc7/bin/bundle:23:in `load'
/home/jeremy/Coding/Rails/graalvm-ce-1.0.0-rc7/bin/bundle:23:in `load'
/home/jeremy/Coding/Rails/graalvm-ce-1.0.0-rc7/bin/bundle:23:in `<main>' I could work around this by creating a However, I couldn't work around the failed $ RAILS_ENV=development bundle exec rake db:migrate --trace
Possibly unsupported Ruby implementation
rake aborted!
RegexpError: invalid multibyte escape
/home/jeremy/Coding/Rails/graalvm-ce-1.0.0-rc7/jre/languages/ruby/lib/ruby/gems/2.4.0/gems/css_parser-1.6.0/lib/css_parser/regexps.rb:9:in `compile'
/home/jeremy/Coding/Rails/graalvm-ce-1.0.0-rc7/jre/languages/ruby/lib/ruby/gems/2.4.0/gems/css_parser-1.6.0/lib/css_parser/regexps.rb:9:in `initialize'
/home/jeremy/Coding/Rails/graalvm-ce-1.0.0-rc7/jre/languages/ruby/lib/ruby/gems/2.4.0/gems/css_parser-1.6.0/lib/css_parser/regexps.rb:9:in `new'
/home/jeremy/Coding/Rails/graalvm-ce-1.0.0-rc7/jre/languages/ruby/lib/ruby/gems/2.4.0/gems/css_parser-1.6.0/lib/css_parser/regexps.rb:9:in `CssParser'
/home/jeremy/Coding/Rails/graalvm-ce-1.0.0-rc7/jre/languages/ruby/lib/ruby/gems/2.4.0/gems/css_parser-1.6.0/lib/css_parser/regexps.rb:1:in `<top (required)>'
/home/jeremy/Coding/Rails/graalvm-ce-1.0.0-rc7/jre/languages/ruby/lib/ruby/gems/2.4.0/gems/css_parser-1.6.0/lib/css_parser.rb:11:in `require'
/home/jeremy/Coding/Rails/graalvm-ce-1.0.0-rc7/jre/languages/ruby/lib/ruby/gems/2.4.0/gems/css_parser-1.6.0/lib/css_parser.rb:11:in `<top (required)>'
/home/jeremy/Coding/Rails/graalvm-ce-1.0.0-rc7/jre/languages/ruby/lib/ruby/gems/2.4.0/gems/roadie-3.2.2/lib/roadie/inliner.rb:4:in `require'
/home/jeremy/Coding/Rails/graalvm-ce-1.0.0-rc7/jre/languages/ruby/lib/ruby/gems/2.4.0/gems/roadie-3.2.2/lib/roadie/inliner.rb:4:in `<top (required)>'
/home/jeremy/Coding/Rails/graalvm-ce-1.0.0-rc7/jre/languages/ruby/lib/ruby/gems/2.4.0/gems/roadie-3.2.2/lib/roadie.rb:29:in `require'
/home/jeremy/Coding/Rails/graalvm-ce-1.0.0-rc7/jre/languages/ruby/lib/ruby/gems/2.4.0/gems/roadie-3.2.2/lib/roadie.rb:29:in `<top (required)>'
/home/jeremy/Coding/Rails/graalvm-ce-1.0.0-rc7/jre/languages/ruby/lib/ruby/gems/2.4.0/gems/roadie-rails-1.1.1/lib/roadie/rails.rb:6:in `require'
/home/jeremy/Coding/Rails/graalvm-ce-1.0.0-rc7/jre/languages/ruby/lib/ruby/gems/2.4.0/gems/roadie-rails-1.1.1/lib/roadie/rails.rb:6:in `<top (required)>'
/home/jeremy/Coding/Rails/graalvm-ce-1.0.0-rc7/jre/languages/ruby/lib/ruby/gems/2.4.0/gems/roadie-rails-1.1.1/lib/roadie-rails.rb:1:in `require'
/home/jeremy/Coding/Rails/graalvm-ce-1.0.0-rc7/jre/languages/ruby/lib/ruby/gems/2.4.0/gems/roadie-rails-1.1.1/lib/roadie-rails.rb:1:in `<top (required)>'
/home/jeremy/Coding/Rails/graalvm-ce-1.0.0-rc7/jre/languages/ruby/lib/ruby/gems/2.4.0/gems/bundler-1.16.6/lib/bundler/runtime.rb:81:in `require'
/home/jeremy/Coding/Rails/graalvm-ce-1.0.0-rc7/jre/languages/ruby/lib/ruby/gems/2.4.0/gems/bundler-1.16.6/lib/bundler/runtime.rb:81:in `block (2 levels) in require'
/home/jeremy/Coding/Rails/graalvm-ce-1.0.0-rc7/jre/languages/ruby/lib/ruby/gems/2.4.0/gems/bundler-1.16.6/lib/bundler/runtime.rb:76:in `each'
/home/jeremy/Coding/Rails/graalvm-ce-1.0.0-rc7/jre/languages/ruby/lib/ruby/gems/2.4.0/gems/bundler-1.16.6/lib/bundler/runtime.rb:76:in `block in require'
/home/jeremy/Coding/Rails/graalvm-ce-1.0.0-rc7/jre/languages/ruby/lib/ruby/gems/2.4.0/gems/bundler-1.16.6/lib/bundler/runtime.rb:65:in `each'
/home/jeremy/Coding/Rails/graalvm-ce-1.0.0-rc7/jre/languages/ruby/lib/ruby/gems/2.4.0/gems/bundler-1.16.6/lib/bundler/runtime.rb:65:in `require'
/home/jeremy/Coding/Rails/graalvm-ce-1.0.0-rc7/jre/languages/ruby/lib/ruby/gems/2.4.0/gems/bundler-1.16.6/lib/bundler.rb:114:in `require'
/home/jeremy/Coding/Rails/redmine-3.4/config/application.rb:5:in `<top (required)>'
/home/jeremy/Coding/Rails/redmine-3.4/Rakefile:5:in `require'
/home/jeremy/Coding/Rails/redmine-3.4/Rakefile:5:in `<top (required)>'
/home/jeremy/Coding/Rails/graalvm-ce-1.0.0-rc7/jre/languages/ruby/lib/ruby/gems/2.4.0/gems/rake-12.3.1/lib/rake/rake_module.rb:29:in `load'
/home/jeremy/Coding/Rails/graalvm-ce-1.0.0-rc7/jre/languages/ruby/lib/ruby/gems/2.4.0/gems/rake-12.3.1/lib/rake/rake_module.rb:29:in `load'
/home/jeremy/Coding/Rails/graalvm-ce-1.0.0-rc7/jre/languages/ruby/lib/ruby/gems/2.4.0/gems/rake-12.3.1/lib/rake/rake_module.rb:29:in `load_rakefile'
/home/jeremy/Coding/Rails/graalvm-ce-1.0.0-rc7/jre/languages/ruby/lib/ruby/gems/2.4.0/gems/rake-12.3.1/lib/rake/application.rb:703:in `raw_load_rakefile'
/home/jeremy/Coding/Rails/graalvm-ce-1.0.0-rc7/jre/languages/ruby/lib/ruby/gems/2.4.0/gems/rake-12.3.1/lib/rake/application.rb:104:in `block in load_rakefile'
/home/jeremy/Coding/Rails/graalvm-ce-1.0.0-rc7/jre/languages/ruby/lib/ruby/gems/2.4.0/gems/rake-12.3.1/lib/rake/application.rb:186:in `standard_exception_handling'
/home/jeremy/Coding/Rails/graalvm-ce-1.0.0-rc7/jre/languages/ruby/lib/ruby/gems/2.4.0/gems/rake-12.3.1/lib/rake/application.rb:103:in `load_rakefile'
/home/jeremy/Coding/Rails/graalvm-ce-1.0.0-rc7/jre/languages/ruby/lib/ruby/gems/2.4.0/gems/rake-12.3.1/lib/rake/application.rb:82:in `block in run'
/home/jeremy/Coding/Rails/graalvm-ce-1.0.0-rc7/jre/languages/ruby/lib/ruby/gems/2.4.0/gems/rake-12.3.1/lib/rake/application.rb:186:in `standard_exception_handling'
/home/jeremy/Coding/Rails/graalvm-ce-1.0.0-rc7/jre/languages/ruby/lib/ruby/gems/2.4.0/gems/rake-12.3.1/lib/rake/application.rb:80:in `run'
/home/jeremy/Coding/Rails/graalvm-ce-1.0.0-rc7/jre/languages/ruby/lib/ruby/gems/2.4.0/gems/rake-12.3.1/exe/rake:27:in `<top (required)>'
/home/jeremy/Coding/Rails/graalvm-ce-1.0.0-rc7/bin/rake:23:in `load'
/home/jeremy/Coding/Rails/graalvm-ce-1.0.0-rc7/bin/rake:23:in `load'
/home/jeremy/Coding/Rails/graalvm-ce-1.0.0-rc7/bin/rake:23:in `<top (required)>'
/home/jeremy/Coding/Rails/graalvm-ce-1.0.0-rc7/jre/languages/ruby/lib/ruby/gems/2.4.0/gems/bundler-1.16.6/lib/bundler/cli/exec.rb:74:in `load'
/home/jeremy/Coding/Rails/graalvm-ce-1.0.0-rc7/jre/languages/ruby/lib/ruby/gems/2.4.0/gems/bundler-1.16.6/lib/bundler/cli/exec.rb:74:in `load'
/home/jeremy/Coding/Rails/graalvm-ce-1.0.0-rc7/jre/languages/ruby/lib/ruby/gems/2.4.0/gems/bundler-1.16.6/lib/bundler/cli/exec.rb:74:in `kernel_load'
/home/jeremy/Coding/Rails/graalvm-ce-1.0.0-rc7/jre/languages/ruby/lib/ruby/gems/2.4.0/gems/bundler-1.16.6/lib/bundler/cli/exec.rb:28:in `run'
/home/jeremy/Coding/Rails/graalvm-ce-1.0.0-rc7/jre/languages/ruby/lib/ruby/gems/2.4.0/gems/bundler-1.16.6/lib/bundler/cli.rb:424:in `exec'
/home/jeremy/Coding/Rails/graalvm-ce-1.0.0-rc7/jre/languages/ruby/lib/ruby/gems/2.4.0/gems/bundler-1.16.6/lib/bundler/vendor/thor/lib/thor/command.rb:27:in `__send__'
/home/jeremy/Coding/Rails/graalvm-ce-1.0.0-rc7/jre/languages/ruby/lib/ruby/gems/2.4.0/gems/bundler-1.16.6/lib/bundler/vendor/thor/lib/thor/command.rb:27:in `run'
/home/jeremy/Coding/Rails/graalvm-ce-1.0.0-rc7/jre/languages/ruby/lib/ruby/gems/2.4.0/gems/bundler-1.16.6/lib/bundler/vendor/thor/lib/thor/invocation.rb:126:in `invoke_command'
/home/jeremy/Coding/Rails/graalvm-ce-1.0.0-rc7/jre/languages/ruby/lib/ruby/gems/2.4.0/gems/bundler-1.16.6/lib/bundler/vendor/thor/lib/thor.rb:387:in `dispatch'
/home/jeremy/Coding/Rails/graalvm-ce-1.0.0-rc7/jre/languages/ruby/lib/ruby/gems/2.4.0/gems/bundler-1.16.6/lib/bundler/cli.rb:27:in `dispatch'
/home/jeremy/Coding/Rails/graalvm-ce-1.0.0-rc7/jre/languages/ruby/lib/ruby/gems/2.4.0/gems/bundler-1.16.6/lib/bundler/vendor/thor/lib/thor/base.rb:466:in `start'
/home/jeremy/Coding/Rails/graalvm-ce-1.0.0-rc7/jre/languages/ruby/lib/ruby/gems/2.4.0/gems/bundler-1.16.6/lib/bundler/cli.rb:18:in `start'
/home/jeremy/Coding/Rails/graalvm-ce-1.0.0-rc7/jre/languages/ruby/lib/ruby/gems/2.4.0/gems/bundler-1.16.6/exe/bundle:30:in `block in <top (required)>'
/home/jeremy/Coding/Rails/graalvm-ce-1.0.0-rc7/jre/languages/ruby/lib/ruby/gems/2.4.0/gems/bundler-1.16.6/lib/bundler/friendly_errors.rb:124:in `with_friendly_errors'
/home/jeremy/Coding/Rails/graalvm-ce-1.0.0-rc7/jre/languages/ruby/lib/ruby/gems/2.4.0/gems/bundler-1.16.6/exe/bundle:22:in `<top (required)>'
/home/jeremy/Coding/Rails/graalvm-ce-1.0.0-rc7/bin/bundle:23:in `load'
/home/jeremy/Coding/Rails/graalvm-ce-1.0.0-rc7/bin/bundle:23:in `load'
/home/jeremy/Coding/Rails/graalvm-ce-1.0.0-rc7/bin/bundle:23:in `<main>' |
Thanks we'll be looking into this. |
This issue has been open for a while, so I thought I'd give try the process again with the latest bits. I tried again, using Ubuntu 18.04.2 LTS and TruffleRuby 1.0.0-rc10, installed with RVM, and Redmine 4.0 stable. Initially, I couldn't install the nokogiri gem. I had attempted to install it using the system libraries as documented (e.g. in #62), so I removed 1.0.0-rc10 and downloaded 1.0.0-rc12 CE from the GitHub releases page. With RC12, I got a super ugly core dump ( So I gave my VM a bit more memory, and tried again. At the end of all this, the |
Yes we've got a bit behind on our public issues, sorry about that. Thanks for trying again. |
Hey Chris and team, just wondering if this fix is on the roadmap, and roughly speaking when you think you’ll be able to support most production Rails apps. |
We've been making a bit dent in the issue backlog in the last few weeks, so we're making progress. I'll prioritise this one. I'm not sure Redmine is in our testing system yet - I'll put it in and see how it goes. If you have any other |
@chrisseaton, any progress to report after Redmine was added to your testing system? |
Sorry, I left Oracle. @eregon can task someone else. I'd help you myself still, but this seems fairly complicated to setup and test. |
We'll try to take a look soon at the cause of this.
It also happens with |
Thanks! I don’t know if you are still keen to add Redmine to your test system, but it is a great example of an open-source and complex Ruby on Rails app that could benefit from TruffleRuby, particularly for larger installations with heavy usage and concurrency. Might be useful as a litmus test of TruffleRuby’s real-world readiness. |
I've found the cause of this problem and I'm running it through our internal CI at the moment. The issue was that regexps that specify |
This issue was fixed in fb3fca1 by @aardvark179 and will be in the next release. Thank you for the bug report and sorry it took so long. |
In trying to test TruffleRuby with the Redmine (a popular project-management tool), I found two rake commands gem (
rake generate_secret_token
andrake db:migrate
) that generate errors under Rails 4.2.10.Environment
Repro steps
graalvm-ce-1.0.0-rc6
orgraalvm-ce-1.0.0-rc7
manually and extract it..bash_history
).Errors
bundle exec rake generate_secret_token
command failed with anRegexpError: invalid multibyte escape
error.bundle exec rake db:migrate
command also failed with anRegexpError: invalid multibyte escape
error.Details
Click below to see the full stack traces for each errors.
bundle exec rake generate_secret_token
bundle exec rake db:migrate
The text was updated successfully, but these errors were encountered: