Elaticsearch Failed to open TCP connection to localhost:9200 - ruby

require 'faker'
require 'async'
require 'newrelic_rpm'
NewRelic::Agent.manual_start
class Movie
attr_reader :attributes
def initialize(attributes={})
#attributes = attributes
end
def to_hash
#attributes
end
end
require 'elasticsearch/persistence'
require 'elasticsearch'
class MyRepository; include Elasticsearch::Persistence::Repository; end
client = Elasticsearch::Client.new(url: 'http://localhost:9200', request_timeout: 5*60, retry_on_failure: true)
repository = MyRepository.new(client: client)
def indexit(repository)
Async do
movie = Movie.new(title: Faker::Movie.title)
repository.save(movie)
p "indexed #{Time.now}..."
end
end
Async do
250.times do
indexit(repository)
end
end
It runs successfully if we run the loop 240 times but the moment we increase loop times to 250 most of the requests are indexing data but a few requests are failing and show follow error:
| → /Users/sivagollapalli/.rvm/rubies/ruby-3.0.0/lib/ruby/3.0.0/net/http.rb:987 in `initialize'
| /Users/sivagollapalli/.rvm/rubies/ruby-3.0.0/lib/ruby/3.0.0/net/http.rb:987 in `open'
| /Users/sivagollapalli/.rvm/rubies/ruby-3.0.0/lib/ruby/3.0.0/net/http.rb:987 in `block in connect'
| /Users/sivagollapalli/.rvm/gems/ruby-3.0.0/gems/timeout-0.3.0/lib/timeout.rb:179 in `block in timeout'
| /Users/sivagollapalli/.rvm/gems/ruby-3.0.0/gems/timeout-0.3.0/lib/timeout.rb:186 in `timeout'
| /Users/sivagollapalli/.rvm/rubies/ruby-3.0.0/lib/ruby/3.0.0/net/http.rb:985 in `connect'
| /Users/sivagollapalli/.rvm/rubies/ruby-3.0.0/lib/ruby/3.0.0/net/http.rb:970 in `do_start'
| /Users/sivagollapalli/.rvm/rubies/ruby-3.0.0/lib/ruby/3.0.0/net/http.rb:959 in `start'
| /Users/sivagollapalli/.rvm/gems/ruby-3.0.0/gems/faraday-net_http-1.0.1/lib/faraday/adapter/net_http.rb:146 in `request_via_request_method'
| /Users/sivagollapalli/.rvm/gems/ruby-3.0.0/gems/faraday-net_http-1.0.1/lib/faraday/adapter/net_http.rb:131 in `request_with_wrapped_block'
| /Users/sivagollapalli/.rvm/gems/ruby-3.0.0/gems/faraday-net_http-1.0.1/lib/faraday/adapter/net_http.rb:122 in `perform_request'
| /Users/sivagollapalli/.rvm/gems/ruby-3.0.0/gems/faraday-net_http-1.0.1/lib/faraday/adapter/net_http.rb:66 in `block in call'
| /Users/sivagollapalli/.rvm/gems/ruby-3.0.0/gems/faraday-1.10.0/lib/faraday/adapter.rb:50 in `connection'
| /Users/sivagollapalli/.rvm/gems/ruby-3.0.0/gems/faraday-net_http-1.0.1/lib/faraday/adapter/net_http.rb:64 in `call'
| /Users/sivagollapalli/.rvm/gems/ruby-3.0.0/gems/faraday-1.10.0/lib/faraday/rack_builder.rb:154 in `build_response'
| /Users/sivagollapalli/.rvm/gems/ruby-3.0.0/gems/faraday-1.10.0/lib/faraday/connection.rb:516 in `run_request'
| /Users/sivagollapalli/.rvm/gems/ruby-3.0.0/gems/elasticsearch-transport-7.9.0/lib/elasticsearch/transport/transport/http/faraday.rb:40 in `block in perform_request'
| /Users/sivagollapalli/.rvm/gems/ruby-3.0.0/gems/elasticsearch-transport-7.9.0/lib/elasticsearch/transport/transport/base.rb:288 in `perform_request'
| /Users/sivagollapalli/.rvm/gems/ruby-3.0.0/gems/elasticsearch-transport-7.9.0/lib/elasticsearch/transport/transport/http/faraday.rb:37 in `perform_request'
| /Users/sivagollapalli/.rvm/gems/ruby-3.0.0/gems/elasticsearch-transport-7.9.0/lib/elasticsearch/transport/client.rb:176 in `perform_request'
| /Users/sivagollapalli/.rvm/gems/ruby-3.0.0/gems/elasticsearch-api-7.9.0/lib/elasticsearch/api/actions/index.rb:73 in `index'
| /Users/sivagollapalli/.rvm/gems/ruby-3.0.0/gems/elasticsearch-persistence-7.2.1/lib/elasticsearch/persistence/repository/store.rb:44 in `save'
| async_persistance.rb:29 in `block in indexit'
| /Users/sivagollapalli/.rvm/gems/ruby-3.0.0/gems/async-1.30.3/lib/async/task.rb:261 in `block in make_fiber'
I am using elastic search 7.10.1 with docker. I suspect this could be an issue of thread pools of elastic search but I am not sure.

