--
You received this message because you are subscribed to the Google Groups "Redcar" group.
To post to this group, send email to redcar...@googlegroups.com.
To unsubscribe from this group, send email to redcar-edito...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/redcar-editor?hl=en.
@dan: what param do you need?
On 16 Dec 2009 07:20, "Daniel Lucraft" <danlu...@me.com> wrote:On 16 Dec 2009, at 06:16, Henrik Hodne wrote: > Oh, I'll try using MRI then and see how that works....
MRI is only used as a tiny shim at the start, the first thing it will do is replace execution with a java process running jruby.
Installing as a gem under JRuby doesn't work quite right on OSX (lots of SWT errors), but it should be a simple fix as soon as someone tells me how to find out JVM parameters from inside JRuby.
> I think one of the best "easy" ways of installing would be with a > shell script you download and...
Well, we'll want to do something like this for non-Ruby users eventually so they don't have to use gems.
Dan
-- You received this message because you are subscribed to the Google Groups "Redcar" group. To po...
Windows: should now work (32bit anyway)
Roger: your "no such file or directory" error should now be more helpful in terms of what's actually missing.
thanks,
Dan
_______________________________
Daniel Lucraft
twitter.com/danlucraft
danlucraft.com/blog
C:\>gem install redcar --pre
ERROR: While executing gem ... (Errno::EINVAL)
Invalid argument -
C:/ruby/lib/ruby/gems/1.8/gems/redcar-0.2.9dev/textmate/Bundles/C.tmbundle/Snippets/#include
"" (inc).plist
OS: Windows Server 2003
Aidy
2009/12/17 Daniel Lucraft <danlu...@me.com>:
Have you tried uninstalling and reinstalling again? That file is definitely not included in the current gem....
D
C:\svnProjects\ccp\proposition\features>gem list -l redcar
*** LOCAL GEMS ***
C:\svnProjects\ccp\proposition\features>gem install redcar --pre
ERROR: While executing gem ... (Errno::EINVAL)
Invalid argument -
C:/ruby/lib/ruby/gems/1.8/gems/redcar-0.2.9dev/textmate/Bundles/C.tmbundle/Snippets/#include
"" (inc).plist
Aidy
2009/12/17 Daniel Lucraft <danlu...@me.com>:
jruby -S gem install redcar --pre
and
gem install redcar --pre
Install seems to be running fine, but it won't run.
/opt/jruby-1.4.0/lib/ruby/gems/1.8/gems/redcar-0.2.9dev/lib/freebase2/lib/freebase/readers.rb:193:in
`load_files_from_paths': can't find directory
/opt/jruby-1.4.0/lib/ruby/gems/1.8/gems/redcar-0.2.9dev/../plugins
(RuntimeError)
from /opt/jruby-1.4.0/lib/ruby/gems/1.8/gems/redcar-0.2.9dev/lib/freebase2/lib/freebase/readers.rb:189:in
`each'
from /opt/jruby-1.4.0/lib/ruby/gems/1.8/gems/redcar-0.2.9dev/lib/freebase2/lib/freebase/readers.rb:189:in
`load_files_from_paths'
from /opt/jruby-1.4.0/lib/ruby/gems/1.8/gems/redcar-0.2.9dev/lib/freebase2/lib/freebase/readers.rb:183:in
`load_files'
from /opt/jruby-1.4.0/lib/ruby/gems/1.8/gems/redcar-0.2.9dev/lib/freebase2/lib/freebase/readers.rb:170:in
`initialize'
from /opt/jruby-1.4.0/lib/ruby/gems/1.8/gems/redcar-0.2.9dev/lib/freebase2/lib/freebase/configuration.rb:37:in
`new'
from /opt/jruby-1.4.0/lib/ruby/gems/1.8/gems/redcar-0.2.9dev/lib/freebase2/lib/freebase/configuration.rb:37:in
`initialize'
from /opt/jruby-1.4.0/lib/ruby/gems/1.8/gems/redcar-0.2.9dev/lib/freebase2/lib/freebase/core.rb:59:in
`new'
from /opt/jruby-1.4.0/lib/ruby/gems/1.8/gems/redcar-0.2.9dev/lib/freebase2/lib/freebase/core.rb:59:in
`startup'
from /opt/jruby-1.4.0/lib/ruby/gems/1.8/gems/redcar-0.2.9dev/lib/redcar/boot.rb:79:in
`start'
from /opt/jruby-1.4.0/lib/ruby/gems/1.8/gems/redcar-0.2.9dev/bin/redcar:5
from /opt/jruby-1.4.0/lib/ruby/gems/1.8/gems/redcar-0.2.9dev/bin/redcar:19:in
`load'
from /opt/jruby/bin/redcar:19
The redcar-dev folder was in /gems, so manually deleted it. (Explorer)
Then:
C:\svnProjects\ccp\proposition\features>gem install redcar --pre
ERROR: While executing gem ... (Errno::EINVAL)
Invalid argument -
C:/ruby/lib/ruby/gems/1.8/gems/redcar-0.2.9dev/textmate/Bundles/C.tmbundle/Snippets/#include
"" (inc).plist
Aidy
2009/12/17 aidy lewis <aidy....@googlemail.com>:
Can you remove your ~/.redcar directory and try again?
Dan
_______________________________
Daniel Lucraft
twitter.com/danlucraft
danlucraft.com/blog
Way to go, Daniel!!
Now we can edit redcar with redcar again :D
can you also manually remove the cached .gem file? Probably in C:/ruby/lib/ruby/gems/1.8/cache. Perhaps it is not downloading a fresh file....
thanks
Dan
_______________________________
Daniel Lucraft
twitter.com/danlucraft
danlucraft.com/blog
--
Evgeny
C:\dev\ruby>gem install redcar --pre
ERROR: While executing gem ... (Errno::EINVAL)
Invalid argument - C:/installs/ruby19_mingw/lib/ruby/gems/1.9.1/
gems/redcar-0.2.9dev/textmate/Bundles/C.tmbundle/Snippets/#include
"" (inc).plist
C:\dev\ruby>gem search redcar -b --pre
*** LOCAL GEMS ***
*** REMOTE GEMS ***
redcar (0.2.9dev)
-r
> --
>
> You received this message because you are subscribed to the Google Groups "Redcar" group.
> To post to this group, send email to redcar...@googlegroups.com.
> To unsubscribe from this group, send email to redcar-edito...@googlegroups.com.
> For more options, visit this group at http://groups.google.com/group/redcar-editor?hl=en.
>
>
>
--
Aaron McLeod
http://agmprojects.com
could you try deleting the cached .gem file from C:/installs/ruby19_mingw/lib/ruby/gems/1.9.1/cache/ directory as well? For some reason it doesn't seem to be re downloading the gem file.
thanks
Dan
_______________________________
Daniel Lucraft
twitter.com/danlucraft
danlucraft.com/blog
Deleted the cache as advised.
C:\>gem install redcar --pre
Building native extensions. This could take a while...
Successfully installed redcar-0.2.9dev
1 gem installed
Installing ri documentation for redcar-0.2.9dev...
Installing RDoc documentation for redcar-0.2.9dev...
Magic.
Dan, do you fancy coming into the BBC and giving a talk on RedCar?
Aidy
2009/12/18 Daniel Lucraft <danlu...@me.com>:
C:\dev\digitalarchive_trunk>gem install redcar --pre
Building native extensions. This could take a while...
Successfully installed redcar-0.3.0dev
1 gem installed
C:\dev\digitalarchive_trunk>redcar
Exception in thread "main" :1: no such file to load -- ubygemsf
(LoadError)
...internal jruby stack elided...
from (unknown).(unknown)(:1)
C:\dev\digitalarchive_trunk>set RUBYOPT=
C:\dev\digitalarchive_trunk>redcar
Redcar 0.3.0dev (jruby )
SWT jar file required: E:/installs/ruby191p376/lib/ruby/gems/1.9.1/
gems/redcar-0.3.0dev/plugins/application_swt/vendor/swt/win32/swt.jar
C:\dev\digitalarchive_trunk>ls E:/installs/ruby191p376/lib/ruby/gems/
1.9.1/gems/redcar-0.3.0dev/plugins/application_swt/vendor/swt/win32/
swt.jar
ls: cannot access E:/installs/ruby191p376/lib/ruby/gems/1.9.1/gems/
redcar-0.3.0dev/plugins/application_swt/vendor/swt/win32/swt.jar: No
such file or directory
C:\dev\digitalarchive_trunk>ls E:/installs/ruby191p376/lib/ruby/gems/
1.9.1/gems/redcar-0.3.0dev/plugins/application_swt/vendor/swt/win32/
dummy
C:\dev\digitalarchive_trunk>ls E:/installs/ruby191p376/lib/ruby/gems/
1.9.1/gems/redcar-0.3.0dev/plugins/application_swt/vendor/swt/win32/
dummy
E:/installs/ruby191p376/lib/ruby/gems/1.9.1/gems/redcar-0.3.0dev/
plugins/application_swt/vendor/swt/win32/dummy
are there any jar files under the directories in application_swt/vendor/swt/* ? I wonder if it downloaded jars for the wrong platform somehow....
Dan
_______________________________
Daniel Lucraft
twitter.com/danlucraft
danlucraft.com/blog
E:\dev\ruby\after>find E:/installs/ruby191p376/lib/ruby/gems/1.9.1/
gems/redcar-0.3.0dev/plugins/application_swt/vendor/swt
E:/installs/ruby191p376/lib/ruby/gems/1.9.1/gems/redcar-0.3.0dev/
plugins/application_swt/vendor/swt
E:/installs/ruby191p376/lib/ruby/gems/1.9.1/gems/redcar-0.3.0dev/
plugins/application_swt/vendor/swt/linux
E:/installs/ruby191p376/lib/ruby/gems/1.9.1/gems/redcar-0.3.0dev/
plugins/application_swt/vendor/swt/linux/dummy
E:/installs/ruby191p376/lib/ruby/gems/1.9.1/gems/redcar-0.3.0dev/
plugins/application_swt/vendor/swt/osx
E:/installs/ruby191p376/lib/ruby/gems/1.9.1/gems/redcar-0.3.0dev/
plugins/application_swt/vendor/swt/osx/dummy
E:/installs/ruby191p376/lib/ruby/gems/1.9.1/gems/redcar-0.3.0dev/
plugins/application_swt/vendor/swt/osx64
E:/installs/ruby191p376/lib/ruby/gems/1.9.1/gems/redcar-0.3.0dev/
plugins/application_swt/vendor/swt/osx64/dummy
E:/installs/ruby191p376/lib/ruby/gems/1.9.1/gems/redcar-0.3.0dev/
plugins/application_swt/vendor/swt/win32
E:/installs/ruby191p376/lib/ruby/gems/1.9.1/gems/redcar-0.3.0dev/
plugins/application_swt/vendor/swt/win32/dummy
doesn't appear so.
E:\dev\ruby\after>find E:/installs/ruby191p376/lib/ruby/gems/1.9.1/
gems/redcar-0.3.0dev -name *.jar
E:/installs/ruby191p376/lib/ruby/gems/1.9.1/gems/redcar-0.3.0dev/lib/
jcodings.jar
E:/installs/ruby191p376/lib/ruby/gems/1.9.1/gems/redcar-0.3.0dev/lib/
jdom.jar
E:/installs/ruby191p376/lib/ruby/gems/1.9.1/gems/redcar-0.3.0dev/lib/
joni.jar
E:/installs/ruby191p376/lib/ruby/gems/1.9.1/gems/redcar-0.3.0dev/lib/
jruby-complete-1.4.0.jar
E:/installs/ruby191p376/lib/ruby/gems/1.9.1/gems/redcar-0.3.0dev/
plugins/application_swt/vendor/jface/org.eclipse.core.commands.jar
E:/installs/ruby191p376/lib/ruby/gems/1.9.1/gems/redcar-0.3.0dev/
plugins/application_swt/vendor/jface/
org.eclipse.core.runtime_3.5.0.v20090525.jar
E:/installs/ruby191p376/lib/ruby/gems/1.9.1/gems/redcar-0.3.0dev/
plugins/application_swt/vendor/jface/org.eclipse.equinox.common.jar
E:/installs/ruby191p376/lib/ruby/gems/1.9.1/gems/redcar-0.3.0dev/
plugins/application_swt/vendor/jface/
org.eclipse.jface.databinding_1.3.0.I20090525-2000.jar
E:/installs/ruby191p376/lib/ruby/gems/1.9.1/gems/redcar-0.3.0dev/
plugins/application_swt/vendor/jface/org.eclipse.jface.jar
E:/installs/ruby191p376/lib/ruby/gems/1.9.1/gems/redcar-0.3.0dev/
plugins/application_swt/vendor/jface/org.eclipse.jface.text_3.5.0.jar
E:/installs/ruby191p376/lib/ruby/gems/1.9.1/gems/redcar-0.3.0dev/
plugins/application_swt/vendor/jface/org.eclipse.osgi.jar
E:/installs/ruby191p376/lib/ruby/gems/1.9.1/gems/redcar-0.3.0dev/
plugins/application_swt/vendor/jface/
org.eclipse.text_3.5.0.v20090513-2000.jar
E:/installs/ruby191p376/lib/ruby/gems/1.9.1/gems/redcar-0.3.0dev/
plugins/edit_view_swt/vendor/java-mateview.jar
> > are there any jar files under the directories in application_swt/vendor/swt/* ? I wonder if it downloaded jars for the wrong platform somehow....
Seems to install all right on msvc builds, but not on mingw, perhaps
that's related...but it does work :)
-r