You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
jruby -J-cp "target/dependency/*" -S rspec ./spec/ also not works. the same error. Maybe it's time to create a redstorm-starter project to demonstrate the usage of redstorm with specs.
redstorm-starter is a good idea.
For the specs, I believe this is because the Backtype (Java) classes are not defined when running the specs. You can probably mock theses classes in your test for now. I am not sure what is the best approach for this globally at this point. Maybe provide a set of mocks for specs? I am not sure, I will have to research a bit more about this to see if there are some "best practices" in JRuby in regards to specs with references to Java classes etc.
This may related to the classpath issue. I have tried run
CLASSPATH="./target/dependency/*"
but still got the following error:The text was updated successfully, but these errors were encountered: