{"action":"created","issue":{"url":"https://api.github.com/repos/lotus/lotus/issues/332","labels_url":"https://api.github.com/repos/lotus/lotus/issues/332/labels{/name}","comments_url":"https://api.github.com/repos/lotus/lotus/issues/332/comments","events_url":"https://api.github.com/repos/lotus/lotus/issues/332/events","html_url":"https://github.com/lotus/lotus/issues/332","id":105336775,"number":332,"title":"Can't generate an app in Rubinius","user":{"login":"ashmoran","id":5428,"avatar_url":"https://avatars.githubusercontent.com/u/5428?v=3","gravatar_id":"","url":"https://api.github.com/users/ashmoran","html_url":"https://github.com/ashmoran","followers_url":"https://api.github.com/users/ashmoran/followers","following_url":"https://api.github.com/users/ashmoran/following{/other_user}","gists_url":"https://api.github.com/users/ashmoran/gists{/gist_id}","starred_url":"https://api.github.com/users/ashmoran/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ashmoran/subscriptions","organizations_url":"https://api.github.com/users/ashmoran/orgs","repos_url":"https://api.github.com/users/ashmoran/repos","events_url":"https://api.github.com/users/ashmoran/events{/privacy}","received_events_url":"https://api.github.com/users/ashmoran/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-09-08T09:14:57Z","updated_at":"2015-09-10T23:06:32Z","closed_at":null,"body":"I'm new to Lotus, I thought I'd give it a go today. I have Rubinius 2.5.8 set as my default Ruby, but when I run `lotus new lotus_test`, it fails with this error:\r\n\r\n    % lotus new lotus_test        \r\n          create  lotus_test/.lotusrc\r\n          create  lotus_test/.env\r\n          create  lotus_test/.env.development\r\n          create  lotus_test/.env.test\r\n          create  lotus_test/Gemfile\r\n          create  lotus_test/config.ru\r\n          create  lotus_test/config/environment.rb\r\n          create  lotus_test/lib/lotus_test.rb\r\n          create  lotus_test/lib/config/mapping.rb\r\n          create  lotus_test/Rakefile\r\n          create  lotus_test/spec/spec_helper.rb\r\n          create  lotus_test/spec/features_helper.rb\r\n          create  lotus_test/lib/lotus_test/entities/.gitkeep\r\n          create  lotus_test/lib/lotus_test/repositories/.gitkeep\r\n          create  lotus_test/db/.gitkeep\r\n          create  lotus_test/spec/lotus_test/entities/.gitkeep\r\n          create  lotus_test/spec/lotus_test/repositories/.gitkeep\r\n          create  lotus_test/spec/support/.gitkeep\r\n          create  lotus_test/.gitignore\r\n    An exception occurred running /Users/ashmoran/.gem/rbx/2.1.0/bin/lotus\r\n\r\n    undefined method `empty?' on an instance of Pathname. (NoMethodError)\r\n\r\n    Backtrace:\r\n\r\n             Kernel(Pathname)#empty? (method_missing) at kernel/delta/kernel.rb:78\r\n                     Shellwords.escape (shellescape) at /Users/ashmoran/.rubies/rbx-2.5.8/gems/gems\r\n                                                        /rubysl-shellwords-2.0.0/lib/rubysl/shellwords\r\n                                                        /shellwords.rb:74\r\n     Lotus::Generators::Application::Container#start at /Users/ashmoran/.gem/rbx/2.1.0/gems/lotusrb-0.4.1/lib\r\n                                                        /lotus/generators/application/container.rb:94\r\n                          Lotus::Commands::New#start at /Users/ashmoran/.gem/rbx/2.1.0/gems/lotusrb-0.4.1/lib\r\n                                                        /lotus/commands/new.rb:30\r\n                                      Lotus::Cli#new at /Users/ashmoran/.gem/rbx/2.1.0/gems/lotusrb-0.4.1/lib\r\n                                                        /lotus/cli.rb:78\r\n                                   Thor::Command#run at /Users/ashmoran/.gem/rbx/2.1.0/gems/thor-0.19.1/lib/thor\r\n                                                        /command.rb:27\r\n         Thor::Invocation(Lotus::Cli)#invoke_command at /Users/ashmoran/.gem/rbx/2.1.0/gems/thor-0.19.1/lib/thor\r\n                                                        /invocation.rb:126\r\n                                       Thor.dispatch at /Users/ashmoran/.gem/rbx/2.1.0/gems/thor-0.19.1/lib\r\n                                                        /thor.rb:359\r\n               Thor::Base::ClassMethods(Class)#start at /Users/ashmoran/.gem/rbx/2.1.0/gems/thor-0.19.1/lib/thor\r\n                                                        /base.rb:440\r\n                                   Object#__script__ at /Users/ashmoran/.gem/rbx/2.1.0/gems/lotusrb-0.4.1/bin\r\n                                                        /lotus:4\r\n                                  Kernel(Object)#load at kernel/common/kernel.rb:498\r\n                                    Object#__script__ at /Users/ashmoran/.gem/rbx/2.1.0/bin/lotus:23\r\n                     Rubinius::CodeLoader#load_script at kernel/delta/code_loader.rb:66\r\n                     Rubinius::CodeLoader.load_script at kernel/delta/code_loader.rb:152\r\n                              Rubinius::Loader#script at kernel/loader.rb:656\r\n                                Rubinius::Loader#main at kernel/loader.rb:842\r\n\r\n\r\nMaybe it's a Rubinius issue but I thought I'd report it here, as more likely someone would know what is causing it. AFAIK `Pathname` doesn't implement `#empty?` so I don't know where it's supposed to come from. Is it anything I can fix easily?\r\n\r\nI don't have any trouble with MRI 2.2.3 so I'll use that instead."},"comment":{"url":"https://api.github.com/repos/lotus/lotus/issues/comments/139407131","html_url":"https://github.com/lotus/lotus/issues/332#issuecomment-139407131","issue_url":"https://api.github.com/repos/lotus/lotus/issues/332","id":139407131,"user":{"login":"joneslee85","id":135605,"avatar_url":"https://avatars.githubusercontent.com/u/135605?v=3","gravatar_id":"","url":"https://api.github.com/users/joneslee85","html_url":"https://github.com/joneslee85","followers_url":"https://api.github.com/users/joneslee85/followers","following_url":"https://api.github.com/users/joneslee85/following{/other_user}","gists_url":"https://api.github.com/users/joneslee85/gists{/gist_id}","starred_url":"https://api.github.com/users/joneslee85/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/joneslee85/subscriptions","organizations_url":"https://api.github.com/users/joneslee85/orgs","repos_url":"https://api.github.com/users/joneslee85/repos","events_url":"https://api.github.com/users/joneslee85/events{/privacy}","received_events_url":"https://api.github.com/users/joneslee85/received_events","type":"User","site_admin":false},"created_at":"2015-09-10T23:06:32Z","updated_at":"2015-09-10T23:06:32Z","body":"@ashmoran we welcome contribution to better support rbx. Are you up for a PR? ;)"}}