You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@buildr.apache.org by Adam Crain <ad...@plymouthsystems.com> on 2010/02/22 00:10:03 UTC

installation/checking install

I would like to give builder a whirl, but installation has proven less
that easy....

 

So far I've tried windows and cygwin installs to no avail. I was able to
get the windows install to eventually run by explicitly specifying:

 

gem install buildr -platform=mswin32

 

However, now when I run buildr:

 

>buildr

C:/Ruby/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:2503:in
`const_missing': u

ninitialized constant Gem::Requirement::OP_RE (NameError)

        from
C:/Ruby/lib/ruby/gems/1.8/gems/buildr-1.3.5-x86-mswin32/lib/buildr/

packaging/version_requirement.rb:24

        from
C:/Ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in `ge

m_original_require'

 

Cygwin, didn't install at all. I've got JAVA_HOME defined, and am using
the ruby 1.8.6 binary installer. Ideas?

 

Thanks,

Adam

 

 


Re: installation/checking install

Posted by Alex Boisvert <al...@gmail.com>.
Never seen this one before...  you may want to try running:

gem update --system

before installing buildr.

alex

On Sun, Feb 21, 2010 at 3:10 PM, Adam Crain
<ad...@plymouthsystems.com>wrote:

> I would like to give builder a whirl, but installation has proven less
> that easy....
>
>
>
> So far I've tried windows and cygwin installs to no avail. I was able to
> get the windows install to eventually run by explicitly specifying:
>
>
>
> gem install buildr -platform=mswin32
>
>
>
> However, now when I run buildr:
>
>
>
> >buildr
>
> C:/Ruby/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:2503:in
> `const_missing': u
>
> ninitialized constant Gem::Requirement::OP_RE (NameError)
>
>        from
> C:/Ruby/lib/ruby/gems/1.8/gems/buildr-1.3.5-x86-mswin32/lib/buildr/
>
> packaging/version_requirement.rb:24
>
>        from
> C:/Ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in `ge
>
> m_original_require'
>
>
>
> Cygwin, didn't install at all. I've got JAVA_HOME defined, and am using
> the ruby 1.8.6 binary installer. Ideas?
>
>
>
> Thanks,
>
> Adam
>
>
>
>
>
>

Re: installation/checking install

Posted by Peter Schröder <ps...@blau.de>.
did you try the buildr installer for windows?

Am 22.02.2010 um 00:10 schrieb Adam Crain:

> I would like to give builder a whirl, but installation has proven less
> that easy....
> 
> 
> 
> So far I've tried windows and cygwin installs to no avail. I was able to
> get the windows install to eventually run by explicitly specifying:
> 
> 
> 
> gem install buildr -platform=mswin32
> 
> 
> 
> However, now when I run buildr:
> 
> 
> 
>> buildr
> 
> C:/Ruby/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:2503:in
> `const_missing': u
> 
> ninitialized constant Gem::Requirement::OP_RE (NameError)
> 
>        from
> C:/Ruby/lib/ruby/gems/1.8/gems/buildr-1.3.5-x86-mswin32/lib/buildr/
> 
> packaging/version_requirement.rb:24
> 
>        from
> C:/Ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in `ge
> 
> m_original_require'
> 
> 
> 
> Cygwin, didn't install at all. I've got JAVA_HOME defined, and am using
> the ruby 1.8.6 binary installer. Ideas?
> 
> 
> 
> Thanks,
> 
> Adam
> 
> 
> 
> 
> 


Re: installation/checking install

Posted by Alex Boisvert <al...@gmail.com>.
Hi Adam,

I did a "gem update --system" this morning and it looks like changes in the
latest rubygems 1.3.6 release broke
buildr/packaging/version_requirement.rb...

I filed a bug for this and attached a quick patch to get you working,
http://issues.apache.org/jira/browse/BUILDR-378

alex

On Mon, Feb 22, 2010 at 6:07 AM, Adam Crain
<ad...@plymouthsystems.com>wrote:

