bdkjones / CodeKit-1-Old

147 stars 1 forks source link

CodeKit 1.9.2 - RUBYOPT: -E (RuntimeError) #686

Open webdeli opened 10 years ago

webdeli commented 10 years ago

On OS X Mavericks 10.9 (13A603) - Just updated to Codekit 1.9.2.

Now my Sass (.scss) stopped processing. I get this error:

/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/bin/ruby: illegal switch in RUBYOPT: -E (RuntimeError)

Any thoughts?

bdkjones commented 10 years ago

You’re on Mavericks and you’ve got CodeKit set to use an external Compass, Sass, Slim or Haml compiler. But that external compiler is running in the old version of Ruby that was migrated from Mountain Lion (Ruby 1.8.7).

All you need to do is re-install your external compiler in the Ruby 2.0 environment on Mavericks and use that compiler instead. Alternately, you can simply switch CodeKit back to using its internal compiler.

Close the issue when you fix it, please.

Sent from my iPhone

On Oct 25, 2013, at 1:19 AM, Web Deli™ notifications@github.com wrote:

Reopened #686.

— Reply to this email directly or view it on GitHub.

webdeli commented 10 years ago

Ah.. That would make sense. Will fix the config in the morning.

zjloh commented 10 years ago

have the same problem after upgrading ran sudo gem install ruby sudo gem install compass

and everything run fine now.

nicodev3 commented 10 years ago

I tried to fix this and now i have the following error :

Compass was unable to compile one or more files in the project:

LoadError on line ["55"] of /Library/Ruby/Site/2.0.0/rubygems/core_ext/kernel_require.rb: cannot load such file -- zurb-foundation

EDIT : HAD JUST TO REINSTALL ZURB FOUNDATION, the problem was with new Maverick's ruby 2.0

Everything works fine

bdkjones commented 10 years ago

Go to the terminal and install the Zurb foundation gem.

Sent from my iPhone

On Oct 26, 2013, at 5:41 AM, ndevaux notifications@github.com wrote:

I tried to fix this and now i have the following error

Compass was unable to compile one or more files in the project:

LoadError on line ["55"] of /Library/Ruby/Site/2.0.0/rubygems/core_ext/kernel_require.rb: cannot load such file -- zurb-foundation

Please help !

— Reply to this email directly or view it on GitHub.

nicodev3 commented 10 years ago

Thanks a lot, i am dumb, this was because i didn't reinstall zurb after upgrading to Maverick !

Bests

Envoyé de mon iPhone

Le 26 oct. 2013 à 21:34, bdkjones notifications@github.com a écrit :

Go to the terminal and install the Zurb foundation gem.

Sent from my iPhone

On Oct 26, 2013, at 5:41 AM, ndevaux notifications@github.com wrote:

I tried to fix this and now i have the following error

Compass was unable to compile one or more files in the project:

LoadError on line ["55"] of /Library/Ruby/Site/2.0.0/rubygems/core_ext/kernel_require.rb: cannot load such file -- zurb-foundation

Please help !

— Reply to this email directly or view it on GitHub. — Reply to this email directly or view it on GitHub.

ghost commented 10 years ago

Thanks