rails g install doesnt work, just returns usage - ruby-on-rails-5.1

I'm trying to install blazer and using rails, it seems that my generate command is missing... I'm a bit of a noob when it comes to RoR and Ruby in general. This is my output.
root#456a4f4bd0b1:/blazer-app# bundle exec rails g blazer:install
Usage:
rails new APP_PATH [options]
Options:
-r, [--ruby=PATH] # Path to the Ruby binary of your choice
I'm running the following:
root#456a4f4bd0b1:/blazer-app# gem list
*** LOCAL GEMS ***
actioncable (5.1.2, 5.0.2)
actionmailer (5.1.2, 5.0.2)
actionpack (5.1.2, 5.0.2)
actionview (5.1.2, 5.0.2)
activejob (5.1.2, 5.0.2)
activemodel (5.1.2, 5.0.2)
activerecord (5.1.2, 5.0.2)
activesupport (5.1.2, 5.0.2)
arel (8.0.0, 7.1.4)
bigdecimal (default: 1.2.8)
blazer (1.8.0)
builder (3.2.3)
bundler (1.13.6)
chartkick (2.2.4)
concurrent-ruby (1.0.5)
did_you_mean (1.0.0)
errbase (0.0.3)
erubi (1.6.1)
erubis (2.7.0)
factory_girl (4.8.0)
factory_girl_rails (4.8.0)
globalid (0.4.0)
i18n (0.8.6)
io-console (default: 0.4.5)
json (default: 1.8.3)
loofah (2.0.3)
mail (2.6.6)
method_source (0.8.2)
mime-types (3.1)
mime-types-data (3.2016.0521)
mini_portile2 (2.2.0)
minitest (5.10.2, 5.8.3)
net-telnet (0.1.1)
nio4r (2.1.0)
nokogiri (1.8.0)
power_assert (0.2.6)
psych (default: 2.0.17)
rack (2.0.3)
rack-test (0.6.3)
rails (5.1.2, 5.0.2)
rails-dom-testing (2.0.3)
rails-html-sanitizer (1.0.3)
railties (5.1.2, 5.0.2)
rake (10.5.0, 10.4.2)
rdoc (default: 4.2.1)
rubygems-update (2.6.8)
safely_block (0.2.0)
sprockets (3.7.1)
sprockets-rails (3.2.0)
test-unit (3.1.5)
thor (0.19.4)
thread_safe (0.3.6)
tzinfo (1.2.3)
websocket-driver (0.6.5)
websocket-extensions (0.1.2)
root#456a4f4bd0b1:/blazer-app# rails -v
Rails 5.1.2
root#456a4f4bd0b1:/blazer-app# ruby -v
ruby 2.3.1p112 (2016-04-26 revision 54768) [x86_64-linux]
Current tree structure and present working directory
root#456a4f4bd0b1:# tree -L 2
.
|-- CHANGELOG.md
|-- Gemfile
|-- Gemfile.lock
|-- LICENSE.txt
|-- README.md
|-- Rakefile
|-- app
| |-- assets
| |-- controllers
| |-- helpers
| |-- mailers
| |-- models
| `-- views
|-- blazer.gemspec
|-- config
| `-- routes.rb
|-- false
|-- lib
| |-- blazer
| |-- blazer.rb
| |-- generators
| `-- tasks
`-- pkg
`-- blazer-1.8.0.gem
I've tried removing my Gemfile.lock running bundle install and bundle update with the same output for rails.
What's weird is that I also tried running the rails db:migrate command, and rails isn't aware of the task!

are you in the rails app?
aka not the directory you made it, but you cd into the file after
rails new Appname
i think your in the directory and not the actual rails file

Related

Waiting for namespace handlers

I'm upgrading to Fuse 7.3 and getting new errors in any routes that use CXF.
Blueprint bundle ruleEngineService/5.0.2 is waiting for namespace
handlers [http://camel.apache.org/schema/blueprint]
My blueprint.xml contains the correct schema locations, according to all the documentation. eg. link
<?xml version="1.0" encoding="UTF-8"?>
<blueprint xmlns="http://www.osgi.org/xmlns/blueprint/v1.0.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:cm="http://aries.apache.org/blueprint/xmlns/blueprint-cm/v1.0.0"
xmlns:tx="http://aries.apache.org/xmlns/transactions/v1.2.0"
xmlns:camel="http://camel.apache.org/schema/blueprint"
xmlns:cxf="http://camel.apache.org/schema/blueprint/cxf"
xsi:schemaLocation="
http://www.osgi.org/xmlns/blueprint/v1.0.0 http://www.osgi.org/xmlns/blueprint/v1.0.0/blueprint.xsd">
I haven't changed much since it was working in Fuse 7.0.0.
Features are installed:
cxf | 3.2.7.fuse-731004-redhat-00003 | x | Started | cxf-3.2.7.fuse-731004-redhat-00003 |
camel-cxf | 2.21.0.fuse-731003-redhat-00003 | x | Started | camel-2.21.0.fuse-731003-redhat-00003 |
The things that set this blueprint apart from ones that are resolving are:
<cxf:cxfEndpoint id="myEndpoint" ...>
and
<bean id="myRoute" class="com.application.CxfCamelRoute" />
<camelContext xmlns="http://camel.apache.org/schema/blueprint" id="serviceRoutes">
<routeBuilder ref="myRoute" />
</camelContext>
where CxfCamelRoute contains a reference to cxf://bean:myEndpoint?serviceClass="..."
Regarding blueprint features:
admin#root()> features:list | grep blueprint
kie-aries-blueprint | 7.11.0.Final | | Uninstalled | karaf-features-core-droolsjbpm-7.11.0.Final | KIE Aries Blueprint
camel-blueprint | 2.23.2.fuse-740006 | | Uninstalled | camel-2.23.2.fuse-740006 |
camel-blueprint | 2.21.0.fuse-731003-redhat-00003 | x | Started | camel-2.21.0.fuse-731003-redhat-00003 |
aries-blueprint-spring | 4.3.20.RELEASE_1 | | Uninstalled | spring-legacy-4.2.0.fuse-731003-redhat-00003 |
aries-blueprint | 4.2.0.fuse-731003-redhat-00003 | x | Started | standard-4.2.0.fuse-731003-redhat-00003 | Aries Blueprint
Could it be a conflict between aries-blueprint and camel-blueprint?
I am running out of ideas.
Ok, I seem to have solved it.
I added the repo for KIE (features:addurl mvn:org.kie/kie-karaf-features/7.11.0.Final/xml/features) before doing anything else. The order change fixed my issue. It seems as though KIE 7.11.0.Final adds the following repos:
mvn:org.apache.camel.karaf/apache-camel/RELEASE/xml/features
mvn:org.apache.cxf.karaf/apache-cxf/3.2.7.fuse-sb2-740011/xml/features
The namehandler issue was presumably from some conflict between the Fuse 7.3 libraries, and the latest camel/cxf RELEASE versions.
To me, this feels like a bug, to have KIE 7.11.0.Final use RELEASE features. It clearly has bad consequences. But I don't know another way to make feature:install kie accessible to my Karaf.
Never use RELEASE in maven coordinates. You can end up even with Camel 3, when expecting Camel 2. (Never use LATEST either).
If you use Fuse to install KIE features, you should not install mvn:org.kie/kie-karaf-features/7.11.0.Final/xml/features
First you have to install bridge features that provide feature dependencies for KIE from Fuse:
karaf#root()> feature:repo-add mvn:org.jboss.fuse.features/rhba-features/7.6.0.fuse-760014/xml/features
Adding feature url mvn:org.jboss.fuse.features/rhba-features/7.6.0.fuse-760014/xml/features
Then you have ton install Fuse variant of Kie features. Not this one, but this one
The description in kie-karaf-features-7.11.0.Final-features-fuse.xml is a bit older than current Fuse, because the feature artifactId has changed:
In order to install the below features into Fuse 7, target runtime needs to provide these features:
- drools7-dependencies
- jbpm7-dependencies
- optaplanner-dependencies
- kie7-remote-dependencies
- db-dependencies
- hibernate-dependencies
- hibernate-validator-dependencies
These features are contained in some repository not referenced explicitly with <repository> (loose coupling).
Fuse 7 specific repository is 'mvn:org.jboss.fuse.features/brms-features/VERSION/xml/features'
So here's the command:
karaf#root()> feature:repo-add mvn:org.kie/kie-karaf-features/7.11.0.Final/xml/features-fuse
Adding feature url mvn:org.kie/kie-karaf-features/7.11.0.Final/xml/features-fuse
karaf#root()> feature:list|grep kie
kie │ 7.11.0.Final │ │ Uninstalled │ karaf-features-core-droolsjbpm-7.11.0.Final │ KIE API
kie-ci │ 7.11.0.Final │ │ Uninstalled │ karaf-features-core-droolsjbpm-7.11.0.Final │ KIE CI
kie-spring │ 7.11.0.Final │ │ Uninstalled │ karaf-features-core-droolsjbpm-7.11.0.Final │ KIE Spring
kie-aries-blueprint │ 7.11.0.Final │ │ Uninstalled │ karaf-features-core-droolsjbpm-7.11.0.Final │ KIE Aries Blueprint
kie-camel │ 7.11.0.Final │ │ Uninstalled │ karaf-features-core-droolsjbpm-7.11.0.Final │
kie-dmn │ 7.11.0.Final │ │ Uninstalled │ karaf-features-fuse-droolsjbpm-7.11.0.Final │ Kie DMN
kie-server-client │ 7.11.0.Final │ │ Uninstalled │ karaf-features-fuse-droolsjbpm-7.11.0.Final │ KIE Server Client
servlet-api-kie │ 7.11.0.Final │ │ Uninstalled │ karaf-features-fuse-droolsjbpm-7.11.0.Final │
kie-pmml │ 7.11.0.Final │ │ Uninstalled │ karaf-features-fuse-droolsjbpm-7.11.0.Final │
kie7-remote-dependencies │ 0.0.0 │ │ Uninstalled │ fuse-features-dependencies-droolsjbpm-7.6.0.fuse-760014 │

gulp-angular-protractor crashes with error code 135

I'm trying to run some e2e tests on an Angular 1.x system, but whenever I try to run gulp-angular-protractor tests I get this error:
[TIME] E/launcher - Process exited with error code 135
[TIME] gulp-angular-protractor - An error occured to stop the Webdriver standalone server
Here are the packages I have installed:
Local
├── angular#1.6.4
├── angular-animate#1.6.4
├── angular-aria#1.6.4
├── angular-cookies#1.6.4
├── angular-local-storage#0.5.2
├── angular-material#1.1.4
├── angular-messages#1.6.4
├── angular-mocks#1.6.4
├── angular-paging#2.2.2
├── angular-poller#0.4.5
├── angular-sanitize#1.6.4
├── angular-svg-round-progressbar#0.4.8
├── angular-translate#2.15.1
├── angular-translate-loader-partial#2.15.1
├── angular-ui-router#1.0.3
├── angular-wizard#0.10.0
├── angulartics#1.4.0
├── angulartics-google-analytics#0.4.0
├── babel-core#6.24.1
├── babel-eslint#7.2.3
├── babel-loader#6.4.1
├── babel-plugin-transform-runtime#6.23.0
├── babel-polyfill#6.23.0
├── babel-preset-es2015#6.24.1
├── babel-preset-stage-0#6.24.1
├── babel-register#6.24.1
├── babel-runtime#6.23.0
├── browser-sync#2.18.8
├── browserify-sign#4.0.0
├── buffer-loader#0.0.1
├── chai#3.5.0
├── checklist-model#0.10.0
├── connect-history-api-fallback#1.3.0
├── constants#0.0.2
├── copy-webpack-plugin#4.0.1
├── crypto-browserify#3.11.0
├── crypto-js#3.1.9-1
├── css-loader#0.26.4
├── del#2.2.2
├── eslint#3.19.0
├── eslint-plugin-angular#1.6.4
├── file-loader#0.10.1
├── fingerprintjs2#1.5.1
├── fs-walk#0.0.1
├── git-rev-sync#1.9.1
├── gulp#3.9.1
├── gulp-angular-protractor#1.0.0
├── gulp-ng-constant#2.0.0-2
├── gulp-rename#1.2.2
├── gulp-replace#0.5.4
├── gulp-template#4.0.0
├── gulp-util#3.0.8
├── html-webpack-plugin#2.28.0
├── image-webpack-loader#3.3.1
├── json-override#0.2.0
├── karma#1.7.0
├── karma-chai#0.1.0
├── karma-chrome-launcher#2.1.1
├── karma-mocha#1.3.0
├── karma-mocha-reporter#2.2.3
├── karma-sourcemap-loader#0.3.7
├── karma-webpack#1.8.1
├── lodash#4.17.4
├── mocha#3.3.0
├── ng-annotate-loader#0.2.0
├── ngmap#1.17.8
├── node-libs-browser#2.0.0
├── node-rsa#0.4.2
├── protractor#5.1.1
├── raw-loader#0.5.1
├── style-loader#0.13.2
├── stylus#0.54.5
├── stylus-loader#2.5.1
├── supports-color#3.2.3
├── ua-parser-js#0.7.12
├── v-accordion#1.6.0
├── webdriver-manager#12.0.6
├── webpack#1.15.0
├── webpack-dev-middleware#1.10.2
├── webpack-hot-middleware#2.18.0
└── yargs#6.6.0
Global
├── gulp#3.9.1
├── karma#1.7.0
├── karma-cli#1.0.1
├── n#2.1.7
├── npm#3.10.10
└── webpack#2.5.1
And here is the full error log I got when I ran the protractor gulp task:
NickF$ gulp protractor
[14:04:26] Requiring external module babel-register
[14:04:27] Using gulpfile ~/WebstormProjects/phoenix-web/gulpfile.babel.js
[14:04:27] Starting 'protractor'...
[14:04:27] gulp-angular-protractor - The plugin is retrieved and will start soon
[14:04:27] gulp-angular-protractor - We will try to start and stop automatically the WebDriver server
[14:04:28] gulp-angular-protractor - The selenium address is: http://localhost:4444/wd/hub
[14:04:28] gulp-angular-protractor - The selenium address used is: http://localhost:4444/wd/hub
[14:04:28] gulp-angular-protractor - The selenium shutdown address used is: http://localhost:4444/selenium-server/driver/?cmd=shutDownSeleniumServer
[14:04:28] gulp-angular-protractor - We have the config file to the following path: /Users/NickF/WebstormProjects/phoenix-web/protractor.config.js
[14:04:28] gulp-angular-protractor - Webdriver standalone will be updated
[14:04:28] I/file_manager - creating folder /Users/NickF/WebstormProjects/phoenix-web/node_modules/webdriver-manager/selenium
[14:04:45] I/update - chromedriver: unzipping chromedriver_2.29.zip
[14:04:45] I/update - chromedriver: setting permissions to 0755 for /Users/NickF/WebstormProjects/phoenix-web/node_modules/webdriver-manager/selenium/chromedriver_2.29
[14:04:53] I/update - geckodriver: unzipping geckodriver-v0.16.1.tar.gz
[14:04:53] I/update - geckodriver: setting permissions to 0755 for /Users/NickF/WebstormProjects/phoenix-web/node_modules/webdriver-manager/selenium/geckodriver-v0.16.1
[14:04:55] gulp-angular-protractor - Webdriver standalone is updated
[14:04:55] gulp-angular-protractor - Webdriver standalone server will be started
[14:04:56] [14:04:56] I/start - java -Dwebdriver.chrome.driver=/Users/NickF/WebstormProjects/phoenix-web/node_modules/webdriver-manager/selenium/chromedriver_2.29 -Dwebdriver.gecko.driver=/Users/NickF/WebstormProjects/phoenix-web/node_modules/webdriver-manager/selenium/geckodriver-v0.16.1 -jar /Users/NickF/WebstormProjects/phoenix-web/node_modules/webdriver-manager/selenium/selenium-server-standalone-3.4.0.jar -port 4444
[14:04:56] [14:04:56] I/start - seleniumProcess.pid: 6487
[14:04:56] 14:04:56.915 INFO - Selenium build info: version: '3.4.0', revision: 'unknown'
[14:04:56] 14:04:56.916 INFO - Launching a standalone Selenium Server
[14:04:56] 2017-05-10 14:04:56.955:INFO::main: Logging initialized #362ms to org.seleniumhq.jetty9.util.log.StdErrLog
[14:04:56]
[14:04:57] 14:04:57.054 INFO - Driver provider org.openqa.selenium.ie.InternetExplorerDriver registration is skipped:
registration capabilities Capabilities [{ensureCleanSession=true, browserName=internet explorer, version=, platform=WINDOWS}] does not match the current platform MAC
[14:04:57] 14:04:57.055 INFO - Driver provider org.openqa.selenium.edge.EdgeDriver registration is skipped:
registration capabilities Capabilities [{browserName=MicrosoftEdge, version=, platform=WINDOWS}] does not match the current platform MAC
[14:04:57] 14:04:57.056 INFO - Driver class not found: com.opera.core.systems.OperaDriver
[14:04:57] 14:04:57.056 INFO - Driver provider com.opera.core.systems.OperaDriver registration is skipped:
Unable to create new instances on this machine.
[14:04:57] 14:04:57.057 INFO - Driver class not found: com.opera.core.systems.OperaDriver
[14:04:57] 14:04:57.057 INFO - Driver provider com.opera.core.systems.OperaDriver is not registered
[14:04:57] 2017-05-10 14:04:57.144:INFO:osjs.Server:main: jetty-9.4.3.v20170317
[14:04:57]
[14:04:57] 2017-05-10 14:04:57.214:INFO:osjsh.ContextHandler:main: Started o.s.j.s.ServletContextHandler#d8355a8{/,null,AVAILABLE}
[14:04:57]
[14:04:57] 2017-05-10 14:04:57.285:INFO:osjs.AbstractConnector:main: Started ServerConnector#146ba0ac{HTTP/1.1,[http/1.1]}{0.0.0.0:4444}
[14:04:57]
[14:04:57] 2017-05-10 14:04:57.289:INFO:osjs.Server:main: Started #696ms
[14:04:57] 14:04:57.289 INFO - Selenium Server is up and running
[14:04:57] gulp-angular-protractor - Webdriver standalone server is started
[14:04:57] gulp-angular-protractor - We will run the Protractor engine
[14:04:58] D/launcher - Running with --troubleshoot
[14:04:58] D/launcher - Protractor version: 5.1.1
[14:04:58] D/launcher - Your base url for tests is http://localhost:80
[14:04:58] I/launcher - Running 1 instances of WebDriver
[14:04:58] I/hosted - Using the selenium server at http://localhost:4444/wd/hub
[14:04:58] E/launcher - Error code: 135
[14:04:58] E/launcher - Error message: ECONNREFUSED connect ECONNREFUSED ::1:4444
[14:04:58] E/launcher - Error: ECONNREFUSED connect ECONNREFUSED ::1:4444
at ClientRequest.<anonymous> (/Users/NickF/WebstormProjects/phoenix-web/node_modules/selenium-webdriver/http/index.js:238:15)
at emitOne (events.js:96:13)
at ClientRequest.emit (events.js:188:7)
at Socket.socketErrorListener (_http_client.js:309:9)
at emitOne (events.js:96:13)
at Socket.emit (events.js:188:7)
at emitErrorNT (net.js:1277:8)
at _combinedTickCallback (internal/process/next_tick.js:80:11)
at process._tickCallback (internal/process/next_tick.js:104:9)
From: Task: WebDriver.createSession()
at Function.createSession (/Users/NickF/WebstormProjects/phoenix-web/node_modules/selenium-webdriver/lib/webdriver.js:777:24)
at Function.createSession (/Users/NickF/WebstormProjects/phoenix-web/node_modules/selenium-webdriver/chrome.js:709:29)
at createDriver (/Users/NickF/WebstormProjects/phoenix-web/node_modules/selenium-webdriver/index.js:167:33)
at Builder.build (/Users/NickF/WebstormProjects/phoenix-web/node_modules/selenium-webdriver/index.js:623:16)
at Hosted.getNewDriver (/Users/NickF/WebstormProjects/phoenix-web/node_modules/protractor/lib/driverProviders/driverProvider.ts:60:29)
at Runner.createBrowser (/Users/NickF/WebstormProjects/phoenix-web/node_modules/protractor/lib/runner.ts:225:39)
at q.then.then (/Users/NickF/WebstormProjects/phoenix-web/node_modules/protractor/lib/runner.ts:391:27)
at _fulfilled (/Users/NickF/WebstormProjects/phoenix-web/node_modules/protractor/node_modules/q/q.js:834:54)
at self.promiseDispatch.done (/Users/NickF/WebstormProjects/phoenix-web/node_modules/protractor/node_modules/q/q.js:863:30)
at Promise.promise.promiseDispatch (/Users/NickF/WebstormProjects/phoenix-web/node_modules/protractor/node_modules/q/q.js:796:13)
[14:04:58] E/launcher - Process exited with error code 135
[14:04:58] gulp-angular-protractor - An error occured to stop the Webdriver standalone server
{ [Error: protractor exited with code 135]
message: 'protractor exited with code 135',
showStack: false,
showProperties: true,
plugin: 'gulp-angular-protractor',
__safety: { toString: [Function: bound ] } }
Lastly, my versions:
Node: 6.10.3
NPM: 4.5.0
OS: Mac OS 10.12.4
Tried to resolve by running the webdriver-manager and then opening a session from the selenium localhost page, webdriver regurgitated this error:
15:16:41.900 WARN - Exception thrown
java.util.concurrent.ExecutionException: org.openqa.selenium.WebDriverException: java.lang.reflect.InvocationTargetException
Build info: version: '3.4.0', revision: 'unknown', time: 'unknown'
System info: host: 'Nick-Fittons-MacBook-Pro.local', ip: 'fe80:0:0:0:ceb:b88:ae4e:7257%en0', os.name: 'Mac OS X', os.arch: 'x86_64', os.version: '10.12.4', java.version: '1.8.0_131'
Driver info: driver.version: unknown
at java.util.concurrent.FutureTask.report(FutureTask.java:122)
at java.util.concurrent.FutureTask.get(FutureTask.java:192)
at org.openqa.selenium.remote.server.DefaultSession.execute(DefaultSession.java:183)
at org.openqa.selenium.remote.server.DefaultSession.<init>(DefaultSession.java:119)
at org.openqa.selenium.remote.server.DefaultSession.createSession(DefaultSession.java:95)
at org.openqa.selenium.remote.server.DefaultDriverSessions.newSession(DefaultDriverSessions.java:131)
at org.openqa.selenium.remote.server.handler.NewSession.handle(NewSession.java:59)
at org.openqa.selenium.remote.server.handler.NewSession.handle(NewSession.java:36)
at org.openqa.selenium.remote.server.rest.ResultConfig.handle(ResultConfig.java:111)
at org.openqa.selenium.remote.server.JsonHttpCommandHandler.handleRequest(JsonHttpCommandHandler.java:190)
at org.openqa.selenium.remote.server.DriverServlet.handleRequest(DriverServlet.java:222)
at org.openqa.selenium.remote.server.DriverServlet.doPost(DriverServlet.java:184)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:707)
at org.openqa.selenium.remote.server.DriverServlet.service(DriverServlet.java:150)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:790)
at org.seleniumhq.jetty9.servlet.ServletHolder.handle(ServletHolder.java:841)
at org.seleniumhq.jetty9.servlet.ServletHandler.doHandle(ServletHandler.java:543)
at org.seleniumhq.jetty9.server.handler.ScopedHandler.nextHandle(ScopedHandler.java:188)
at org.seleniumhq.jetty9.server.handler.ContextHandler.doHandle(ContextHandler.java:1228)
at org.seleniumhq.jetty9.server.handler.ScopedHandler.nextScope(ScopedHandler.java:168)
at org.seleniumhq.jetty9.servlet.ServletHandler.doScope(ServletHandler.java:481)
at org.seleniumhq.jetty9.server.handler.ScopedHandler.nextScope(ScopedHandler.java:166)
at org.seleniumhq.jetty9.server.handler.ContextHandler.doScope(ContextHandler.java:1130)
at org.seleniumhq.jetty9.server.handler.ScopedHandler.handle(ScopedHandler.java:141)
at org.seleniumhq.jetty9.server.handler.HandlerWrapper.handle(HandlerWrapper.java:132)
at org.seleniumhq.jetty9.server.Server.handle(Server.java:564)
at org.seleniumhq.jetty9.server.HttpChannel.handle(HttpChannel.java:320)
at org.seleniumhq.jetty9.server.HttpConnection.onFillable(HttpConnection.java:251)
at org.seleniumhq.jetty9.io.AbstractConnection$ReadCallback.succeeded(AbstractConnection.java:279)
at org.seleniumhq.jetty9.io.FillInterest.fillable(FillInterest.java:112)
at org.seleniumhq.jetty9.io.ChannelEndPoint$2.run(ChannelEndPoint.java:124)
at org.seleniumhq.jetty9.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:672)
at org.seleniumhq.jetty9.util.thread.QueuedThreadPool$2.run(QueuedThreadPool.java:590)
at java.lang.Thread.run(Thread.java:748)
Caused by: org.openqa.selenium.WebDriverException: java.lang.reflect.InvocationTargetException
Build info: version: '3.4.0', revision: 'unknown', time: 'unknown'
System info: host: 'Nick-Fittons-MacBook-Pro.local', ip: 'fe80:0:0:0:ceb:b88:ae4e:7257%en0', os.name: 'Mac OS X', os.arch: 'x86_64', os.version: '10.12.4', java.version: '1.8.0_131'
Driver info: driver.version: unknown
at org.openqa.selenium.remote.server.DefaultDriverProvider.callConstructor(DefaultDriverProvider.java:110)
at org.openqa.selenium.remote.server.DefaultDriverProvider.newInstance(DefaultDriverProvider.java:96)
at org.openqa.selenium.remote.server.DefaultDriverFactory.newInstance(DefaultDriverFactory.java:60)
at org.openqa.selenium.remote.server.DefaultSession$BrowserCreator.call(DefaultSession.java:222)
at org.openqa.selenium.remote.server.DefaultSession$BrowserCreator.call(DefaultSession.java:209)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at org.openqa.selenium.remote.server.DefaultSession$1.run(DefaultSession.java:176)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
... 1 more
Caused by: java.lang.reflect.InvocationTargetException
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
at java.lang.reflect.Constructor.newInstance(Constructor.java:423)
at org.openqa.selenium.remote.server.DefaultDriverProvider.callConstructor(DefaultDriverProvider.java:102)
... 9 more
Caused by: org.openqa.selenium.remote.UnreachableBrowserException: Could not start a new session. Possible causes are invalid address of the remote server or browser start-up failure.
Build info: version: '3.4.0', revision: 'unknown', time: 'unknown'
System info: host: 'Nick-Fittons-MacBook-Pro.local', ip: 'fe80:0:0:0:ceb:b88:ae4e:7257%en0', os.name: 'Mac OS X', os.arch: 'x86_64', os.version: '10.12.4', java.version: '1.8.0_131'
Driver info: driver.version: ChromeDriver
at org.openqa.selenium.remote.RemoteWebDriver.execute(RemoteWebDriver.java:658)
at org.openqa.selenium.remote.RemoteWebDriver.startSession(RemoteWebDriver.java:250)
at org.openqa.selenium.remote.RemoteWebDriver.startSession(RemoteWebDriver.java:236)
at org.openqa.selenium.remote.RemoteWebDriver.<init>(RemoteWebDriver.java:137)
at org.openqa.selenium.chrome.ChromeDriver.<init>(ChromeDriver.java:184)
at org.openqa.selenium.chrome.ChromeDriver.<init>(ChromeDriver.java:148)
... 14 more
Caused by: java.lang.IllegalStateException: The process has not exited yet therefore no result is available ...
at org.apache.commons.exec.DefaultExecuteResultHandler.getException(DefaultExecuteResultHandler.java:76)
at org.openqa.selenium.os.UnixProcess.checkForError(UnixProcess.java:174)
at org.openqa.selenium.os.CommandLine.checkForError(CommandLine.java:183)
at org.openqa.selenium.remote.service.DriverService.waitUntilAvailable(DriverService.java:192)
at org.openqa.selenium.remote.service.DriverService.start(DriverService.java:181)
at org.openqa.selenium.remote.service.DriverCommandExecutor.execute(DriverCommandExecutor.java:78)
at org.openqa.selenium.remote.RemoteWebDriver.execute(RemoteWebDriver.java:637)
... 19 more
15:16:41.919 WARN - Exception: The process has not exited yet therefore no result is available ...
If anyone could shine a light on what I'm doing wrong it would be much appreciated!
The problem I had was that localhost was not directed properly.
Make sure you have a link to localhost in /private/etc/hosts
Because I didn't...

Liquibase : Cannot find base path 'src/main/resources/com/example/database/changelog/v000/master.xml'

I am trying to build a liquibase project using maven pluging, but facing some problem using the relativeFile paths, I tried to be near to the best practices defined for liquibase maven project. when I run the mvn liquibase:update, I am getting "Cannont find base path".
src/
`-- main
|-- java
`-- resources
|-- changelog-1.0.0.xml
|-- changelog-1.1.0.xml
|-- changelog-install.xml
|-- com
| `-- obolus
| `-- database
| `-- changelog
| |-- v000
| | |-- cst
| | | |-- entity_extra_data.xml
| | | `-- entity.xml
| | |-- master.xml
| | `-- tab
| | |-- company.xml
| | |-- entity_extra_data.xml
| | |-- entity.xml
| | `-- anothertable.xml
| `-- v001
| |-- master.xml
| `-- tab
| `-- sample.xml
|-- lib
| |-- ojdbc6-11.2.0.3.jar
`-- liquibase.properties
Content of my pom.xml
<?xml version="1.0" encoding="UTF-8"?>
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
<groupId>com.obolus</groupId>
<artifactId>database</artifactId>
<version>1.0.0-SNAPSHOT</version>
<packaging>jar</packaging>
<build>
<plugins>
<plugin>
<groupId>org.liquibase</groupId>
<artifactId>liquibase-maven-plugin</artifactId>
<version>${liquibase.maven.plugin}</version>
<configuration>
<changeLogFile>src/main/resources/changelog-install.xml</changeLogFile>
<propertyFile>src/main/resources/liquibase.properties</propertyFile>
<logging>${logLevel}</logging>
</configuration>
<executions>
<execution>
<goals>
<goal>status</goal>
</goals>
</execution>
</executions>
</plugin>
</plugins>
<!-- resource filtering -->
<resources>
<resource>
<directory>src/main/resources</directory>
<filtering>true</filtering>
</resource>
</resources>
</build>
<dependencies>
<dependency>
<groupId>com.oracle</groupId>
<artifactId>ojdbc6</artifactId>
<version>${ojdbc.driver.version}</version>
</dependency>
</dependencies>
<properties>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<maven.compiler.source>1.8</maven.compiler.source>
<maven.compiler.target>1.8</maven.compiler.target>
<ojdbc.driver.version>11.2.0.3</ojdbc.driver.version>
<liquibase.maven.plugin>3.3.2</liquibase.maven.plugin>
<logLevel>severe</logLevel>
</properties>
</project>
When i run liquibase:update, i get the following error
DEBUG 4/29/15 4:02 PM: liquibase: Using file opener for includeAll: liquibase.resource.CompositeResourceAccessor(org.liquibase.maven.plugins.MavenResourceAccessor(file:/home/www-data/workspace/database/target/classes/,file:/home/www-data/workspace/database/target/test-classes/,file:/home/www-data/.m2/repository/com/oracle/ojdbc6/11.2.0.3/ojdbc6-11.2.0.3.jar),liquibase.resource.FileSystemResourceAccessor(/home/www-data/workspace/database))
DEBUG 4/29/15 4:02 PM: liquibase: Release Database Lock
DEBUG 4/29/15 4:02 PM: liquibase: Executing UPDATE database command: UPDATE DATABASECHANGELOGLOCK SET LOCKED = 0, LOCKEDBY = NULL, LOCKGRANTED = NULL WHERE ID = 1
INFO 4/29/15 4:02 PM: liquibase: Successfully released change log lock
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 6.111 s
[INFO] Finished at: 2015-04-29T16:02:15+10:00
[INFO] Final Memory: 10M/164M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.liquibase:liquibase-maven-plugin:3.3.2:update (default-cli) on project database: Error setting up or running Liquibase: liquibase.exception.SetupException: liquibase.exception.SetupException: liquibase.exception.SetupException: Cannot find base path 'src/main/resources/com/example/database/changelog/v000/master.xml' -> [Help 1]
Any idea where I am wrong.
It seems to be working after following changes.
Change in pom.xml
<changeLogFile>target/classes/changelog-install.xml</changeLogFile
<propertyFile>target/classes/liquibase.properties</propertyFile>
Change in com.obolus.database.changelog.v000/master.xml
<includeAll path="com/obolus/database/changelog/v000/tab"/>
<includeAll path="com/obolus/database/changelog/v000/cst"/>

Problems with Redmine 2.2.1 on Ubuntu 10.04 ruby(1.8.24) on rails(3.2.11) couldn't be started

Hi I face the following problem upgrading to Redmine 2.2.1 from 1.2.2 on Ubuntu 10.04LTS:
Initial hiccups i could resolve but now opening the redmine webpage i get an error.
I followed the step in http://www.redmine.org/projects/redmine/wiki/RedmineUpgrade
and upgraded the required stuffs.
Do i have some compatibility issue with rails and passenger or some configuration is apache?
I am unable to figure. Kindly help me in figuring out the issue.
Thanks in advance,
Ghosh.
Webpage error:
A source file that the application requires, is missing.
It is possible that you didn't upload your application files correctly. Please check whether all your application files are uploaded.
A required library may not installed. Please install all libraries that this application requires.
Further information about the error may have been written to the application's log file. Please check it in order to analyse the problem.
Error message:
no such file to load -- dispatcher
Exception class:
LoadError
Application root:
/usr/share/redmine
Backtrace:
# File Line Location
0 /usr/lib/ruby/gems/1.8/gems/activesupport-3.2.11/lib/active_support/dependencies.rb 251 in `require'
1 /usr/lib/ruby/gems/1.8/gems/activesupport-3.2.11/lib/active_support/dependencies.rb 251 in `require'
2 /usr/lib/ruby/gems/1.8/gems/activesupport-3.2.11/lib/active_support/dependencies.rb 236 in `load_dependency'
3 /usr/lib/ruby/gems/1.8/gems/activesupport-3.2.11/lib/active_support/dependencies.rb 251 in `require'
4 /usr/lib/ruby/1.8/phusion_passenger/railz/application_spawner.rb 308 in `preload_application'
5 /usr/lib/ruby/1.8/phusion_passenger/railz/application_spawner.rb 248 in `initialize_server'
6 /usr/lib/ruby/1.8/phusion_passenger/utils.rb 255 in `report_app_init_status'
7 /usr/lib/ruby/1.8/phusion_passenger/railz/application_spawner.rb 233 in `initialize_server'
8 /usr/lib/ruby/1.8/phusion_passenger/abstract_server.rb 194 in `start_synchronously'
9 /usr/lib/ruby/1.8/phusion_passenger/abstract_server.rb 163 in `start'
10 /usr/lib/ruby/1.8/phusion_passenger/railz/application_spawner.rb 209 in `start'
11 /usr/lib/ruby/1.8/phusion_passenger/spawn_manager.rb 262 in `spawn_rails_application'
12 /usr/lib/ruby/1.8/phusion_passenger/abstract_server_collection.rb 126 in `lookup_or_add'
13 /usr/lib/ruby/1.8/phusion_passenger/spawn_manager.rb 256 in `spawn_rails_application'
14 /usr/lib/ruby/1.8/phusion_passenger/abstract_server_collection.rb 80 in `synchronize'
15 /usr/lib/ruby/1.8/phusion_passenger/abstract_server_collection.rb 79 in `synchronize'
16 /usr/lib/ruby/1.8/phusion_passenger/spawn_manager.rb 255 in `spawn_rails_application'
17 /usr/lib/ruby/1.8/phusion_passenger/spawn_manager.rb 154 in `spawn_application'
18 /usr/lib/ruby/1.8/phusion_passenger/spawn_manager.rb 287 in `handle_spawn_application'
19 /usr/lib/ruby/1.8/phusion_passenger/abstract_server.rb 352 in `__send__'
20 /usr/lib/ruby/1.8/phusion_passenger/abstract_server.rb 352 in `main_loop'
21 /usr/lib/ruby/1.8/phusion_passenger/abstract_server.rb 196 in `start_synchronously'
22 /usr/lib/phusion_passenger/passenger-spawn-server 61
My Redmine related stuffs are configured as below:
Environment:
Redmine version 2.2.1.stable
Ruby version 1.8.7 (x86_64-linux)
Rails version 3.2.11
Environment production
Database adapter MySQL
Redmine plugins:
no plugin installed
Gems included by the bundle:
* actionmailer (3.2.11)
* actionpack (3.2.11)
* activemodel (3.2.11)
* activerecord (3.2.11)
* activeresource (3.2.11)
* activesupport (3.2.11)
* arel (3.0.2)
* builder (3.0.0)
* bundler (1.2.3)
* coderay (1.0.8)
* erubis (2.7.0)
* fastercsv (1.5.5)
* hike (1.2.1)
* i18n (0.6.1)
* journey (1.0.4)
* jquery-rails (2.0.3)
* json (1.7.6)
* mail (2.4.4)
* mime-types (1.19)
* multi_json (1.5.0)
* mysql (2.8.1)
* net-ldap (0.3.1)
* polyglot (0.3.3)
* rack (1.4.4)
* rack-cache (1.2)
* rack-openid (1.3.1)
* rack-ssl (1.3.2)
* rack-test (0.6.2)
* rails (3.2.11)
* railties (3.2.11)
* rake (10.0.3)
* rdoc (3.12)
* ruby-openid (2.1.8)
* sprockets (2.2.2)
* thor (0.16.0)
* tilt (1.3.3)
* treetop (1.4.12)
* tzinfo (0.3.35)
root#ubuntu:/usr/share/redmine# gem list
*** LOCAL GEMS ***
actionmailer (3.2.11, 2.3.11)
actionpack (3.2.11, 2.3.11)
activemodel (3.2.11)
activerecord (3.2.11, 2.3.11)
activerecord-mysql2-adapter (0.0.3)
activeresource (3.2.11, 2.3.11)
activesupport (3.2.11, 2.3.11)
arel (3.0.2)
builder (3.0.0)
bundler (1.2.3)
coderay (1.0.8)
daemon_controller (1.1.0)
erubis (2.7.0)
fastercsv (1.5.5)
fastthread (1.0.7)
hike (1.2.1)
i18n (0.6.1, 0.4.2)
journey (1.0.4)
jquery-rails (2.0.3)
json (1.7.6)
mail (2.4.4)
metaclass (0.0.1)
mime-types (1.19)
mocha (0.12.3)
multi_json (1.5.0)
mysql (2.8.1)
mysql2 (0.3.11)
net-ldap (0.3.1)
passenger (3.0.19)
pg (0.14.1)
polyglot (0.3.3)
rack (1.4.4, 1.1.5)
rack-cache (1.2)
rack-openid (1.3.1)
rack-ssl (1.3.2)
rack-test (0.6.2)
rails (3.2.11)
railties (3.2.11)
rake (10.0.3)
rdoc (3.12)
ruby-openid (2.1.8)
rubygems-update (1.8.24)
sprockets (2.2.2)
thor (0.16.0)
tilt (1.3.3)
treetop (1.4.12)
tzinfo (0.3.35)
This was resolved in another forum, and I'd like to post the resolution here in case anyone else needs it...
I updated passenger:
gem update passenger
Then:
passenger-install-apache2-module
Then modify apache2.conf file to use the new passenger version. The above installer tells you what needs to be modified in your environment.
Then restart apache and voila!
Hope this helps.

require ibm_db specified module could not be found

I’m trying to install the “ibm_db” gem and verify the installation. I’m running on Windows 7 and I’m trying to use 32bit for everything. The database that I need to connect to is DB2 on an IBM iSeries. Below are the steps I’m using so far.
• gem install “ibm_db”
• irb
• require “ibm_db”
I get the following results:
c:\Users\Bob\RubymineProjects\beginruby>gem install ibm_db
Fetching: ibm_db-2.5.11-x86-mingw32.gem (100%)
Successfully installed ibm_db-2.5.11-x86-mingw32
1 gem installed
Installing ri documentation for ibm_db-2.5.11-x86-mingw32...
Installing RDoc documentation for ibm_db-2.5.11-x86-mingw32...
c:\Users\Bob\RubymineProjects\beginruby>gem list
*** LOCAL GEMS ***
abstract (1.0.0)
actionmailer (3.2.9, 3.2.7, 3.2.3, 3.1.8, 3.0.12, 3.0.1)
actionpack (3.2.9, 3.2.7, 3.2.3, 3.1.8, 3.0.12, 3.0.1)
activemodel (3.2.9, 3.2.7, 3.2.3, 3.1.8, 3.0.12, 3.0.1)
activerecord (3.2.9, 3.2.7, 3.2.3, 3.1.8, 3.0.12, 3.0.1)
activeresource (3.2.9, 3.2.7, 3.2.3, 3.1.8, 3.0.12, 3.0.1)
activesupport (3.2.9, 3.2.7, 3.2.3, 3.1.8, 3.0.12, 3.0.1)
addressable (2.3.2)
annotate (2.5.0, 2.4.1.beta1, 2.4.0)
archive-tar-minitar (0.5.2)
arel (3.0.2, 2.2.3, 2.0.10, 1.0.1)
autotest (4.4.6, 4.3.2)
autotest-fsevent (0.2.8)
autotest-growl (0.2.16)
autotest-rails (4.1.2)
autotest-rails-pure (4.1.2, 4.1.0)
bcrypt-ruby (3.0.1 x86-mingw32)
bigdecimal (1.1.0)
bootstrap-sass (2.2.1.1, 2.0.0)
bootstrap-will_paginate (0.0.9, 0.0.6)
builder (3.1.4, 3.0.4, 2.1.2)
bundler (1.2.3, 1.0.22)
capybara (2.0.1, 2.0.0, 1.1.3, 1.1.2)
childprocess (0.3.6)
coderay (1.0.8)
coffee-rails (3.2.2, 3.1.1)
coffee-script (2.2.0)
coffee-script-source (1.4.0)
columnize (0.3.6)
cucumber (1.2.1)
cucumber-rails (1.3.0, 1.2.1)
database_cleaner (0.9.1, 0.7.0)
debugger-ruby_core_source (1.1.5)
diff-lcs (1.1.3)
erubis (2.7.0, 2.6.6)
excon (0.16.10)
execjs (1.4.0)
factory_girl (4.1.0, 2.3.2, 1.3.3)
factory_girl_rails (4.1.0, 1.4.0, 1.0)
faker (1.1.2, 1.0.1, 0.3.1)
ffi (1.2.0 x86-mingw32, 1.1.5 x86-mingw32)
gherkin (2.11.5 x86-mingw32)
gravatar_image_tag (1.1.3, 1.0.0.pre2, 0.1.0)
guard (1.5.4)
guard-rspec (2.3.1, 2.3.0, 0.5.5)
guard-spork (1.4.0, 0.3.2)
heroku (2.33.3, 2.33.2, 2.33.1)
heroku-api (0.3.7, 0.3.6)
hike (1.2.1)
hpricot (0.8.6)
i18n (0.6.1, 0.5.0, 0.4.2)
ibm_db (2.5.11 x86-mingw32)
io-console (0.3)
journey (1.0.4)
jquery-rails (2.1.4, 2.1.3)
json (1.7.5, 1.5.4)
launchy (2.1.2)
libwebsocket (0.1.7.1, 0.1.6.1, 0.1.6)
linecache19 (0.5.13, 0.5.12)
listen (0.6.0, 0.5.3)
lumberjack (1.0.2)
mail (2.5.3, 2.5.2, 2.4.4, 2.3.3, 2.2.19)
method_source (0.8.1)
mime-types (1.19)
minitest (4.3.3, 4.3.2, 2.5.1)
multi_json (1.5.0, 1.4.0, 1.3.7, 1.2.0)
netrc (0.7.7)
nokogiri (1.5.5 x86-mingw32)
pg (0.14.1 x86-mingw32, 0.12.2 x86-mingw32)
polyglot (0.3.3)
pry (0.9.10 i386-mingw32)
rack (1.4.1, 1.3.6, 1.2.5)
rack-cache (1.2)
rack-mount (0.8.3, 0.6.14)
rack-ssl (1.3.2)
rack-test (0.6.2, 0.5.7)
rails (3.2.9, 3.0.12, 3.0.1)
railties (3.2.9, 3.2.7, 3.2.3, 3.1.8, 3.0.12, 3.0.1)
rake (10.0.3, 10.0.2, 10.0.1, 0.9.2.2)
rbx-require-relative (0.0.9)
rdiscount (1.6.8)
rdoc (3.12, 3.9.4)
RedCloth (4.2.9 x86-mingw32)
rest-client (1.6.7)
rspec (2.12.0, 2.6.0)
rspec-core (2.6.4)
rspec-expectations (2.12.0, 2.6.0)
rspec-mocks (2.12.0, 2.10.1, 2.9.0, 2.6.0)
rspec-rails (2.12.0, 2.6.1)
ruby-debug-base19x (0.11.30.pre10)
ruby-debug-ide (0.4.17.beta14)
ruby_core_source (0.1.5)
rubyzip (0.9.9)
sass (3.3.0.alpha.16, 3.2.4, 3.2.3)
sass-rails (3.2.5, 3.2.4, 3.1.6)
selenium-webdriver (2.27.1, 2.26.0)
slop (3.3.3)
spork (0.9.2, 0.9.0.rc8 x86-mingw32)
sprockets (2.8.1, 2.2.2, 2.2.1, 2.1.3, 2.0.4)
sqlite3 (1.3.6 x86-mingw32, 1.3.5 x86-mingw32, 1.3.4 x86-mingw32)
sqlite3-ruby (1.3.3)
sys-uname (0.9.0 x86-mingw32)
thor (0.16.0, 0.14.6)
tilt (1.3.3)
treetop (1.4.12)
tzinfo (0.3.35)
uglifier (1.3.0, 1.2.3)
webrat (0.7.3, 0.7.1)
websocket (1.0.4, 1.0.3, 1.0.2)
will_paginate (3.0.3, 3.0.pre2)
win32-process (0.7.0)
win32console (1.3.2 x86-mingw32)
xpath (1.0.0, 0.1.4)
ZenTest (4.8.3, 4.8.2)
c:\Users\Bob\RubymineProjects\beginruby>irb
irb(main):001:0> gem 'ibm_db'
=> true
rb(main):002:0> require 'ibm_db'
LoadError: 126: The specified module could not be found. - C:/Ruby193/lib/ruby
/gems/1.9.1/gems/ibm_db-2.5.11-x86-mingw32/lib/mswin32/rb19x/ibm_db.so
from C:/Ruby193/lib/ruby/site_ruby/1.9.1/rubygems/custom_require.rb:60:i
n `require'
from C:/Ruby193/lib/ruby/site_ruby/1.9.1/rubygems/custom_require.rb:60:i
n `rescue in require'
from C:/Ruby193/lib/ruby/site_ruby/1.9.1/rubygems/custom_require.rb:35:i
n `require'
from C:/Ruby193/lib/ruby/gems/1.9.1/gems/ibm_db-2.5.11-x86-mingw32/lib/m
swin32/ibm_db.rb:1:in `<top (required)>'
from C:/Ruby193/lib/ruby/site_ruby/1.9.1/rubygems/custom_require.rb:55:i
n `require'
from C:/Ruby193/lib/ruby/site_ruby/1.9.1/rubygems/custom_require.rb:55:i
n `require'
from C:/Ruby193/lib/ruby/gems/1.9.1/gems/ibm_db-2.5.11-x86-mingw32/lib/i
bm_db.rb:1:in `<top (required)>'
from C:/Ruby193/lib/ruby/site_ruby/1.9.1/rubygems/custom_require.rb:55:i
n `require'
from C:/Ruby193/lib/ruby/site_ruby/1.9.1/rubygems/custom_require.rb:55:i
n `require'
from (irb):2
from C:/Ruby193/bin/irb:12:in `<main>'
irb(main):003:0>
Put in your irb console (windows):
require 'mswin32/ibm_db'
conn = IBM_DB::connect("DATABASE","db2admin","password")
Of course, you can do any operation with this connection from irb for test your ibm_db gem, for example if it working correctly.

Resources