> Hi Alex,
>
> Yes, I went through and did a fresh install of ruby and then did gem
> update --system this morning to verify.
>
> I end up with the same error message when I run buildr. I'm using the
> ruby 1.8.6 One Click Installer.
>
> Strangely enough, I get the same error when trying the install under
> cygwin. My previous problem with cygwin was just
> gcc not likely my JAVA_HOME path. Same error now:
>
> $ buildr
> /usr/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:2503:in
> `const_missing': uninitialized constant Gem::Requirement::OP_RE
> (NameError)
>        from
> /usr/lib/ruby/gems/1.8/gems/buildr-1.3.5-x86-mswin32/lib/buildr/packagin
> g/version_requirement.rb:24
>        from
> /usr/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in
> `gem_original_require'
>        from
> /usr/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in `require'
>        from
> /usr/lib/ruby/gems/1.8/gems/buildr-1.3.5-x86-mswin32/lib/buildr/packagin
> g/artifact_namespace.rb:17
>        from
> /usr/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in
> `gem_original_require'
>        from
> /usr/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in `require'
>        from
> /usr/lib/ruby/gems/1.8/gems/buildr-1.3.5-x86-mswin32/lib/buildr/packagin
> g/artifact.rb:19
>        from
> /usr/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in
> `gem_original_require'
>        from
> /usr/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in `require'
>        from
> /usr/lib/ruby/gems/1.8/gems/buildr-1.3.5-x86-mswin32/lib/buildr/packagin
> g.rb:17
>        from
> /usr/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in
> `gem_original_require'
>        from
> /usr/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in `require'
>        from
> /usr/lib/ruby/gems/1.8/gems/buildr-1.3.5-x86-mswin32/lib/buildr.rb:21
>        from
> /usr/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in
> `gem_original_require'
>        from
> /usr/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in `require'
>        from
> /usr/lib/ruby/gems/1.8/gems/buildr-1.3.5-x86-mswin32/bin/buildr:18
>        from /usr/bin/buildr:19:in `load'
>        from /usr/bin/buildr:19
>
>
> Here are the gems installed:
>
> $ gem list
>
> *** LOCAL GEMS ***
>
> Antwrap (0.7.0)
> archive-tar-minitar (0.5.2)
> builder (2.1.2)
> buildr (1.3.5)
> gemcutter (0.4.0)
> highline (1.5.2, 1.5.1)
> hoe (2.5.0, 2.3.3)
> json_pure (1.2.0)
> net-sftp (2.0.4, 2.0.2)
> net-ssh (2.0.20, 2.0.15)
> rake (0.8.7)
> rjb (1.1.9, 1.1.6)
> rspec (1.3.0, 1.2.8)
> rubyforge (2.0.3, 1.0.5)
> rubygems-update (1.3.6)
> rubyzip (0.9.4, 0.9.1)
> xml-simple (1.0.12)
>
>
> -----Original Message-----
> From: Alex Boisvert [mailto:alex.boisvert@gmail.com]
> Sent: Sunday, February 21, 2010 8:48 PM
> To: users@buildr.apache.org
> Subject: Re: installation/checking install
>
> Never seen this one before...  you may want to try running:
>
> gem update --system
>
> before installing buildr.
>
> alex
>
> On Sun, Feb 21, 2010 at 3:10 PM, Adam Crain
> <ad...@plymouthsystems.com>wrote:
>
> > I would like to give builder a whirl, but installation has proven less
> > that easy....
> >
> >
> >
> > So far I've tried windows and cygwin installs to no avail. I was able
> to
> > get the windows install to eventually run by explicitly specifying:
> >
> >
> >
> > gem install buildr -platform=mswin32
> >
> >
> >
> > However, now when I run buildr:
> >
> >
> >
> > >buildr
> >
> > C:/Ruby/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:2503:in
> > `const_missing': u
> >
> > ninitialized constant Gem::Requirement::OP_RE (NameError)
> >
> >        from
> > C:/Ruby/lib/ruby/gems/1.8/gems/buildr-1.3.5-x86-mswin32/lib/buildr/
> >
> > packaging/version_requirement.rb:24
> >
> >        from
> > C:/Ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in `ge
> >
> > m_original_require'
> >
> >
> >
> > Cygwin, didn't install at all. I've got JAVA_HOME defined, and am
> using
> > the ruby 1.8.6 binary installer. Ideas?
> >
> >
> >
> > Thanks,
> >
> > Adam
> >
> >
> >
> >
> >
> >
>

