Question

I am wanting to try out MassTransit but I am falling at the first hurdle.

Firstly the downloads link does appear to go to the right place. So I decided I'd just get the source and build it. However there is a dependency on Ruby and a couple gems (kinda irritating to a c# developer who has never used Ruby before), I installed Ruby and the gems and tried to run the build.bat, and I now get....

Building for .NET 3.5
rake aborted!
cannot load such file -- zip/zip
C:/dev/MassTransit/rakefile.rb:7:in `<top (required)>'
(See full trace by running task with --trace)

so I re ran it with the --trace and I get...

Building for .NET 3.5
rake aborted!
cannot load such file -- zip/zip
C:/Ruby193/lib/ruby/site_ruby/1.9.1/rubygems/custom_require.rb:36:in `require'
C:/Ruby193/lib/ruby/site_ruby/1.9.1/rubygems/custom_require.rb:36:in `require'
C:/Ruby193/lib/ruby/gems/1.9.1/gems/albacore-0.3.5/lib/albacore/unzip.rb:2:in `<top (required)>'
C:/Ruby193/lib/ruby/site_ruby/1.9.1/rubygems/custom_require.rb:36:in `require'
C:/Ruby193/lib/ruby/site_ruby/1.9.1/rubygems/custom_require.rb:36:in `require'
C:/Ruby193/lib/ruby/gems/1.9.1/gems/albacore-0.3.5/lib/albacore.rb:9:in `block in <top (required)>'
C:/Ruby193/lib/ruby/gems/1.9.1/gems/albacore-0.3.5/lib/albacore.rb:9:in `each'
C:/Ruby193/lib/ruby/gems/1.9.1/gems/albacore-0.3.5/lib/albacore.rb:9:in `<top (required)>'
C:/Ruby193/lib/ruby/site_ruby/1.9.1/rubygems/custom_require.rb:60:in `require'
C:/Ruby193/lib/ruby/site_ruby/1.9.1/rubygems/custom_require.rb:60:in `rescue in require'
C:/Ruby193/lib/ruby/site_ruby/1.9.1/rubygems/custom_require.rb:35:in `require'
C:/dev/MassTransit/rakefile.rb:7:in `<top (required)>'
C:/Ruby193/lib/ruby/gems/1.9.1/gems/rake-10.1.1/lib/rake/rake_module.rb:25:in `load'
C:/Ruby193/lib/ruby/gems/1.9.1/gems/rake-10.1.1/lib/rake/rake_module.rb:25:in `load_rakefile'
C:/Ruby193/lib/ruby/gems/1.9.1/gems/rake-10.1.1/lib/rake/application.rb:637:in `raw_load_rakefile'
C:/Ruby193/lib/ruby/gems/1.9.1/gems/rake-10.1.1/lib/rake/application.rb:94:in `block in load_rakefile'
C:/Ruby193/lib/ruby/gems/1.9.1/gems/rake-10.1.1/lib/rake/application.rb:165:in `standard_exception_handling'
C:/Ruby193/lib/ruby/gems/1.9.1/gems/rake-10.1.1/lib/rake/application.rb:93:in `load_rakefile'
C:/Ruby193/lib/ruby/gems/1.9.1/gems/rake-10.1.1/lib/rake/application.rb:77:in `block in run'
C:/Ruby193/lib/ruby/gems/1.9.1/gems/rake-10.1.1/lib/rake/application.rb:165:in `standard_exception_handling'
C:/Ruby193/lib/ruby/gems/1.9.1/gems/rake-10.1.1/lib/rake/application.rb:75:in `run'
C:/Ruby193/lib/ruby/gems/1.9.1/gems/rake-10.1.1/bin/rake:33:in `<top (required)>'
C:/Ruby193/bin/rake:23:in `load'
C:/Ruby193/bin/rake:23:in `<main>'

Unfortunately I am none the wiser...Any ideas?

Was it helpful?

Solution

Just use NuGet. The binaries are already there and you'll be sure to get the right stuff. You'll also need a transport package, such as MassTransit.RabbitMQ or MassTransit.MSMQ.

There are instructions on building in the README. If you really want to build from source start there. If they don't work for some reason a more to the mailing list and we can update the README.

Lastly, TeamCity builds MassTransit for you if you want a non-NuGet build, http://TeamCity.codebetter.com. Sign in with guest, find the MassTransit project and you can download the artifacts.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top