On a related note to some things touched upon in this thread, it seems that in
macbacon test scripts you don't need to require rubygems or mac_bacon, as this
is done for you in the macbacon executable.
Stephen
On 30/11/2012, at 18:26, J Silver wrote:
> Wow, didn't even know 1.9 required "ruby
Brilliant! `rvm use system` has fixed it.
I think I'll just leave rvm on system. It's black magic has caused me a few
problems now.
Thanks Josh.
Stephen
On 01/12/2012, at 07:37, Joshua Ballanco wrote:
> Hmm…are you using rvm? If so, try re-running after doing a "rvm use system".
> Otherwise
Hmm…are you using rvm? If so, try re-running after doing a "rvm use system".
Otherwise, try looking at your environment to see if any environment variables
related to RubyGems are set.
On Friday, November 30, 2012 at 9:09 PM, stephen horne wrote:
> That reads:
>
> #!/Library/Frameworks/Mac
That reads:
#!/Library/Frameworks/MacRuby.framework/Versions/0.13/usr/bin/macruby
I was using the stable 0.12 release from the macruby.org homepage. I installed
a nightly to see if that helped, but it didn't.
I just tried installing another macgem, the first I came across online -
progressbar,
Try checking the shebang line on the macbacon executable:
> head -1 `which macbacon`
- Josh
On Friday, November 30, 2012 at 8:39 PM, stephen horne wrote:
> Hi Joshua,
>
> No, I had missed that in my script, but now it's there I still get the same
> error. It seems to be happening in /usr/l
Hi Joshua,
No, I had missed that in my script, but now it's there I still get the same
error. It seems to be happening in /usr/local/bin/macbacon itself, before it
gets to my script.
Stephen
On 30/11/2012, at 18:22, Joshua Ballanco wrote:
> Do you have a "require 'rubygems'" in your script
Wow, didn't even know 1.9 required "rubygems" by default! Thanks!
On 30/11/2012 10:22, Joshua Ballanco wrote:
Do you have a "require 'rubygems'" in your script? Unlike Ruby 1.9,
MacRuby doesn't automatically load RubyGems by default.
On Friday, November 30, 2012 at 8:11 PM, stephen horne wrote
Do you have a "require 'rubygems'" in your script? Unlike Ruby 1.9, MacRuby
doesn't automatically load RubyGems by default.
On Friday, November 30, 2012 at 8:11 PM, stephen horne wrote:
> Thanks Daniel, you were right - I'd gem installed it. I've now gem
> uninstalled it and tried with macgem
Thanks Daniel, you were right - I'd gem installed it. I've now gem uninstalled
it and tried with macgem, but whilst that claims to install it, I get a
Gem::LoadError when I try to use it:
$sudo macgem install mac_bacon
Successfully installed mac_bacon-1.3
1 gem installed
and then try:
$macbaco
Stephen,
It looks like MacBacon is using MRI Ruby, not MacRuby. Did you install the
gem using macgem? You might have to uninstall any other versions you've
installed.
I never had much luck with RVM+MacRuby; I always installed MacRuby using
the installer from the website. This might have been fixe
I'm trying to get started with tdd and MacRuby, but I've hit a stumbling block
immediately with macbacon. I suspect it's something to do with rvm, but I'm not
sure.
When I run macbacon like this:
$macbacon my_class_test.rb
I get the following error backtrace:
/Users/fatboy/.rvm/rubie
11 matches
Mail list logo