Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

Already on GitHub? Sign in to your account

Serve problem in Windows and Ubuntu #60

Closed
F21 opened this Issue Sep 17, 2012 · 7 comments

Comments

Projects
None yet
3 participants

F21 commented Sep 17, 2012

I just tried turning on the web server in fireapp and I received this error:

no such file to load -- serve
org/jruby/RubyKernel.java:1033:in `require'
file:/C:/fire.app/fire-app.jar!/require_patch.rb:6:in `require'
file:/C:/fire.app/fire-app.jar!/simplehttpserver.rb:5:in `(root)'
org/jruby/RubyKernel.java:1033:in `require'
file:/C:/fire.app/fire-app.jar!/require_patch.rb:6:in `require'
file:/C:/fire.app/fire-app.jar!/simplehttpserver.rb:597:in `watch'
org/jruby/RubyProc.java:270:in `call'
org/jruby/RubyProc.java:224:in `call'

This occurs in Windows 7 x64 and Ubuntu 12.04. I am using the latest master of FireApp.

To reproduce:

  1. Download this project and extract: http://www.mediafire.com/?o5m53t5ewc01p1r
  2. Turn on webserver.
  3. Watch the <extract path>/default/scss/
  4. Wait a few seconds for FireApp to compile the files.
  5. See error regarding server popup.
Contributor

tka commented Sep 17, 2012

@F21 Did you run git submodule update ?

F21 commented Sep 17, 2012

Yes, I ran that before compiling.

Contributor

tka commented Sep 17, 2012

@F21 how did you build fire.app? and does any file in C:/fire.app/lib/ruby/common/tka-serve folder?

F21 commented Sep 17, 2012

I just checked. On both Windows and Ubuntu, C:\fire.app\lib\ruby\common\tka-serve and C:\fire.app\lib\ruby\common\tka-rack-coffee are empty.

I built fire.app on Ubuntu using rvm.

So:

rvm use jruby-1.6.7.2
cd ~/FireApp
./bin/build-all.sh
Contributor

tka commented Sep 17, 2012

@F21 the two folders should not be empty, I think you need run git submodule init ; git submodule update and compile fire.app again

F21 commented Sep 17, 2012

Just tried git submodule init and git submodule update, but that results in this error (even if we accept the public key previously):

Cloning into 'lib/ruby/common/tka-rack-coffee'...
Permission denied (publickey).
fatal: The remote end hung up unexpectedly
Clone of 'git@github.com:tka/rack-coffee' into submodule path 'lib/ruby/common/tka-rack-coffee' failed

This seems like this problem: numba/numba#19 where the repository owner switched from ssh to https.

F21 commented Sep 17, 2012

Looks like I forgot to add a SSH for my Ubuntu VM to github. I was able to clone and compile without any issues. The webserver also works.

Although I think it would be nice if .gitmodules is modified to use https so that anonymous users can easily clone the submodules as well.

@hlb hlb closed this Sep 18, 2012

@tka tka added a commit that referenced this issue Oct 2, 2012

@tka tka try to fix #60 308ff1e
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment