Forums | Admin

Discussion Forums: help

Start New Thread Start New Thread
Message: 173282
BY: Mark Clayton (clayton256)
DATE: 2013-01-09 18:25
SUBJECT: RE: Migrate from Campworks

 


Awesome! Thanks! That explains it! I installed rake, rack & rails from the ubuntu depository. I see that I was supposed to install them through gem. I'll try to back out of all this and start over.

In the mean time, when I run ./scripts/console, I get a bunch of warning about things depreciated but the killer is the syntax error:

Gem::Specification#installation_path called from /home/clayton/Projects/opencampground/opencampground-1.10/vendor/rails/railties/lib/rails/vendor_gem_source_index.rb:93.
/usr/lib/ruby/1.9.1/rubygems/custom_require.rb:36:in `require': /home/clayton/Projects/opencampground/opencampground-1.10/vendor/plugins/activemerchant-1.4.0/lib/active_merchant/lib/country.rb:67: invalid multibyte char (US-ASCII) (SyntaxError)
/home/clayton/Projects/opencampground/opencampground-1.10/vendor/plugins/activemerchant-1.4.0/lib/active_merchant/lib/country.rb:67: invalid multibyte char (US-ASCII)
/home/clayton/Projects/opencampground/opencampground-1.10/vendor/plugins/activemerchant-1.4.0/lib/active_merchant/lib/country.rb:67: syntax error, unexpected $end, expecting '}'
...{ :alpha2 => 'AX', :name => 'Ă…land Islands', :alpha3 => 'AL...
... ^
from /usr/lib/ruby/1.9.1/rubygems/custom_require.rb:36:in `require'
from /home/clayton/Projects/opencampground/opencampground-1.10/vendor/rails/activesupport/lib/active_support/dependencies.rb:182:in `block in require'
from /home/clayton/Projects/opencampground/opencampground-1.10/vendor/rails/activesupport/lib/active_support/dependencies.rb:547:in `new_constants_in'
from /home/clayton/Projects/opencampground/opencampground-1.10/vendor/rails/activesupport/lib/active_support/dependencies.rb:182:in `require'
from /home/clayton/Projects/opencampground/opencampground-1.10/vendor/plugins/activemerchant-1.4.0/lib/active_merchant.rb:57:in `<top (required)>'
from /usr/lib/ruby/1.9.1/rubygems/custom_require.rb:36:in `require'
from /usr/lib/ruby/1.9.1/rubygems/custom_require.rb:36:in `require'
from /home/clayton/Projects/opencampground/opencampground-1.10/vendor/rails/activesupport/lib/active_support/dependencies.rb:182:in `block in require'
from /home/clayton/Projects/opencampground/opencampground-1.10/vendor/rails/activesupport/lib/active_support/dependencies.rb:547:in `new_constants_in'
from /home/clayton/Projects/opencampground/opencampground-1.10/vendor/rails/activesupport/lib/active_support/dependencies.rb:182:in `require'
from /home/clayton/Projects/opencampground/opencampground-1.10/vendor/plugins/activemerchant-1.4.0/init.rb:1:in `block in evaluate_init_rb'
from /home/clayton/Projects/opencampground/opencampground-1.10/vendor/rails/railties/lib/rails/plugin.rb:158:in `eval'
from /home/clayton/Projects/opencampground/opencampground-1.10/vendor/rails/railties/lib/rails/plugin.rb:158:in `block in evaluate_init_rb'
from /home/clayton/Projects/opencampground/opencampground-1.10/vendor/rails/activesupport/lib/active_support/core_ext/kernel/reporting.rb:11:in `silence_warnings'
from /home/clayton/Projects/opencampground/opencampground-1.10/vendor/rails/railties/lib/rails/plugin.rb:154:in `evaluate_init_rb'
from /home/clayton/Projects/opencampground/opencampground-1.10/vendor/rails/railties/lib/rails/plugin.rb:48:in `load'
from /home/clayton/Projects/opencampground/opencampground-1.10/vendor/rails/railties/lib/rails/plugin/loader.rb:38:in `block in load_plugins'
from /home/clayton/Projects/opencampground/opencampground-1.10/vendor/rails/railties/lib/rails/plugin/loader.rb:37:in `each'
from /home/clayton/Projects/opencampground/opencampground-1.10/vendor/rails/railties/lib/rails/plugin/loader.rb:37:in `load_plugins'
from /home/clayton/Projects/opencampground/opencampground-1.10/vendor/rails/railties/lib/initializer.rb:369:in `load_plugins'
from /home/clayton/Projects/opencampground/opencampground-1.10/vendor/rails/railties/lib/initializer.rb:165:in `process'
from /home/clayton/Projects/opencampground/opencampground-1.10/vendor/rails/railties/lib/initializer.rb:113:in `run'
from /home/clayton/Projects/opencampground/opencampground-1.10/config/environment.rb:13:in `<top (required)>'
from /usr/lib/ruby/1.9.1/rubygems/custom_require.rb:36:in `require'
from /usr/lib/ruby/1.9.1/rubygems/custom_require.rb:36:in `require'
from /usr/lib/ruby/1.9.1/irb/init.rb:281:in `block in load_modules'
from /usr/lib/ruby/1.9.1/irb/init.rb:279:in `each'
from /usr/lib/ruby/1.9.1/irb/init.rb:279:in `load_modules'
from /usr/lib/ruby/1.9.1/irb/init.rb:20:in `setup'
from /usr/lib/ruby/1.9.1/irb.rb:53:in `start'
from /usr/bin/irb:12:in `<main>'


Thread View

Thread Author Date
Migrate from CampworksMark Clayton2013-01-06 19:42
      RE: Migrate from CampworksNorm Scherer2013-01-08 16:31
            RE: Migrate from CampworksMark Clayton2013-01-09 13:28
                  RE: Migrate from CampworksNorm Scherer2013-01-09 17:46
                        RE: Migrate from CampworksMark Clayton2013-01-09 18:25
                              RE: Migrate from CampworksNorm Scherer2013-01-09 22:45

Post a followup to this message