Displaying 20 results from an estimated 7000 matches similar to: "puppet-lint error"
2012 Dec 03
10
Starting rails server problem
Still fairly new to Ruby and Rails in general and trying to figure out
how to address this error. I recently migrated to a new computer and
now I get this error message when I try to start the rails server.
-bash: /Users/user1/.rvm/gems/ruby-1.9.3-p125/bin/rails:
/Users/user/.rvm/rubies/ruby-1.9.3-p125/bin/ruby: bad interpreter: No
such file or directory
I know what the problem is and
2012 Feb 26
6
can't get rails gem
Hi, I''m brand new to rails, and I have a mac 10.7 that I bought
today. I try the following:
joelrwesley$ sudo gem install rails
Password:
Building native extensions. This could take a while...
ERROR: Error installing rails:
ERROR: Failed to build gem native extension.
/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/bin/
ruby extconf.rb
mkmf.rb can''t find
2012 Jun 25
0
Trouble with starting pow
I set up a new project on my computer and created the development
link. I am very new to Ruby and just need help in determining where
to look to solve the issues I am having getting access to the
project. Here are the errors I get when trying to visit my
application:
Bundler::GemNotFound: Could not find rake-0.9.2.2 in any of the
sources
2012 Apr 27
14
app error: Socket is not connected (Errno::ENOTCONN)
I''m getting the following errors multiple times per request when using
4.3.0. I do not receive any errors when using 4.2.1. Please CC me on
replies, I''m not subscribed to the mailing list.
16:48:42 web.1 | E, [2012-04-26T16:48:42.733954 #87940] ERROR -- :
app error: Socket is not connected (Errno::ENOTCONN)
16:48:42 web.1 | E, [2012-04-26T16:48:42.734193 #87940] ERROR
2012 May 16
7
Rails 3.1.0 cannot connect to sqlite database on Mac Lion
I''m running Rails 3.2.3 on Mac Lion with sqlite 3.7.7 and ruby 1.9.3p125. I need to back down rails to 3.1.0 for a project but when I do that a simple index page give me a
ActiveRecord::ConnectionNotEstablished
error.
Rails 3.2.3 works, 3.1.0 not. Any ideas?
Just to show you it''s nothing fancy....
Gem file is only:
source ''https://rubygems.org''
gem
2012 Sep 16
1
“Routing Error No route matches {}” when omniauth failed on registration
(Original question was asked here:
http://stackoverflow.com/questions/11506734/routing-error-no-route-matches-when-omniauth-failed-on-registration
)
I am using omniauth-identity and configure its "fail on registration".
My files:
config/initializers/omniauth.rb
OmniAuth.config.logger = Rails.logger
Rails.application.config.middleware.use OmniAuth::Builder do
#...
provider
2013 Feb 18
8
Error with service: "invalid byte sequence in US-ASCII"
I just built a new puppet master, and whenever I run puppet on it, it
throws an error while processing a service resource:
# puppet agent -t
> Info: Retrieving plugin
> Info: Caching catalog for i-45dc2b1d
> Info: Applying configuration version ''g
> 9ea47ad19bc706a754c00f00a024309948d3ea03''
> Error: /Stage[main]/Ipa::Client::Basic/Service[sssd]: Could not
2012 Aug 08
5
Error Bundler
Any body can help me!
i try create a new project, at the end i had message
error bundler.
root@xxx:/home/xxx# rails new depot_b
create
create README.rdoc
create Rakefile
create config.ru
create .gitignore
create Gemfile
create app
create app/assets/images/rails.png
create app/assets/javascripts/application.js
create
2012 Dec 28
3
installing ruby 1.9.3 in michael hartl's ruby on rails tutorial
I''m working on Michael Hartl''s ruby on rails tutorial
http://ruby.railstutorial.org/ruby-on-rails-tutorial-book#sec-development_tools
.
I installed Git, updated my OS to 10.8.2 and downloaded XCode 4.5.2.
when I type in
rvm install 1.9.3
this long thing comes up...
Ruby (and needed base gems) for your selection will be installed shortly.
Before it happens, please read and
2012 Jun 06
1
why to get the error 'undefined method `write_inheritable_attribute''
I started getting this error message when I attempt to do some rake
tasks:
$ rails destroy scaffold genotypes
/usr/share/rails-ruby1.8/railties/lib/rails_generator/options.rb:32:in
`default_options'': undefined method `write_inheritable_attribute'' for
Rails::Generator::Base:Class (NoMethodError)
from
/usr/share/rails-ruby1.8/railties/lib/rails_generator/base.rb:90:in
2006 Mar 15
2
Wine and a simple text-mode program (Gimpel PC-Lint)
I am trying to run Gimpel's PC-Lint under Wine, and am running into trouble.
It is a simple DOS text-mode program, nothing fancy, no graphics, uses
stdin, stdout, and stderr.
It is invoked thus:
In the batch file LIN.BAT:
wine Lint-nt +v -i"C:\Lint" "C:\Lint\std.lnt"
File std.lnt is a list of optional parameters to Lint-nt that contains this:
lnt\au-sm.lnt
gnu.lnt
2013 May 12
15
Advice needed --- Best way to get mysql2 gem installed to interact with Mysql Database?
Hi Group,
I''ve got mysql database installed and the server running on a Mac Pro with latest mountain lion setup 10.8.3.
I''m able to use mysql tools like mysql, mysqladmin to converse with it. :}
I use RVM''s scripts to fetch gems.
I''ve visited RVM''s website but their advise to get "mysql gem loaded" does the same thing as below aborted
2012 Jun 26
2
Error with rake command
I am using Rails 2.3.8 application and when I enter rake command it
gives following error :
ms@ms-HP:~/OpenStreetView$ rake
WARNING: ''require ''rake/rdoctask'''' is deprecated. Please use ''require
''rdoc/task'' (in RDoc 2.4.2+)'' instead.
at /home/ms/.rvm/gems/ruby-1.9.3-p194@global/gems/rake-0.9.2.2/lib/rake/rdoctask.rb
rake
2013 Jul 23
1
Postgres adapter misconfigured on Linux?
I''ve written a simple Rails migration that adds an index to an existing
Postgres table:
class AddIndexToEvents < ActiveRecord::Migration
> def change
> add_index :sf_events, :account_id
> end
> end
However, when I run the migration, it fails due to a syntax error on the
CREATE INDEX line. I''m expecting some SQL like this to be generated:
CREATE INDEX
2012 Dec 12
1
#8498 postgres_adapter fix for disable_referential_integrity
Please review this patch for postgres adapter''s referential_integrity.rb in
Rails master and 3.2.9 and let me know what you think. We are using it via
an initializer (monkey patching the adapter directly vs. in module):
https://github.com/rails/rails/pull/8498
Fixes this issue also seen by others in Foreigner:
https://github.com/matthuhiggins/foreigner/issues/61
Problem that it
2012 Sep 26
2
Bundle Install ERROR: ERROR: Failed to build gem native extension.
Hello,
I''m trying to setup postgreSQL onto rails on linux and when I type
bundle install this is the error that i get. I guess its not finding
the files
Gem::Installer::ExtensionBuildError: ERROR: Failed to build gem native
extension.
/home/taka/.rvm/rubies/ruby-1.9.3-p194/bin/ruby extconf.rb
checking for bzlib.h... no
checking for BZ2_bzWriteOpen() in -lbz2... no
***
2013 Apr 11
3
puppet-lint -- learning stuff about style but also generating questions
Here''s one I learned:
I originally had
# Ensure /etc/hosts contains the basics
host { "${fqdn}":
host_aliases => $hostname,
ip => $ipaddress,
}
And thru some trial and error, got down to this (which puppet-lint does not gripe about)
# Ensure /etc/hosts contains the basics
host { $fqdn:
host_aliases => $hostname,
ip => $ipaddress,
}
2012 Oct 18
3
Issues upgrading RSpec
My specs work fine with this in my Gemfile.lock:
grep rspec Gemfile.lock
rspec (2.11.0)
rspec-core (~> 2.11.0)
rspec-expectations (~> 2.11.0)
rspec-mocks (~> 2.11.0)
rspec-core (2.11.0)
rspec-expectations (2.11.1)
rspec-mocks (2.11.1)
rspec-rails (2.11.0)
rspec (~> 2.11.0)
rspec-rails (~> 2.11)
After "bundle update
2011 Jan 02
3
undefined method `run_all' for :Array
I''m using the latest ruby 1.9.3-head and recently whenever I run rspec
(2.2+) I get the following error:
I have seen others have run into this issue, but to resolve it just
rolled back to a previous version of rspec or it there a better way?
ruby-1.9.3-head/gems/rspec-core-2.3.1/lib/rspec/core/hooks.rb:116:in
`run_hook_filtered'': undefined method `run_all'' for []:Array
2013 May 14
1
rvm/capistrano
When I ran cap deploy:setup, the following actually installed rvm,
ruby and the online_store gemset on my staging server:
set :rvm_ruby_string, ''ruby-1.9.3-p0@online_store''
set :rvm_autolibs_flag, "read-only"
set :rvm_type, :system
set :rvm_install_with_sudo, true
before ''deploy:setup'', ''rvm:install_rvm'' # install RVM
before