Related

Sass won't compile SCSS (EACCES error)

I'm trying to compile my SCSS file but I always get this error. This is new because before the Windows 10 Creator Update it was working fine.
Here's the error :
$ sass --no-cache --update --trace app.scss:app.css
c:/Ruby24-x64/lib/ruby/gems/2.4.0/gems/sass-3.4.25/lib/sass/plugin/compiler.rb:516:in `initialize': Permission denied # rb_sysopen - appp.css (Errno::EACCES)
from c:/Ruby24-x64/lib/ruby/gems/2.4.0/gems/sass-3.4.25/lib/sass/plugin/compiler.rb:516:in `open'
from c:/Ruby24-x64/lib/ruby/gems/2.4.0/gems/sass-3.4.25/lib/sass/plugin/compiler.rb:516:in `write_file'
from c:/Ruby24-x64/lib/ruby/gems/2.4.0/gems/sass-3.4.25/lib/sass/plugin/compiler.rb:503:in `update_stylesheet'
from c:/Ruby24-x64/lib/ruby/gems/2.4.0/gems/sass-3.4.25/lib/sass/plugin/compiler.rb:215:in `block in update_stylesheets'
from c:/Ruby24-x64/lib/ruby/gems/2.4.0/gems/sass-3.4.25/lib/sass/plugin/compiler.rb:209:in `each'
from c:/Ruby24-x64/lib/ruby/gems/2.4.0/gems/sass-3.4.25/lib/sass/plugin/compiler.rb:209:in `update_stylesheets'
from c:/Ruby24-x64/lib/ruby/gems/2.4.0/gems/sass-3.4.25/lib/sass/plugin.rb:82:in `update_stylesheets'
from c:/Ruby24-x64/lib/ruby/gems/2.4.0/gems/sass-3.4.25/lib/sass/exec/sass_scss.rb:340:in `watch_or_update'
from c:/Ruby24-x64/lib/ruby/gems/2.4.0/gems/sass-3.4.25/lib/sass/exec/sass_scss.rb:51:in `process_result'
from c:/Ruby24-x64/lib/ruby/gems/2.4.0/gems/sass-3.4.25/lib/sass/exec/base.rb:52:in `parse'
from c:/Ruby24-x64/lib/ruby/gems/2.4.0/gems/sass-3.4.25/lib/sass/exec/base.rb:19:in `parse!'
from c:/Ruby24-x64/lib/ruby/gems/2.4.0/gems/sass-3.4.25/bin/sass:13:in `<top (required)>'
from c:/Ruby24-x64/bin/sass:23:in `load'
from c:/Ruby24-x64/bin/sass:23:in `<main>'
I checked where the compiler fail and this is what I got :
513 def write_file(fileName, content)
514 flag = 'w'
515 flag = 'wb' if Sass::Util.windows? && options[:unix_newlines]
516 File.open(fileName, flag) do |file|
517 file.set_encoding(content.encoding) unless Sass::Util.ruby1_8?
518 file.print(content)
519 end
520 end
Just found the problem. For whatever reason, if the file is in a path with spaces it won't work. I moved the folder to a "safe address" and it works like a charm.

Pilot fails even though it finishes uploading the Build

I am currently using pilot together with fastlane in travis-ci and everything works fine, my builds are being uploaded to TestFlight and published to the internal Testers as it should.
But the thing I don't understand is, fastlane finishs with exit code 1 and says "You must provide an answer for this question" without even asking something.
This is the weird output:
[12:29:40]: Successfully finished processing the build
[12:29:40]: You can now tweet:
[12:29:40]: iTunes Connect #iosprocessingtime 15 minutes
[12:29:40]: Distributing new build to testers
[12:29:43]: Variable Dump:
[12:29:43]: {:DEFAULT_PLATFORM=>:ios, :PLATFORM_NAME=>:ios, :LANE_NAME=>"ios beta_ci", :SIGH_PROFILE_TYPE=>"app-store", :LATEST_TESTFLIGHT_BUILD_NUMBER=>3, :BUILD_NUMBER=>"4", :IPA_OUTPUT_PATH=>"/Users/travis/build/KWStudios/Walk-iOS/Pods.ipa", :DSYM_OUTPUT_PATH=>"/Users/travis/build/KWStudios/Walk-iOS/Pods.app.dSYM.zip", :XCODEBUILD_ARCHIVE=>"/Users/travis/Library/Developer/Xcode/Archives/2016-03-01/Pods 2016-03-01 12.06.19.xcarchive"}
[12:29:43]: You must provide an answer for this question.
+------+-------------------------------------+-------------+
| fastlane summary |
+------+-------------------------------------+-------------+
| Step | Action | Time (in s) |
+------+-------------------------------------+-------------+
| 1 | Verifying required fastlane version | 0 |
| 2 | default_platform | 0 |
| 3 | cocoapods | 110 |
| 4 | match | 27 |
| 5 | match | 4 |
| 6 | latest_testflight_build_number | 8 |
| 7 | increment_build_number | 2 |
| 8 | gym | 413 |
| 9 | pilot | 995 |
+------+-------------------------------------+-------------+
[12:29:43]: fastlane finished with errors
-------------------------------------------------------------------------------------------
😨 An error occured. Please enable crash reports using `fastlane enable_crash_reporting`.
👍 This makes resolving issues much easier and helps improve fastlane.
🔒 The reports will be stored securely on getsentry.com.
🙊 More information about privacy: https://github.com/fastlane/fastlane/releases/tag/1.33.3
-------------------------------------------------------------------------------------------
/Users/travis/.rvm/gems/ruby-2.0.0-p643#global/gems/spaceship-0.21.1/lib/spaceship/tunes/tunes_client.rb:219:in `handle_itc_response': [!] You must provide an answer for this question. (Spaceship::TunesClient::ITunesConnectError)
from /Users/travis/.rvm/gems/ruby-2.0.0-p643#global/gems/spaceship-0.21.1/lib/spaceship/tunes/tunes_client.rb:538:in `update_build_trains!'
from /Users/travis/.rvm/gems/ruby-2.0.0-p643#global/gems/spaceship-0.21.1/lib/spaceship/tunes/build_train.rb:118:in `update_testing_status!'
from /Users/travis/.rvm/gems/ruby-2.0.0-p643#global/gems/pilot-1.4.1/lib/pilot/build_manager.rb:124:in `distribute_build'
from /Users/travis/.rvm/gems/ruby-2.0.0-p643#global/gems/pilot-1.4.1/lib/pilot/build_manager.rb:26:in `upload'
from /Users/travis/.rvm/gems/ruby-2.0.0-p643#global/gems/fastlane-1.63.1/lib/fastlane/actions/pilot.rb:18:in `run'
from /Users/travis/.rvm/gems/ruby-2.0.0-p643#global/gems/fastlane-1.63.1/lib/fastlane/runner.rb:143:in `block (2 levels) in execute_action'
from /Users/travis/.rvm/gems/ruby-2.0.0-p643#global/gems/fastlane-1.63.1/lib/fastlane/actions/actions_helper.rb:35:in `execute_action'
from /Users/travis/.rvm/gems/ruby-2.0.0-p643#global/gems/fastlane-1.63.1/lib/fastlane/runner.rb:129:in `block in execute_action'
from /Users/travis/.rvm/gems/ruby-2.0.0-p643#global/gems/fastlane-1.63.1/lib/fastlane/runner.rb:128:in `chdir'
from /Users/travis/.rvm/gems/ruby-2.0.0-p643#global/gems/fastlane-1.63.1/lib/fastlane/runner.rb:128:in `execute_action'
from /Users/travis/.rvm/gems/ruby-2.0.0-p643#global/gems/fastlane-1.63.1/lib/fastlane/fast_file.rb:149:in `method_missing'
from Fastfile:68:in `block (2 levels) in parsing_binding'
from /Users/travis/.rvm/gems/ruby-2.0.0-p643#global/gems/fastlane-1.63.1/lib/fastlane/lane.rb:36:in `call'
from /Users/travis/.rvm/gems/ruby-2.0.0-p643#global/gems/fastlane-1.63.1/lib/fastlane/lane.rb:36:in `call'
from /Users/travis/.rvm/gems/ruby-2.0.0-p643#global/gems/fastlane-1.63.1/lib/fastlane/runner.rb:52:in `block in execute'
from /Users/travis/.rvm/gems/ruby-2.0.0-p643#global/gems/fastlane-1.63.1/lib/fastlane/runner.rb:46:in `chdir'
from /Users/travis/.rvm/gems/ruby-2.0.0-p643#global/gems/fastlane-1.63.1/lib/fastlane/runner.rb:46:in `execute'
from /Users/travis/.rvm/gems/ruby-2.0.0-p643#global/gems/fastlane-1.63.1/lib/fastlane/lane_manager.rb:46:in `cruise_lane'
from /Users/travis/.rvm/gems/ruby-2.0.0-p643#global/gems/fastlane-1.63.1/lib/fastlane/command_line_handler.rb:30:in `handle'
from /Users/travis/.rvm/gems/ruby-2.0.0-p643#global/gems/fastlane-1.63.1/bin/fastlane:38:in `block (2 levels) in run'
from /Users/travis/.rvm/gems/ruby-2.0.0-p643/gems/commander-4.3.5/lib/commander/command.rb:178:in `call'
from /Users/travis/.rvm/gems/ruby-2.0.0-p643/gems/commander-4.3.5/lib/commander/command.rb:178:in `call'
from /Users/travis/.rvm/gems/ruby-2.0.0-p643/gems/commander-4.3.5/lib/commander/command.rb:153:in `run'
from /Users/travis/.rvm/gems/ruby-2.0.0-p643/gems/commander-4.3.5/lib/commander/runner.rb:428:in `run_active_command'
from /Users/travis/.rvm/gems/ruby-2.0.0-p643#global/gems/fastlane_core-0.36.9/lib/fastlane_core/ui/fastlane_runner.rb:23:in `run!'
from /Users/travis/.rvm/gems/ruby-2.0.0-p643/gems/commander-4.3.5/lib/commander/delegates.rb:15:in `run!'
from /Users/travis/.rvm/gems/ruby-2.0.0-p643#global/gems/fastlane-1.63.1/bin/fastlane:156:in `run'
from /Users/travis/.rvm/gems/ruby-2.0.0-p643#global/gems/fastlane-1.63.1/bin/fastlane:162:in `<top (required)>'
from /Users/travis/.rvm/gems/ruby-2.0.0-p643/bin/fastlane:23:in `load'
from /Users/travis/.rvm/gems/ruby-2.0.0-p643/bin/fastlane:23:in `<main>'
from /Users/travis/.rvm/gems/ruby-2.0.0-p643/bin/ruby_executable_hooks:15:in `eval'
from /Users/travis/.rvm/gems/ruby-2.0.0-p643/bin/ruby_executable_hooks:15:in `<main>'
The command "fastlane beta_ci" exited with 1.
Is there anything I can do in order to prevent travis from exiting with 1 instead of 0?
Apple introduced new step in TestFlight release process that requires answer for availability of encryption in the product. To ensure that this question does not interrupt automatic release flow following line should be added into Info.plist in case if you do not use cryptography:
<key>ITSAppUsesNonExemptEncryption</key>
<false/>

