I added a new folder ./data inside boxes\ubuntu-xenial64\ and edited the Vagrantfile by uncommenting this line:
config.vm.synced_folder "./data", "/vagrant_data"
Getting error as below:
PS C:\Users\sridh\.vagrant.d\boxes\ubuntu-VAGRANTSLASH-xenial64> vagrant up
C:/HashiCorp/Vagrant/embedded/mingw64/lib/ruby/2.3.0/rubygems/version.rb:207:in `initialize': Malformed version number string data (ArgumentError)
from C:/HashiCorp/Vagrant/embedded/mingw64/lib/ruby/2.3.0/rubygems/version.rb:199:in `new'
from C:/HashiCorp/Vagrant/embedded/mingw64/lib/ruby/2.3.0/rubygems/version.rb:199:in `new'
from C:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-1.9.8/lib/vagrant/box_collection.rb:289:in `block (2 levels) in find'
from C:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-1.9.8/lib/vagrant/box_collection.rb:285:in `map'
from C:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-1.9.8/lib/vagrant/box_collection.rb:285:in `block in find'
from C:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-1.9.8/lib/vagrant/box_collection.rb:448:in `block in with_collection_lock'
from C:/HashiCorp/Vagrant/embedded/mingw64/lib/ruby/2.3.0/monitor.rb:214:in `mon_synchronize'
from C:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-1.9.8/lib/vagrant/box_collection.rb:447:in `with_collection_lock'
from C:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-1.9.8/lib/vagrant/box_collection.rb:271:in `find'
from C:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-1.9.8/lib/vagrant/vagrantfile.rb:167:in `block in machine_config'
from C:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-1.9.8/lib/vagrant/vagrantfile.rb:200:in `machine_config'
from C:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-1.9.8/lib/vagrant/vagrantfile.rb:45:in `machine'
from C:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-1.9.8/lib/vagrant/environment.rb:733:in `machine'
from C:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-1.9.8/lib/vagrant/plugin/v2/command.rb:177:in `block in with_target_vms'
from C:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-1.9.8/lib/vagrant/plugin/v2/command.rb:201:in `block in with_target_vms'
from C:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-1.9.8/lib/vagrant/plugin/v2/command.rb:183:in `each'
from C:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-1.9.8/lib/vagrant/plugin/v2/command.rb:183:in `with_target_vms'
from C:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-1.9.8/plugins/commands/up/command.rb:87:in `execute'
from C:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-1.9.8/lib/vagrant/cli.rb:42:in `execute'
from C:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-1.9.8/lib/vagrant/environment.rb:308:in `cli'
from C:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-1.9.8/bin/vagrant:138:in `<main>'
Related
/Users/shaddeler/Developer/run/Homestead/scripts/homestead.rb:169:in `+': no implicit conversion of nil into String (TypeError)
from /Users/shaddeler/Developer/run/Homestead/scripts/homestead.rb:169:in `block (2 levels) in configure'
from /opt/vagrant/embedded/gems/gems/vagrant-1.8.6/plugins/kernel_v2/config/vm_provisioner.rb:72:in `call'
from /opt/vagrant/embedded/gems/gems/vagrant-1.8.6/plugins/kernel_v2/config/vm_provisioner.rb:72:in `add_config'
from /opt/vagrant/embedded/gems/gems/vagrant-1.8.6/plugins/kernel_v2/config/vm.rb:324:in `provision'
from /Users/shaddeler/Developer/run/Homestead/scripts/homestead.rb:168:in `block in configure'
from /Users/shaddeler/Developer/run/Homestead/scripts/homestead.rb:157:in `each'
from /Users/shaddeler/Developer/run/Homestead/scripts/homestead.rb:157:in `configure'
from /Users/shaddeler/Developer/run/Homestead/Vagrantfile:30:in `block in <top (required)>'
from /opt/vagrant/embedded/gems/gems/vagrant-1.8.6/lib/vagrant/config/v2/loader.rb:37:in `call'
from /opt/vagrant/embedded/gems/gems/vagrant-1.8.6/lib/vagrant/config/v2/loader.rb:37:in `load'
from /opt/vagrant/embedded/gems/gems/vagrant-1.8.6/lib/vagrant/config/loader.rb:113:in `block (2 levels) in load'
from /opt/vagrant/embedded/gems/gems/vagrant-1.8.6/lib/vagrant/config/loader.rb:107:in `each'
from /opt/vagrant/embedded/gems/gems/vagrant-1.8.6/lib/vagrant/config/loader.rb:107:in `block in load'
from /opt/vagrant/embedded/gems/gems/vagrant-1.8.6/lib/vagrant/config/loader.rb:104:in `each'
from /opt/vagrant/embedded/gems/gems/vagrant-1.8.6/lib/vagrant/config/loader.rb:104:in `load'
from /opt/vagrant/embedded/gems/gems/vagrant-1.8.6/lib/vagrant/vagrantfile.rb:28:in `initialize'
from /opt/vagrant/embedded/gems/gems/vagrant-1.8.6/lib/vagrant/environment.rb:746:in `new'
from /opt/vagrant/embedded/gems/gems/vagrant-1.8.6/lib/vagrant/environment.rb:746:in `vagrantfile'
from /opt/vagrant/embedded/gems/gems/vagrant-1.8.6/lib/vagrant/environment.rb:492:in `host'
from /opt/vagrant/embedded/gems/gems/vagrant-1.8.6/lib/vagrant/environment.rb:214:in `block in action_runner'
from /opt/vagrant/embedded/gems/gems/vagrant-1.8.6/lib/vagrant/action/runner.rb:33:in `call'
from /opt/vagrant/embedded/gems/gems/vagrant-1.8.6/lib/vagrant/action/runner.rb:33:in `run'
from /opt/vagrant/embedded/gems/gems/vagrant-1.8.6/lib/vagrant/environment.rb:479:in `hook'
from /opt/vagrant/embedded/gems/gems/vagrant-1.8.6/lib/vagrant/environment.rb:728:in `unload'
from /opt/vagrant/embedded/gems/gems/vagrant-1.8.6/bin/vagrant:177:in `ensure in <main>'
from /opt/vagrant/embedded/gems/gems/vagrant-1.8.6/bin/vagrant:177:in `<main>'
I enfaced this error while vagrant up
I had this problem too. Instead of a wrong indentation, I accidentally added another dash ( - ) to my Homestead.yaml file.
For example, this is the incorrect one:
- map: testing.khc.my
- to: /home/vagrant/code/testing/public
The correct one is this:
- map: testing.khc.my
to: /home/vagrant/code/testing/public
Hope this help everyone in the future.
I got this error too and it's a real pain. The source of the problem is a wrong indentation in the Homestead.yaml file. Check if you're using spaces or tabs.
my vagrantfile work perfectly but when i uncomment synce folder and set it to real path and make vagrant reload it return a exception:
/Users/pedrammarandi/pedram/Vagrantfile:41:in `block in <top (required)>': undefined local variable or method `“' for main:Object (NameError)
from /opt/vagrant/embedded/gems/gems/vagrant-1.7.4/lib/vagrant/config/v2/loader.rb:37:in `call'
from /opt/vagrant/embedded/gems/gems/vagrant-1.7.4/lib/vagrant/config/v2/loader.rb:37:in `load'
from /opt/vagrant/embedded/gems/gems/vagrant-1.7.4/lib/vagrant/config/loader.rb:103:in `block (2 levels) in load'
from /opt/vagrant/embedded/gems/gems/vagrant-1.7.4/lib/vagrant/config/loader.rb:97:in `each'
from /opt/vagrant/embedded/gems/gems/vagrant-1.7.4/lib/vagrant/config/loader.rb:97:in `block in load'
from /opt/vagrant/embedded/gems/gems/vagrant-1.7.4/lib/vagrant/config/loader.rb:94:in `each'
from /opt/vagrant/embedded/gems/gems/vagrant-1.7.4/lib/vagrant/config/loader.rb:94:in `load'
from /opt/vagrant/embedded/gems/gems/vagrant-1.7.4/lib/vagrant/vagrantfile.rb:28:in `initialize'
from /opt/vagrant/embedded/gems/gems/vagrant-1.7.4/lib/vagrant/environment.rb:689:in `new'
from /opt/vagrant/embedded/gems/gems/vagrant-1.7.4/lib/vagrant/environment.rb:689:in `vagrantfile'
from /opt/vagrant/embedded/gems/gems/vagrant-1.7.4/lib/vagrant/environment.rb:441:in `host'
from /opt/vagrant/embedded/gems/gems/vagrant-1.7.4/lib/vagrant/environment.rb:207:in `block in action_runner'
from /opt/vagrant/embedded/gems/gems/vagrant-1.7.4/lib/vagrant/action/runner.rb:33:in `call'
from /opt/vagrant/embedded/gems/gems/vagrant-1.7.4/lib/vagrant/action/runner.rb:33:in `run'
from /opt/vagrant/embedded/gems/gems/vagrant-1.7.4/lib/vagrant/environment.rb:428:in `hook'
from /opt/vagrant/embedded/gems/gems/vagrant-1.7.4/lib/vagrant/environment.rb:671:in `unload'
from /opt/vagrant/embedded/gems/gems/vagrant-1.7.4/bin/vagrant:177:in `ensure in <main>'
from /opt/vagrant/embedded/gems/gems/vagrant-1.7.4/bin/vagrant:177:in `<main>'
line 41:
config.vm.synced_folder “/”, “/var/www/pedram.dev”
you have something wrong with the funky character `“' and vagrant is telling your about it
undefined local variable or method `“'
maybe some copy/paste from ms word or something just put simple "
config.vm.synced_folder "/", "/var/www/pedram.dev"
it will run smoothly
I am trying to add an openshift origin server for the first time. using :
rhc setup --server my.server.adr
but I get this error when it comes to Generate the token.
Generating an authorization token for this client ... C:/Ruby22-x64/lib/ruby/2.2.0/fileutils.rb:252:in `mkdir': No such file or directory #dir_s_mkdr - U: (Errno::ENOENT)
from C:/Ruby22-x64/lib/ruby/2.2.0/fileutils.rb:252:in `fu_mkdir'
from C:/Ruby22-x64/lib/ruby/2.2.0/fileutils.rb:226:in `block (2 levels) in mkdir_p'
from C:/Ruby22-x64/lib/ruby/2.2.0/fileutils.rb:224:in `reverse_each'
from C:/Ruby22-x64/lib/ruby/2.2.0/fileutils.rb:224:in `block in mkdir_p'
from C:/Ruby22-x64/lib/ruby/2.2.0/fileutils.rb:210:in `each'
from C:/Ruby22-x64/lib/ruby/2.2.0/fileutils.rb:210:in `mkdir_p'
from C:/Ruby22-x64/lib/ruby/gems/2.2.0/gems/rhc-1.35.3/lib/rhc/auth/token_store.rb:34:in `[]='
from C:/Ruby22-x64/lib/ruby/gems/2.2.0/gems/rhc-1.35.3/lib/rhc/auth/token_store.rb:14:in `put'
from C:/Ruby22-x64/lib/ruby/gems/2.2.0/gems/rhc-1.35.3/lib/rhc/auth/token.rb:50:in `save'
from C:/Ruby22-x64/lib/ruby/gems/2.2.0/gems/rhc-1.35.3/lib/rhc/wizard.rb:243:in `block in login_stage'
from C:/Ruby22-x64/lib/ruby/gems/2.2.0/gems/rhc-1.35.3/lib/rhc/highline_extensions.rb:190:in `call'
from C:/Ruby22-x64/lib/ruby/gems/2.2.0/gems/rhc-1.35.3/lib/rhc/highline_extensions.rb:190:in `section'
from C:/Ruby22-x64/lib/ruby/gems/2.2.0/gems/rhc-1.35.3/lib/rhc/highline_extensions.rb:204:in `paragraph'
from C:/Ruby22-x64/lib/ruby/gems/2.2.0/gems/rhc-1.35.3/lib/rhc/helpers.rb:337:in `block (2 levels) in <module:Helpers>'
from C:/Ruby22-x64/lib/ruby/gems/2.2.0/gems/rhc-1.35.3/lib/rhc/wizard.rb:237:in `login_stage'
from C:/Ruby22-x64/lib/ruby/gems/2.2.0/gems/rhc-1.35.3/lib/rhc/wizard.rb:67:in `block in run'
from C:/Ruby22-x64/lib/ruby/gems/2.2.0/gems/rhc-1.35.3/lib/rhc/wizard.rb:65:in `each'
from C:/Ruby22-x64/lib/ruby/gems/2.2.0/gems/rhc-1.35.3/lib/rhc/wizard.rb:65:in `run'
from C:/Ruby22-x64/lib/ruby/gems/2.2.0/gems/rhc-1.35.3/lib/rhc/commands/setup.rb:57:in `run'
from C:/Ruby22-x64/lib/ruby/gems/2.2.0/gems/rhc-1.35.3/lib/rhc/commands.rb:294:in `execute'
from C:/Ruby22-x64/lib/ruby/gems/2.2.0/gems/rhc-1.35.3/lib/rhc/commands.rb:285:in `block (3 levels) in to_commander'
from C:/Ruby22-x64/lib/ruby/gems/2.2.0/gems/commander-4.2.1/lib/commander/command.rb:180:in `call'
from C:/Ruby22-x64/lib/ruby/gems/2.2.0/gems/commander-4.2.1/lib/commander/command.rb:180:in `call'
from C:/Ruby22-x64/lib/ruby/gems/2.2.0/gems/commander-4.2.1/lib/commander/command.rb:155:in `run'
from C:/Ruby22-x64/lib/ruby/gems/2.2.0/gems/commander-4.2.1/lib/commander/runner.rb:421:in `run_active_command'
from C:/Ruby22-x64/lib/ruby/gems/2.2.0/gems/rhc-1.35.3/lib/rhc/command_runner.rb:72:in `run!'
from C:/Ruby22-x64/lib/ruby/gems/2.2.0/gems/commander-4.2.1/lib/commander/delegates.rb:8:in `run!'
from C:/Ruby22-x64/lib/ruby/gems/2.2.0/gems/rhc-1.35.3/lib/rhc/cli.rb:37:in `start'
from C:/Ruby22-x64/lib/ruby/gems/2.2.0/gems/rhc-1.35.3/bin/rhc:20:in `<top (required)>'
from C:/Ruby22-x64/bin/rhc:23:in `load'
from C:/Ruby22-x64/bin/rhc:23:in `<main>'
I can't find what's wrong, and what is the - U: after #dir_s_mkdir ?
any help or hint would be apreciated.
Thank you for your answers, I think it's a compatibility problem as you said with ruby 2.2
I didn't use another ruby version but I used a docker container instead.
I am trying to get Vagrant to work. I installed everything but when I run "vagrant up" in the terminal, I get the following error
$ vagrant up
/Users/charleswang1104/.vagrant.d/gems/gems/docker-provider-0.1.0/lib/docker-provider/errors.rb:6:in `<module:Errors>': superclass mismatch for class ImageNotConfiguredError (TypeError)
from /Users/charleswang1104/.vagrant.d/gems/gems/docker-provider-0.1.0/lib/docker-provider/errors.rb:5:in `<module:DockerProvider>'
from /Users/charleswang1104/.vagrant.d/gems/gems/docker-provider-0.1.0/lib/docker-provider/errors.rb:4:in `<module:VagrantPlugins>'
from /Users/charleswang1104/.vagrant.d/gems/gems/docker-provider-0.1.0/lib/docker-provider/errors.rb:3:in `<top (required)>'
from /Users/charleswang1104/.vagrant.d/gems/gems/docker-provider-0.1.0/lib/docker-provider/action/prepare_nfs_settings.rb:1:in `require_relative'
from /Users/charleswang1104/.vagrant.d/gems/gems/docker-provider-0.1.0/lib/docker-provider/action/prepare_nfs_settings.rb:1:in `<top (required)>'
from /Users/charleswang1104/.vagrant.d/gems/gems/docker-provider-0.1.0/lib/docker-provider/action.rb:9:in `require_relative'
from /Users/charleswang1104/.vagrant.d/gems/gems/docker-provider-0.1.0/lib/docker-provider/action.rb:9:in `<top (required)>'
from /Users/charleswang1104/.vagrant.d/gems/gems/docker-provider-0.1.0/lib/docker-provider/provider.rb:2:in `require_relative'
from /Users/charleswang1104/.vagrant.d/gems/gems/docker-provider-0.1.0/lib/docker-provider/provider.rb:2:in `<top (required)>'
from /Users/charleswang1104/.vagrant.d/gems/gems/docker-provider-0.1.0/lib/docker-provider/plugin.rb:16:in `require_relative'
from /Users/charleswang1104/.vagrant.d/gems/gems/docker-provider-0.1.0/lib/docker-provider/plugin.rb:16:in `block in <class:Plugin>'
from /Applications/Vagrant/embedded/gems/gems/vagrant-1.6.1/lib/vagrant/plugin/v2/plugin.rb:193:in `call'
from /Applications/Vagrant/embedded/gems/gems/vagrant-1.6.1/lib/vagrant/plugin/v2/plugin.rb:193:in `block in provider'
from /Applications/Vagrant/embedded/gems/gems/vagrant-1.6.1/lib/vagrant/registry.rb:27:in `call'
from /Applications/Vagrant/embedded/gems/gems/vagrant-1.6.1/lib/vagrant/registry.rb:27:in `get'
from /Applications/Vagrant/embedded/gems/gems/vagrant-1.6.1/lib/vagrant/registry.rb:48:in `block in each'
from /Applications/Vagrant/embedded/gems/gems/vagrant-1.6.1/lib/vagrant/registry.rb:47:in `each'
from /Applications/Vagrant/embedded/gems/gems/vagrant-1.6.1/lib/vagrant/registry.rb:47:in `each'
from /Applications/Vagrant/embedded/gems/gems/vagrant-1.6.1/lib/vagrant/environment.rb:272:in `default_provider'
from /Applications/Vagrant/embedded/gems/gems/vagrant-1.6.1/lib/vagrant/plugin/v2/command.rb:165:in `block in with_target_vms'
from /Applications/Vagrant/embedded/gems/gems/vagrant-1.6.1/lib/vagrant/plugin/v2/command.rb:192:in `call'
from /Applications/Vagrant/embedded/gems/gems/vagrant-1.6.1/lib/vagrant/plugin/v2/command.rb:192:in `block in with_target_vms'
from /Applications/Vagrant/embedded/gems/gems/vagrant-1.6.1/lib/vagrant/plugin/v2/command.rb:174:in `each'
from /Applications/Vagrant/embedded/gems/gems/vagrant-1.6.1/lib/vagrant/plugin/v2/command.rb:174:in `with_target_vms'
from /Applications/Vagrant/embedded/gems/gems/vagrant-1.6.1/plugins/commands/up/command.rb:67:in `block in execute'
from /Applications/Vagrant/embedded/gems/gems/vagrant-1.6.1/lib/vagrant/environment.rb:238:in `block (2 levels) in batch'
from /Applications/Vagrant/embedded/gems/gems/vagrant-1.6.1/lib/vagrant/environment.rb:236:in `tap'
from /Applications/Vagrant/embedded/gems/gems/vagrant-1.6.1/lib/vagrant/environment.rb:236:in `block in batch'
from /Applications/Vagrant/embedded/gems/gems/vagrant-1.6.1/lib/vagrant/environment.rb:235:in `synchronize'
from /Applications/Vagrant/embedded/gems/gems/vagrant-1.6.1/lib/vagrant/environment.rb:235:in `batch'
from /Applications/Vagrant/embedded/gems/gems/vagrant-1.6.1/plugins/commands/up/command.rb:58:in `execute'
from /Applications/Vagrant/embedded/gems/gems/vagrant-1.6.1/lib/vagrant/cli.rb:42:in `execute'
from /Applications/Vagrant/embedded/gems/gems/vagrant-1.6.1/lib/vagrant/environment.rb:252:in `cli'
from /Applications/Vagrant/bin/../embedded/gems/gems/vagrant-1.6.1/bin/vagrant:166:in `<main>'
Please let me know how I can fix this problem. Thanks!
Just run the following command:
vagrant plugin uninstall docker-provider
I'm trying to upgrade my app to Mongoid 3 and ruby 1.9.3. I was on 1.9.2 before. My app also uses Redis as a temp data store. No code changes have occurred and this was working fine before... now I'm getting the following error when I run the task that connects to Redis:
Can't assign requested address - connect(2)
/Users/kevin/myapp/.bundle/ruby/1.9.1/gems/redis-3.0.1/lib/redis/connection/ruby.rb:113:in `connect_nonblock'
/Users/kevin/myapp/.bundle/ruby/1.9.1/gems/redis-3.0.1/lib/redis/connection/ruby.rb:113:in `connect'
/Users/kevin/myapp/.bundle/ruby/1.9.1/gems/redis-3.0.1/lib/redis/connection/ruby.rb:170:in `connect'
/Users/kevin/myapp/.bundle/ruby/1.9.1/gems/redis-3.0.1/lib/redis/client.rb:257:in `establish_connection'
/Users/kevin/myapp/.bundle/ruby/1.9.1/gems/redis-3.0.1/lib/redis/client.rb:63:in `connect'
/Users/kevin/myapp/.bundle/ruby/1.9.1/gems/redis-3.0.1/lib/redis/client.rb:276:in `ensure_connected'
/Users/kevin/myapp/.bundle/ruby/1.9.1/gems/redis-3.0.1/lib/redis/client.rb:167:in `block in process'
/Users/kevin/myapp/.bundle/ruby/1.9.1/gems/redis-3.0.1/lib/redis/client.rb:242:in `logging'
/Users/kevin/myapp/.bundle/ruby/1.9.1/gems/redis-3.0.1/lib/redis/client.rb:166:in `process'
/Users/kevin/myapp/.bundle/ruby/1.9.1/gems/redis-3.0.1/lib/redis/client.rb:78:in `call'
/Users/kevin/myapp/.bundle/ruby/1.9.1/gems/redis-3.0.1/lib/redis.rb:912:in `block in rpop'
/Users/kevin/myapp/.bundle/ruby/1.9.1/gems/redis-3.0.1/lib/redis.rb:36:in `block in synchronize'
/Users/kevin/.rvm/rubies/ruby-1.9.3-p125/lib/ruby/1.9.1/monitor.rb:211:in `mon_synchronize'
/Users/kevin/myapp/.bundle/ruby/1.9.1/gems/redis-3.0.1/lib/redis.rb:36:in `synchronize'
/Users/kevin/myapp/.bundle/ruby/1.9.1/gems/redis-3.0.1/lib/redis.rb:911:in `rpop'
/Users/kevin/myapp/app/models/tweet.rb:34:in `block (3 levels) in load_from'
/Users/kevin/myapp/app/models/tweet.rb:33:in `times'
/Users/kevin/myapp/app/models/tweet.rb:33:in `block (2 levels) in load_from'
/Users/kevin/myapp/.bundle/ruby/1.9.1/gems/eventmachine-1.0.0.rc.4/lib/eventmachine.rb:959:in `call'
/Users/kevin/myapp/.bundle/ruby/1.9.1/gems/eventmachine-1.0.0.rc.4/lib/eventmachine.rb:959:in `block in run_deferred_callbacks'
/Users/kevin/myapp/.bundle/ruby/1.9.1/gems/eventmachine-1.0.0.rc.4/lib/eventmachine.rb:956:in `times'
/Users/kevin/myapp/.bundle/ruby/1.9.1/gems/eventmachine-1.0.0.rc.4/lib/eventmachine.rb:956:in `run_deferred_callbacks'
/Users/kevin/myapp/.bundle/ruby/1.9.1/gems/eventmachine-1.0.0.rc.4/lib/eventmachine.rb:187:in `run_machine'
/Users/kevin/myapp/.bundle/ruby/1.9.1/gems/eventmachine-1.0.0.rc.4/lib/eventmachine.rb:187:in `run'
/Users/kevin/myapp/app/models/tweet.rb:30:in `load_from'
/Users/kevin/myapp/lib/tasks/tweet.rake:11:in `block (2 levels) in <top (required)>'
/Users/kevin/myapp/.bundle/ruby/1.9.1/gems/rake-0.9.2.2/lib/rake/task.rb:205:in `call'
/Users/kevin/myapp/.bundle/ruby/1.9.1/gems/rake-0.9.2.2/lib/rake/task.rb:205:in `block in execute'
/Users/kevin/myapp/.bundle/ruby/1.9.1/gems/rake-0.9.2.2/lib/rake/task.rb:200:in `each'
/Users/kevin/myapp/.bundle/ruby/1.9.1/gems/rake-0.9.2.2/lib/rake/task.rb:200:in `execute'
/Users/kevin/myapp/.bundle/ruby/1.9.1/gems/rake-0.9.2.2/lib/rake/task.rb:158:in `block in invoke_with_call_chain'
/Users/kevin/.rvm/rubies/ruby-1.9.3-p125/lib/ruby/1.9.1/monitor.rb:211:in `mon_synchronize'
/Users/kevin/myapp/.bundle/ruby/1.9.1/gems/rake-0.9.2.2/lib/rake/task.rb:151:in `invoke_with_call_chain'
/Users/kevin/myapp/.bundle/ruby/1.9.1/gems/rake-0.9.2.2/lib/rake/task.rb:144:in `invoke'
/Users/kevin/myapp/.bundle/ruby/1.9.1/gems/rake-0.9.2.2/lib/rake/application.rb:116:in `invoke_task'
/Users/kevin/myapp/.bundle/ruby/1.9.1/gems/rake-0.9.2.2/lib/rake/application.rb:94:in `block (2 levels) in top_level'
/Users/kevin/myapp/.bundle/ruby/1.9.1/gems/rake-0.9.2.2/lib/rake/application.rb:94:in `each'
/Users/kevin/myapp/.bundle/ruby/1.9.1/gems/rake-0.9.2.2/lib/rake/application.rb:94:in `block in top_level'
/Users/kevin/myapp/.bundle/ruby/1.9.1/gems/rake-0.9.2.2/lib/rake/application.rb:133:in `standard_exception_handling'
/Users/kevin/myapp/.bundle/ruby/1.9.1/gems/rake-0.9.2.2/lib/rake/application.rb:88:in `top_level'
/Users/kevin/myapp/.bundle/ruby/1.9.1/gems/rake-0.9.2.2/lib/rake/application.rb:66:in `block in run'
/Users/kevin/myapp/.bundle/ruby/1.9.1/gems/rake-0.9.2.2/lib/rake/application.rb:133:in `standard_exception_handling'
/Users/kevin/myapp/.bundle/ruby/1.9.1/gems/rake-0.9.2.2/lib/rake/application.rb:63:in `run'
/Users/kevin/myapp/.bundle/ruby/1.9.1/gems/rake-0.9.2.2/bin/rake:33:in `<top (required)>'
/Users/kevin/myapp/.bundle/ruby/1.9.1/bin/rake:23:in `load'
/Users/kevin/myapp/.bundle/ruby/1.9.1/bin/rake:23:in `<main>'
Tasks: TOP => tweet:load
My Redis is running and I checked the port #.
Are you using Redis 3.0.1? Try using Redis 2.2.2