Comments (11)
Jeffrey:
It looks like there is an issue building the gem on !windows, then using it on windows. If I build the gem on windows, it works. I'm trying to figure out why now. There is a 1.0.0.beta1 of torquebox-backstage on rubygems, but it will not work on windows, so don't use it :)
I hope to have a beta2 today that does work on windows.
Toby
from backstage.
Scratch what I said about where the gem was built - that doesn't seem to matter. The difference is starting TorqueBox via rake torquebox:run
and executing standalone.bat
. If you use the rake task, backstage works. If you use the bat script, it doesn't. In the latter case, it appears that TorqueBox isn't adding the root of the app to the load path. Which is odd, considering that the rake task just calls the bat script. I'll keep digging.
from backstage.
Hello tobias,
Sorry for not including how I start torquebox in the original submission. It never occurred to me that that could be a problem.
Yes, to confirm on my Linux install I use the gems and torquebox run
and have no problems. But on windows I use the binary distribution and start the server using the bat file.
from backstage.
I'll just add that standalone.bat
and rake torquebox:run
both throw the same error described above for me on Windows 7.
from backstage.
Alrighty, I think I've got something that works. Please give it a try with gem install --pre torquebox-backstage
. This should give you 1.0.0.beta2.
from backstage.
Yep, that fixed it for me!
from backstage.
I have JRUBY_OPTS
set to 1.9 and I can build the gem as described above. When I run jruby -S backstage deploy
I get the following error:
TypeError: can't convert Symbol into Integer
I can force this to run by using jruby --1.8 -S backstage deploy
Anyway, when I get that deployed I get the same error: org.jruby.exceptions.RaiseException: (LoadError) no such file to load -- backstage
So I guess I'm wondering if everything should work under 1.9?
from backstage.
@ciaranarcher - I can't recreate your issue in --1.9 mode. You say you are building the gem yourself - have you pulled the latest source? Have you tried to use the 1.0.0.beta2 gem via gem install --pre torquebox-backstage
? If the beta2 gem does not work for you, can you give me a gist of the standalone.bat output and run jruby --debug -S backstage deploy
and gist that output as well?
from backstage.
Hi Tobias
Sorry about the delay in testing this - I am happy to say I can run the backstage app! I think I had an old version of the repo.
The only issue now is an error running backstage deploy
in --1.9
mode. Here are the details:
https://gist.github.com/1632909
Thanks!
from backstage.
Ciaran:
From your gist, it looks like it is still trying to deploy 1.0-dev, which is at this point an old version:
deploy at C:/dev/torquebox/torquebox-2.x/jruby/lib/ruby/gems/1.8/gems/torquebox-backstage-1.0.dev/bin/backstage:42
Can you uninstall that version and install 1.0.0-beta2?
jruby -S gem uninstall torquebox-backstage -v 1.0-dev
jruby -S gem install torquebox-backstage --pre
You'll probably need to run the install command outside of your local backstage git checkout, as it
may pick up the 1.0-dev.gem that is in that dir.
from backstage.
Hi Tobias, it seems your suggestion to move the install command to outside of the backstage dir did the trick. Look good now on Windows :) Thanks for the help and patience.
from backstage.
Related Issues (20)
- Cannot build gem on Windows 7 x64 machine (Encoding::InvalidByteSequenceError) HOT 7
- Queues -> View Messages seems to be broken HOT 3
- backstage deploy not working with gem version of torquebox HOT 1
- Tailing of log files (ajax requests) fails HOT 6
- use the torquebox command to find $TORQUEBOX_HOME if it's not set
- Bond dependency requires compilation HOT 4
- Unexpected file in Infinispan cache store HOT 2
- Wire up sessions so mod_cluster can use them for session affinity HOT 1
- jmx gem dependency HOT 5
- Include message queue consumers on other servers HOT 2
- Fails on torquebox 2.3.0 HOT 4
- TB 2.3.0 dependency somewhere HOT 7
- Warning when running bundler HOT 1
- Gem won't bundle with Rails 3.2 app HOT 2
- Version restrictions are very strict. HOT 1
- Add support for infinispan stats HOT 2
- Evaluate of String in the contexts of a Rails 4.x application fails HOT 2
- torquebox-backstage lost authentication after deploy/undeploy/deploy simple application HOT 1
- Incompatible with TB 3.2 HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from backstage.