Wordmove pull error "Invalid byte sequence in UTF-8 (ArgumentError)"

I have Ruby 1.9.3p484 (2013-11-22 revision 43786) [x86_64-linux] and when I'm trying to use Wordmove, I'm getting following pull error:
▬▬ ✓ Pulling Database ▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬
local | mysqldump --host=localhost --user=USER --password=PASS wpDB > /var/www/local/wp-content/local-backup-1421774302.sql
remote | mysqldump --host=localhost --user=USER --password=PASS wpDB > /var/www/site/wp-content/dump.sql
remote | get: /var/www/site/wp-content/dump.sql /var/www/local/wp-content/dump.sql
remote | delete: /var/www/site/wp-content/dump.sql
local | adapt dump
/var/lib/gems/1.9.1/gems/wordmove-1.2.0/lib/wordmove/sql_adapter.rb:44:in `gsub!': invalid byte sequence in UTF-8 (ArgumentError)
from /var/lib/gems/1.9.1/gems/wordmove-1.2.0/lib/wordmove/sql_adapter.rb:44:in `serialized_replace!'
from /var/lib/gems/1.9.1/gems/wordmove-1.2.0/lib/wordmove/sql_adapter.rb:36:in `replace_field!'
from /var/lib/gems/1.9.1/gems/wordmove-1.2.0/lib/wordmove/sql_adapter.rb:25:in `replace_vhost!'
from /var/lib/gems/1.9.1/gems/wordmove-1.2.0/lib/wordmove/sql_adapter.rb:17:in `adapt!'
from /var/lib/gems/1.9.1/gems/wordmove-1.2.0/lib/wordmove/deployer/base.rb:182:in `adapt_sql'
from /var/lib/gems/1.9.1/gems/wordmove-1.2.0/lib/wordmove/deployer/ssh.rb:35:in `pull_db'
from /var/lib/gems/1.9.1/gems/wordmove-1.2.0/lib/wordmove/cli.rb:47:in `block in pull'
from /var/lib/gems/1.9.1/gems/wordmove-1.2.0/lib/wordmove/cli.rb:34:in `block in handle_options'
from /var/lib/gems/1.9.1/gems/wordmove-1.2.0/lib/wordmove/cli.rb:32:in `each'
from /var/lib/gems/1.9.1/gems/wordmove-1.2.0/lib/wordmove/cli.rb:32:in `handle_options'
from /var/lib/gems/1.9.1/gems/wordmove-1.2.0/lib/wordmove/cli.rb:46:in `pull'
from /var/lib/gems/1.9.1/gems/thor-0.19.1/lib/thor/command.rb:27:in `run'
from /var/lib/gems/1.9.1/gems/thor-0.19.1/lib/thor/invocation.rb:126:in `invoke_command'
from /var/lib/gems/1.9.1/gems/thor-0.19.1/lib/thor.rb:359:in `dispatch'
from /var/lib/gems/1.9.1/gems/thor-0.19.1/lib/thor/base.rb:440:in `start'
from /var/lib/gems/1.9.1/gems/wordmove-1.2.0/bin/wordmove:6:in `<top (required)>'
from /usr/local/bin/wordmove:23:in `load'
from /usr/local/bin/wordmove:23:in `<main>'
Other websites run in the very same environment does not show this error. Does anyone have any idea, what can be casuing this error?
Add
sql_content.encode!('UTF-16', 'UTF-8', :invalid => :replace, :replace => '')
sql_content.encode!('UTF-8', 'UTF-16')
sql_content.force_encoding("UTF-8")
to this File,above the line 45
/root/.rbenv/versions/2.4.1/lib/ruby/gems/2.4.0/gems/wordmove-2.1.2/lib/wordmove/sql_adapter/default.rb
or this File
/var/lib/gems/2.7.0/gems/wordmove-5.2.2/lib/wordmove/sql_adapter/default.rb
Ref: https://github.com/welaika/wordmove/wiki/invalid-byte-sequence-in-UTF-8-while-pushing---pulling-db

Why am I getting a NoMethodError when I use Mocha 0.9.8 with Test::Unit 2.1.1

Has anyone seen this? Here's the error:
/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/bin/ruby -rrubygems -e "require 'redgreen'" -I.:lib:test -rubygems -e "['test/unit', 'test/test_authentication.rb'].each { |f| require f }" | /Library/Ruby/Gems/1.8/gems/autotest-4.3.2/bin/unit_diff -u
Load/Library/Ruby/Gems/1.8/gems/mocha-0.9.8/lib/mocha/integration/test_unit/gem_version_201_and_above.rb:31:in `run': undefined method `handle_exception' for #<TestAuthentication:0x101823988> (NoMethodError)
from /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/test/unit/testsuite.rb:34:in `run'
from /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/test/unit/testsuite.rb:33:in `each'
from /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/test/unit/testsuite.rb:33:in `run'
from /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/test/unit/testsuite.rb:34:in `run'
from /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/test/unit/testsuite.rb:33:in `each'
from /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/test/unit/testsuite.rb:33:in `run'
from /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/test/unit/ui/testrunnermediator.rb:46:in `run_suite'
from /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/test/unit/ui/console/testrunner.rb:67:in `start_mediator'
from /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/test/unit/ui/console/testrunner.rb:41:in `start'
from /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/test/unit/ui/testrunnerutilities.rb:29:in `run'
from /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/test/unit/autorunner.rb:216:in `run'
from /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/test/unit/autorunner.rb:12:in `run'
from /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/test/unit.rb:278
from -e:2
ed suite -e
Started
And this is the code that triggers that error:
require 'test/unit'
require 'mocha'
require 'authentication'
class TestAuthentication < Test::Unit::TestCase
end
This is fixed in the HEAD version of Mocha, but has not yet been released. I hope to release it soon. Please email the mailing list if it has not been released in the next few days.