Re: extracting jars from zip

Posted by Alex Boisvert <al...@gmail.com>.
Yeah, I think this is the same issue I hit when I was trying your code last
week.

Try adding,

artifact(...).enhance qpid_client_jar

It looks like from(...) doesn't properly wire the dependency to the task but
to the path it generates, so this is a workaround until that issue is fixed.

alex

On Wed, Feb 24, 2010 at 8:55 AM, Adam Crain
<ad...@plymouthsystems.com>wrote:

> Hi,
>
> First, thanks for the help last week in getting buildr installed with
> gem 1.3.6 and nice tool! I've now successfully gotten quite of bit
> working with a mixed java/scala set of projects.
>
> I am now trying to get a non-maven artifact dependency setup against a
> downloaded zip file and am having some trouble. I've been using the
> examples at:
>
> http://buildr.apache.org/artifacts.html#downloading
>
> My problem is that I can't seem to ever get the download to trigger...
> here's my build file with the unrelated stuff removed:
>
> ------------------------------------------
> require 'buildr/scala'
>
> GROUP = "frontend"
> COPYRIGHT = ""
>
> # Specify Maven 2.0 remote repositories here, like this:
> repositories.remote << "http://www.ibiblio.org/maven2"
>
> my_layout = Layout.new
> my_layout[:source, :main, :java] = 'src'
>
> #trying to setup an artifact extracted from a remote zip here
> qpid_url =
> 'http://www.apache.org/dist/qpid/0.5/qpid-java-client-0.5.zip'
> download_qpid = download(qpid_url => 'target/qpid.zip')
> unzip_qpid = unzip('target/qpid'=> download_qpid)
> qpid_client_jar =
> file('target/qpid/lib/qpid-client-0.5.jar'=>unzip_qpid)
> QPID_CLIENT =
> artifact('org.apache.qpid:qpid-client:jar:0.5').from(qpid_client_jar)
>
> desc "The scada bus project"
> define "frontend", :layout=>my_layout do
>
>  project.version = VERSION_NUMBER
>  project.group = GROUP
>  manifest["Implementation-Vendor"] = COPYRIGHT
>
>  desc "Front end processor in Scala"
>  define "fep", :layout=>my_layout do
>    compile.with [QPID_CLIENT], projects('javadnp3','fepproto') #I
> expect this should be triggering a download
>  end
>
> end
> ------------------------------------------
>
> The rake error is:
>
> Don't know how to build task
> '/home/adam/code/scada_bus/frontend/target/qpid/lib/qpid-client-0.5.jar'
>
> Apparently it sees the file dependency, but doesn't follow the => unzip
> => download dependency chain. I'm sure I'm just doing something silly...
>
> Thanks,
> Adam
>
>
>
>

extracting jars from zip

Posted by Adam Crain <ad...@plymouthsystems.com>.
Hi,

First, thanks for the help last week in getting buildr installed with
gem 1.3.6 and nice tool! I've now successfully gotten quite of bit
working with a mixed java/scala set of projects.

I am now trying to get a non-maven artifact dependency setup against a
downloaded zip file and am having some trouble. I've been using the
examples at:

http://buildr.apache.org/artifacts.html#downloading

My problem is that I can't seem to ever get the download to trigger...
here's my build file with the unrelated stuff removed:

------------------------------------------
require 'buildr/scala'

GROUP = "frontend"
COPYRIGHT = ""

# Specify Maven 2.0 remote repositories here, like this:
repositories.remote << "http://www.ibiblio.org/maven2"

my_layout = Layout.new
my_layout[:source, :main, :java] = 'src'

#trying to setup an artifact extracted from a remote zip here
qpid_url =
'http://www.apache.org/dist/qpid/0.5/qpid-java-client-0.5.zip'
download_qpid = download(qpid_url => 'target/qpid.zip')
unzip_qpid = unzip('target/qpid'=> download_qpid)
qpid_client_jar =
file('target/qpid/lib/qpid-client-0.5.jar'=>unzip_qpid)
QPID_CLIENT =
artifact('org.apache.qpid:qpid-client:jar:0.5').from(qpid_client_jar)

desc "The scada bus project"
define "frontend", :layout=>my_layout do

  project.version = VERSION_NUMBER
  project.group = GROUP
  manifest["Implementation-Vendor"] = COPYRIGHT

  desc "Front end processor in Scala"
  define "fep", :layout=>my_layout do
    compile.with [QPID_CLIENT], projects('javadnp3','fepproto') #I
expect this should be triggering a download
  end

end
------------------------------------------

The rake error is: 

Don't know how to build task
'/home/adam/code/scada_bus/frontend/target/qpid/lib/qpid-client-0.5.jar'

Apparently it sees the file dependency, but doesn't follow the => unzip
=> download dependency chain. I'm sure I'm just doing something silly...

Thanks,
Adam




Re: packing scala projects == different than java?

Posted by Rhett Sutphin <rh...@detailedbalance.net>.
Hi Adam,

On Feb 24, 2010, at 4:33 PM, Adam Crain wrote:

> I have a 3 project buildfile... a scala executable that depends on two
> jars. I am successfully running the scala tests now for project 'fep'
> But I can't get the custom task :run to work because project 'fep'  
> won't
> package into a jar like 'fepproto' and 'javadnp3'. Any ideas what it's
> not packaging the scala project? The output from buildr is below,
> followed by the relevant parts of the buildfile...

> I can force the packing to occur if and only if I modify the buildfile
> line:
>
> task :run => :compile do
> to
> task :run => [:compile, :package] do
>
> whereas the java projects package automatically.
>

If I understand you correctly, you have 'fep' (the scala executable)  
which has something like `compile.with project('fepproto'),  
project('javadnp3')`.  Then the :run task is defined in the scope of  
the 'fep' project.

If that understanding is correct, then this is the expected behavior.   
'fepproto' and 'javadnp3' are being packaged as a result of fep's  
compile dependencies -- compile.with project('foo') expresses a  
dependency on foo's package task.  'fep' isn't packaged unless you  
have :run express a dependency on fep's package task.  (BTW, You can  
just say

task :run => :package

because package implies compile.)

Rhett


> Thanks, Adam
>
> ----------------------
>
> adam@adam-laptop:~/code/scada_bus/frontend$ buildr
> (in /home/adam/code/scada_bus/frontend, development)
> Building frontend
> Compiling frontend:fepproto into
> /home/adam/code/scada_bus/frontend/fepproto/target/main/classes
> Compiling frontend:javadnp3 into
> /home/adam/code/scada_bus/frontend/javadnp3/target/main/classes
> Packaging frontend-javadnp3-1.0.0.jar
> Packaging frontend-fepproto-1.0.0.jar
> Compiling frontend:fep into
> /home/adam/code/scada_bus/frontend/fep/target/main/classes
> Compiling frontend:fep:test into
> /home/adam/code/scada_bus/frontend/fep/target/test/classes
> Running tests in frontend:fep
> ScalaTest "org.psi.sos.frontend.dnp3.MapGeneratorSuite"
> Test Succeeded - MapGeneratorSuite.testEmptyProto
> Test Succeeded - MapGeneratorSuite.testSimpleEntries
> Run completed. Total number of tests run was: 2
> All tests passed.
> Completed in 11.225s
>
> --------------------------------------
> desc "The scada bus project"
> define "frontend", :layout=>my_layout do
>
>  project.version = VERSION_NUMBER
>  project.group = GROUP
>  manifest["Implementation-Vendor"] = COPYRIGHT
>
>  desc "The java proto bindings"
>  define "fepproto", :layout=>my_layout do
>    extend JavaProtoc
>
>    proto_dirs = ['../proto/scada_types', '../proto/FEPConfig']
>    generated = get_proto_file_task('target/generated-source',
> proto_dirs)
>    compile.from(generated.to_s).with(PROTOBUF).using(:javac)
>    package(:jar)
>  end
>
>  desc "dnp3 bindings for java"
>  define "javadnp3", :layout=>my_layout do
>    package(:jar)
>  end
>
>  desc "Front end processor in Scala"
>  define "fep", :layout=>my_layout do
>    specs = [PROTOBUF, SCALA_TEST]+ALL_QPID_JARS,
> projects('javadnp3','fepproto')
>    compile.with specs
>    test.using(:scalatest)
>
>    desc 'Runs the front end processor'
>    task :run => :compile, :package do
>      cp =
> Buildr.artifacts(specs).map(&:name).join(File::PATH_SEPARATOR)
>      sh "java -cp #{cp} org.psi.sos.frontend.FrontEnd"
>    end
>
>    package(:jar)
>  end
>
> end
> ----------------------------------------