running the ramaze blog example - an error message

deltrem#deltrem-desktop:~/ramaze web/app/blog$ ruby start.rb
I [2010-06-10 14:53:33 $1886] INFO | : activating sequel
I [2010-06-10 14:53:33 $1886] INFO | : Installing sequel
/usr/local/lib/site_ruby/1.8/rubygems/remote_fetcher.rb:124:in `initialize': Permission denied - /home/deltrem/.gem/ruby/1.8/cache/sequel-3.9.0.gem (Errno::EACCES)
from /usr/local/lib/site_ruby/1.8/rubygems/remote_fetcher.rb:124:in `open'
from /usr/local/lib/site_ruby/1.8/rubygems/remote_fetcher.rb:124:in `download'
from /usr/local/lib/site_ruby/1.8/rubygems/dependency_installer.rb:257:in `install'
from /usr/local/lib/site_ruby/1.8/rubygems/dependency_installer.rb:247:in `each'
from /usr/local/lib/site_ruby/1.8/rubygems/dependency_installer.rb:247:in `install'
from /usr/lib/ruby/gems/1.8/gems/ramaze-2010.04.04/lib/ramaze/setup.rb:91:in `install_gem'
from /usr/lib/ruby/gems/1.8/gems/ramaze-2010.04.04/lib/ramaze/setup.rb:102:in `temp_argv'
from /usr/lib/ruby/gems/1.8/gems/ramaze-2010.04.04/lib/ramaze/setup.rb:89:in `install_gem'
from /usr/lib/ruby/gems/1.8/gems/ramaze-2010.04.04/lib/ramaze/setup.rb:80:in `setup_gem'
from /usr/lib/ruby/gems/1.8/gems/ramaze-2010.04.04/lib/ramaze/setup.rb:63:in `setup'
from /usr/lib/ruby/gems/1.8/gems/ramaze-2010.04.04/lib/ramaze/setup.rb:62:in `each'
from /usr/lib/ruby/gems/1.8/gems/ramaze-2010.04.04/lib/ramaze/setup.rb:62:in `setup'
from /usr/lib/ruby/gems/1.8/gems/ramaze-2010.04.04/lib/ramaze/setup.rb:44:in `run'
from /usr/lib/ruby/gems/1.8/gems/ramaze-2010.04.04/lib/ramaze/setup.rb:38:in `initialize'
from /usr/lib/ruby/gems/1.8/gems/ramaze-2010.04.04/lib/ramaze/setup.rb:29:in `new'
from /usr/lib/ruby/gems/1.8/gems/ramaze-2010.04.04/lib/ramaze/setup.rb:29:in `setup'
from ./app.rb:4
from start.rb:3:in `require'
from start.rb:3
I have no idea what this is for, but the error message seems pretty clear:
Permission denied - /home/deltrem/.gem/ruby/1.8/cache/sequel-3.9.0.gem (Errno::EACCES)
You don't have permission to read or write to that path. Are you supposed to sudo this?

Resources