packing scala projects == different than java?

Posted by Adam Crain <ad...@plymouthsystems.com>.
I have a 3 project buildfile... a scala executable that depends on two
jars. I am successfully running the scala tests now for project 'fep'
But I can't get the custom task :run to work because project 'fep' won't
package into a jar like 'fepproto' and 'javadnp3'. Any ideas what it's
not packaging the scala project? The output from buildr is below,
followed by the relevant parts of the buildfile...

I can force the packing to occur if and only if I modify the buildfile
line:

task :run => :compile do
to
task :run => [:compile, :package] do

whereas the java projects package automatically.

Thanks, Adam

----------------------

adam@adam-laptop:~/code/scada_bus/frontend$ buildr
(in /home/adam/code/scada_bus/frontend, development)
Building frontend
Compiling frontend:fepproto into
/home/adam/code/scada_bus/frontend/fepproto/target/main/classes
Compiling frontend:javadnp3 into
/home/adam/code/scada_bus/frontend/javadnp3/target/main/classes
Packaging frontend-javadnp3-1.0.0.jar
Packaging frontend-fepproto-1.0.0.jar
Compiling frontend:fep into
/home/adam/code/scada_bus/frontend/fep/target/main/classes
Compiling frontend:fep:test into
/home/adam/code/scada_bus/frontend/fep/target/test/classes
Running tests in frontend:fep
ScalaTest "org.psi.sos.frontend.dnp3.MapGeneratorSuite"
Test Succeeded - MapGeneratorSuite.testEmptyProto
Test Succeeded - MapGeneratorSuite.testSimpleEntries
Run completed. Total number of tests run was: 2
All tests passed.
Completed in 11.225s

--------------------------------------
desc "The scada bus project"
define "frontend", :layout=>my_layout do

  project.version = VERSION_NUMBER
  project.group = GROUP
  manifest["Implementation-Vendor"] = COPYRIGHT

  desc "The java proto bindings"
  define "fepproto", :layout=>my_layout do
    extend JavaProtoc
    
    proto_dirs = ['../proto/scada_types', '../proto/FEPConfig']
    generated = get_proto_file_task('target/generated-source',
proto_dirs)    
    compile.from(generated.to_s).with(PROTOBUF).using(:javac)
    package(:jar)
  end

  desc "dnp3 bindings for java"
  define "javadnp3", :layout=>my_layout do    
    package(:jar)
  end

  desc "Front end processor in Scala"
  define "fep", :layout=>my_layout do
    specs = [PROTOBUF, SCALA_TEST]+ALL_QPID_JARS,
projects('javadnp3','fepproto')
    compile.with specs
    test.using(:scalatest)
    
    desc 'Runs the front end processor'
    task :run => :compile, :package do
      cp =
Buildr.artifacts(specs).map(&:name).join(File::PATH_SEPARATOR)
      sh "java -cp #{cp} org.psi.sos.frontend.FrontEnd"
    end

    package(:jar)
  end

end
----------------------------------------

RE: installation/checking install

Posted by Adam Crain <ad...@plymouthsystems.com>.
Hi Alex,

Yes, I went through and did a fresh install of ruby and then did gem
update --system this morning to verify.

I end up with the same error message when I run buildr. I'm using the
ruby 1.8.6 One Click Installer.

Strangely enough, I get the same error when trying the install under
cygwin. My previous problem with cygwin was just
gcc not likely my JAVA_HOME path. Same error now:

$ buildr
/usr/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:2503:in
`const_missing': uninitialized constant Gem::Requirement::OP_RE
(NameError)
        from
/usr/lib/ruby/gems/1.8/gems/buildr-1.3.5-x86-mswin32/lib/buildr/packagin
g/version_requirement.rb:24
        from
/usr/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in
`gem_original_require'
        from
/usr/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in `require'
        from
/usr/lib/ruby/gems/1.8/gems/buildr-1.3.5-x86-mswin32/lib/buildr/packagin
g/artifact_namespace.rb:17
        from
/usr/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in
`gem_original_require'
        from
/usr/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in `require'
        from
/usr/lib/ruby/gems/1.8/gems/buildr-1.3.5-x86-mswin32/lib/buildr/packagin
g/artifact.rb:19
        from
/usr/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in
`gem_original_require'
        from
/usr/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in `require'
        from
/usr/lib/ruby/gems/1.8/gems/buildr-1.3.5-x86-mswin32/lib/buildr/packagin
g.rb:17
        from
/usr/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in
`gem_original_require'
        from
/usr/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in `require'
        from
/usr/lib/ruby/gems/1.8/gems/buildr-1.3.5-x86-mswin32/lib/buildr.rb:21
        from
/usr/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in
`gem_original_require'
        from
/usr/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in `require'
        from
/usr/lib/ruby/gems/1.8/gems/buildr-1.3.5-x86-mswin32/bin/buildr:18
        from /usr/bin/buildr:19:in `load'
        from /usr/bin/buildr:19


Here are the gems installed:

$ gem list

*** LOCAL GEMS ***

Antwrap (0.7.0)
archive-tar-minitar (0.5.2)
builder (2.1.2)
buildr (1.3.5)
gemcutter (0.4.0)
highline (1.5.2, 1.5.1)
hoe (2.5.0, 2.3.3)
json_pure (1.2.0)
net-sftp (2.0.4, 2.0.2)
net-ssh (2.0.20, 2.0.15)
rake (0.8.7)
rjb (1.1.9, 1.1.6)
rspec (1.3.0, 1.2.8)
rubyforge (2.0.3, 1.0.5)
rubygems-update (1.3.6)
rubyzip (0.9.4, 0.9.1)
xml-simple (1.0.12)


-----Original Message-----
From: Alex Boisvert [mailto:alex.boisvert@gmail.com] 
Sent: Sunday, February 21, 2010 8:48 PM
To: users@buildr.apache.org
Subject: Re: installation/checking install

Never seen this one before...  you may want to try running:

gem update --system

before installing buildr.

alex

On Sun, Feb 21, 2010 at 3:10 PM, Adam Crain
<ad...@plymouthsystems.com>wrote:

> I would like to give builder a whirl, but installation has proven less
> that easy....
>
>
>
> So far I've tried windows and cygwin installs to no avail. I was able
to
> get the windows install to eventually run by explicitly specifying:
>
>
>
> gem install buildr -platform=mswin32
>
>
>
> However, now when I run buildr:
>
>
>
> >buildr
>
> C:/Ruby/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:2503:in
> `const_missing': u
>
> ninitialized constant Gem::Requirement::OP_RE (NameError)
>
>        from
> C:/Ruby/lib/ruby/gems/1.8/gems/buildr-1.3.5-x86-mswin32/lib/buildr/
>
> packaging/version_requirement.rb:24
>
>        from
> C:/Ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in `ge
>
> m_original_require'
>
>
>
> Cygwin, didn't install at all. I've got JAVA_HOME defined, and am
using
> the ruby 1.8.6 binary installer. Ideas?
>
>
>
> Thanks,
>
> Adam
>
>
>
>
>
>